Domain
Hello.
I have a immich setup with ngnix as a reverse proxy and authelia. When i visit immich with the local ip i get to the login screen. but if i visit the domain, login with authelia the redirectet to immich i get the Welcome Screen with Getting Startet. It thinks i am the first user on the setup but i am not. How to fix this? Thanks for the help.
35 Replies
:wave: Hey @linux_typ,
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. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: 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.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:Did you read the bot's message?
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
What's the address you're using to access Immich, what does your reverse proxy config look like, etc?

In Advanced
Is there some setting to disable this screen? How is it even possible to get there if multiple users are registerred on the server?
There is no setting, it only shows up on a new instance without an admin user
Could it be that you have two Immich instances running somehow?
No i definitely dont have to instances running.
Can you post the output of
docker ps -a
?docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9e502724ee31 ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 8 days ago Up 8 days (healthy) immich_machine_learning
b7b4949ce0be ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 8 days ago Up 8 days (healthy) 0.0.0.0:2283->2283/tcp, :::2283->2283/tcp immich_server
15095e32d773 redis:6.2 "docker-entrypoint.s…" 9 days ago Up 8 days 6379/tcp immich_redis
56213b3f9cc9 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 3 months ago Up 8 days 5432/tcp immich_postgres
41e845424fbf prom/node-exporter "/bin/node_exporter" 10 months ago Up 8 days 0.0.0.0:9100->9100/tcp, :::9100->9100/tcp nodeexporter_node-exporter_1
ba925eea24e5 portainer/agent:2.19.1 "./agent" 10 months ago Up 8 days 0.0.0.0:9001->9001/tcp, :::9001->9001/tcp portainer_agent
5116bb6855fd mauricenino/dashdot:latest "docker-entrypoint.s…" 10 months ago Up 8 days 0.0.0.0:83->3001/tcp, :::83->3001/tcp dashdot_dash_1
bf25da14c9a2 mauricenino/dashdot "docker-entrypoint.s…" 10 months ago Exited (1) 10 months ago beautiful_rubin
Can you share some full screenshots of what you're seeing, and also your authelia settings?

(Please include the address bar in the screenshots as well )

i dont quite know what you mean by that but heres the ip of the server
Like what you're seeing in the browser etc


after login:

and with the ip in the local network:

Those addresses don't look like they match the config you shared earlier. And idk authelia, but that bit of settings you shared doesn't look like the full story
sadly i cant possibly share all the authelia config. What config do you mean?
Presumably it'll have redirect URLs configured and such?
Thats in the advanced config of Ngnix. Theres the following line:

Can you please remove all authelia stuff and see if that works with NPM?
I just did and without Authelia it works.
But as soon as i paste in all the config in the advanced tab i have the authelia login page and then i get redirected to the admin registration page

Then clearly there's something wrong with your authelia config
yea i probably get redirected to the wrong address but multiple questions: how is it even possible to access this page? And what would be the correct redirect?
ok so i think i fixed the problem. With this in the authelea redirect it works:
location / {
proxy_pass http://192.168.1.217:2283; # Redirect to your app's backend