I
Immich4mo ago
MN

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
Immich
Immich4mo ago
: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_01GY0DAKGXDEHE263BCAYEGFJA
Immich
Immich4mo ago
Checklist 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.
GitHub
Issues · immich-app/immich
High performance self-hosted photo and video management solution. - Issues · immich-app/immich
MN
MNOP4mo ago
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
Mraedis
Mraedis4mo ago
So I went into the docker app on windows and turned it on
I thought you said it was running on Ubuntu?
MN
MNOP4mo ago
i downloaded ubuntu from the windows store, and run it through cmd
Mraedis
Mraedis4mo ago
Ah so it's WSL
MN
MNOP4mo ago
Yes, thats it
bo0tzz
bo0tzz4mo ago
Your database was reset But no way to say why without more info
Mraedis
Mraedis4mo ago
Could we see your compose/env file then?
MN
MNOP4mo ago
one second
Mraedis
Mraedis4mo ago
Best case: something needs to be mounted Worst case: you're using a docker volume and it's now gone 😐
MN
MNOP4mo ago
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
Mraedis
Mraedis4mo ago
That's a good question, I have unfortunately uninstalled docker desktop previously 😛 oh good 🙂
MN
MNOP4mo ago
it says message is too long
Mraedis
Mraedis4mo ago
save it as a file and upload the file
MN
MNOP4mo ago
is there a particular point we are looking for?
Mraedis
Mraedis4mo ago
Yes, the whole thing
MN
MNOP4mo ago
Mraedis
Mraedis4mo ago
volumes:
- type: bind
source: /home/mayukh/Immich/postgres
target: /var/lib/postgresql/data
bind:
create_host_path: true
volumes:
- type: bind
source: /home/mayukh/Immich/postgres
target: /var/lib/postgresql/data
bind:
create_host_path: true
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?
MN
MNOP4mo ago
is this it? Yes, when i go there, the images are still there But im unable to access them through the server one second
Mraedis
Mraedis4mo ago
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
MN
MNOP4mo ago
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
Mraedis
Mraedis4mo ago
Yeahhh That's because the mount was undone for some reason
MN
MNOP4mo ago
I see
Mraedis
Mraedis4mo ago
then docker makes a temporary volume And it all uploads into nothingness
MN
MNOP4mo ago
Thats the dump?
Mraedis
Mraedis4mo ago
no the database is only metadata
MN
MNOP4mo ago
Can i get it back? or do i need to reupload everything?
Mraedis
Mraedis4mo ago
Actually I was wrong, the pictures are uploaded into the container but they are now hidden behind the library mount
MN
MNOP4mo ago
I see Is there a way to restore it? and prevent this from happening again?
Mraedis
Mraedis4mo ago
Thinking about it... but it's not easy And preventing, well, most of it comes down to stability
MN
MNOP4mo ago
Hmmm
Mraedis
Mraedis4mo ago
And docker on wsl on windows is just not very stable 🙃
MN
MNOP4mo ago
I see would you recommend i put the whole thing on a seperate linux system? Like a Pi not as an WSL
Mraedis
Mraedis4mo ago
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)
MN
MNOP4mo ago
Got it, I'll try to put that up! Thank you for your help!
Mraedis
Mraedis4mo ago
No worries Feel free to come back for any other questions
AdverseRath
AdverseRath7d ago
Same issue happened to me. I hard reset the server a few days ago when it was unresponsive
No description

Did you find this page helpful?