51 Replies
:wave: Hey @Greg,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
Checklist
I have...
1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :blue_square: read applicable release notes.
3. :blue_square: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: uploaded the relevant information (see below).
7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.Hello
I have problem with exposing immich through npm proxy manager
504 error
first question. is npm and immich on the same docker network
To answer this it'd be helpful if we had all the information I already asked for in #immich but we still didn't get π
how to check it?
Daniel has a point and needs all the details that were discussed in the other chat but ill give you the commands
first you need to list off your docker networks thats
but please fill in the rest of the details that were asked by Daneil and the other staff
1468052112af immich_default bridge local
3d9d66dddc15 matrix_net bridge local
bb1838a4a22f nginx-pm_default bridge local
looks same
so no they are likely not on the same docker network
different network id
you can do a this will tell us whats on that network and then and then
If only there was a way to just see the compose file :)))
and what daniel said
your compose file would be very valuable here
Paste.to
Encrypted note on Paste.to
Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.
and your compose file?
my com pose yml:
Paste.to
Encrypted note on Paste.to
Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.
Oh let me guess. Did you enter 192.168.x.x in NPM for the ip address?
yes

what OS are you running all this in?
Yeah so this won't work
ubuntu 22 lts
Docker containers cannot access the host's network interface
Christian Lempa
YouTube
Docker Networking Tutorial, ALL Network Types explained!
Docker Networking Tutorial where I explain all network types, that you need to know! I show you how and when you should use the different network types and what you need to consider.
Based on the official Documentation: https://docs.docker.com/network/ #Docker #DockerNetworking #HomeLab
Kubernetes Tutorial: https://youtu.be/glFE28QT1HI
Get sta...
NetworkChuck
YouTube
Docker networking is CRAZY!! (you NEED to learn it)
Donβt leave yourself unprotected, get the best protection by checking out BitDefender Premium Security at the link below.
https://bit.ly/BitdefenderNC
Today you are going to explore the mysterious world of Docker networking. From the default bridge to the blackhole of none. NetworkChuck is going to help you navigate this fascinating technolog...
some of my proxies works like that, i dont know why
What you want is add immich_server to the proxy network and then use
http://immich_server:2283
in NPM
They cannot (unless you do weird docker networking stuff)docker networking is a bit weird if you have little to no experience with virtualization

like that?
and even if you did have that experience its not all useful when comparing it to docker
yes once you get immich on the same docker network as npm
still not working
Yeah I was about to say. Containerization and virtualization are different enough that it doesn't really help you much π
I think learning the docker basics is doable though

EVEN WORSE NOW
You have a DNS issue
That's not related to anything we've just done lol
how to fix that?
How do I fix my car?
go watch those vidoes I just shared with you
you gotta understand what you are working with before you go off deploying stuff let alone trying to fix it
ok, thx
502 Bad Gateway now
to give you a bit of a leg up. I append this at the end of all my docker containers
should I have mutual network to all stuff I want to expose?
yes and no
just depends on the use case. but generally if you want the containers to be able to talk to one another they have to be on the same network
ok
you can create one manually if you would like. this way you know what to put into your compose file
thx
I will watch first that vids
then append at the end of each of your docker compose files
good. networkchuck explains what the difference is between the default docker network and one that you create.
hes also very energizing lol
I learned, that I can run npm with host network to simplify things
But I cant fin docker-compose of my npm
jc21/nginx-proxy-manager latest 9c3f57826a5d 16 months ago 843MB
I ran docker up proxy manager and it looks like clean setup
I dont know where last configs are stored
wouldnt suggest doing host
I know, i dont even know how to do that
I mean i compsed it with host network name, but i do not know how to check it
I think I need more basic knwledge about how docker works
I still have bad gateway in immich app https://photos.7u.pl/
these videos are to fast for me to understand this
Do you guys have good docker networks explainer with images and graphs?
I've given you the inspect commands above. that will let you see what docker containers you have on which network
will create a docker network with what ever name you give it
And I've given you the network bit you would need to add to your compose files so you can attach your container to whatever docker network you create
You could also use the command to manually connect a container to a specified network
It all boils down to knowing the docker cli, the file structure between the docker container and host, and docker networking and how that works