Immich reverted me to the Authorization page!
This is with regards to a immich setup with tailscale. Here are the particulars:
1. Immich server is running on a ubuntu system
2. "docker ps" showed the immich server was not up, so I went into the docker app on windows and turned it on.
3. When I went to the tailscale IP and port (which had worked previously, and i had uploaded photos to) it said I am the first to login, and asked for an admin email and password.
4. The setup was working fine, until today, when this issue cropped up. The app on my phone was working fine too. I am now unable to access my photos
Is there somewhere in my setup that I could have messed up? Is it recoverable?
TLDR: immich server was off, turned it back on and got back to the auth page for some reason.
38 Replies
:wave: Hey @MN,
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_01GY0DAKGXDEHE263BCAYEGFJAChecklist
I have...
1. :blue_square: 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. :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.GitHub
immich-app immich · Discussions
Explore the GitHub Discussions forum for immich-app immich. Discuss code, ask questions & collaborate with the developer community.
FAQ | Immich
User
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
im relatively new to this, and have taken up setting up this as a hobby, so i may not be as adept in commands and such, but am more than willing to learn
Started off with some youtube tutorials, and set it up from there
So I went into the docker app on windows and turned it onI thought you said it was running on Ubuntu?
i downloaded ubuntu from the windows store, and run it through cmd
Ah so it's WSL
Yes, thats it
Your database was reset
But no way to say why without more info
Could we see your compose/env file then?
one second
Best case: something needs to be mounted
Worst case: you're using a docker volume and it's now gone 😐
quick addtion: when i go to the local path in the WSL ubuntu server, i am able to see the pictures, and view them
how do i access the docker compose file ?
found it
That's a good question, I have unfortunately uninstalled docker desktop previously 😛
oh good 🙂
it says message is too long
save it as a file and upload the file
is there a particular point we are looking for?
Yes, the whole thing
This is where your database lives
It's
/home/mayukh/Immich/postgres
inside the WSL Ubuntu install
I think the DB mount just got disconnected, did you try restarting the container yet?is this it?
Yes, when i go there, the images are still there
But im unable to access them through the server
one second
just the database container should do it
If that doesn't do it, no fear, it should have made some automated DB dumps to work with
Check out the special requirements for windows: https://immich.app/docs/install/requirements#special-requirements-for-windows-users
there are probably some DB dumps at
/home/mayukh/Immich/library/backups
yes! The restart worked! but its not showing all of my photos. It has reverted back to a set of photos i had uploaded a week ago, and not any of the ones i did after
Yeahhh
That's because the mount was undone for some reason
I see
then docker makes a temporary volume
And it all uploads into nothingness
Thats the dump?
no the database is only metadata
Can i get it back? or do i need to reupload everything?
Actually I was wrong, the pictures are uploaded into the container but they are now hidden behind the library mount
I see
Is there a way to restore it?
and prevent this from happening again?
Thinking about it... but it's not easy
And preventing, well, most of it comes down to stability
Hmmm
And docker on wsl on windows is just not very stable 🙃
I see
would you recommend i put the whole thing on a seperate linux system?
Like a Pi
not as an WSL
Yeah that'll work a bit more stable, a Pi or a small x86 system with a bit more RAM (Pis with lot of RAM are expensive)
Got it, I'll try to put that up!
Thank you for your help!
No worries
Feel free to come back for any other questions
Same issue happened to me. I hard reset the server a few days ago when it was unresponsive
