Immich stopped working

I hopped into my immich webpage to check out some immiches when i was greeted with a red error notice, didnt think much of it so i restarted the server. Thats when the immich app did not start back up again, i tried to delete it then reinstall it and now i cant even get the F*cking thing to install anymore. Is homelabbing always this frustrating????
104 Replies
Immich
Immich2mo ago
:wave: Hey @kartoonzz., 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. :ballot_box_with_check: 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. :ballot_box_with_check: 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.
kartoonzz.
kartoonzz.OP2mo ago
whats even weirder is that i havent messed with any immich settings it just randomly broke after i fixed its cloud flare tunnel
Immich
Immich2mo ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Mraedis
Mraedis2mo ago
It does say /var/log/app_lifecycle.log so what's up with that
kartoonzz.
kartoonzz.OP2mo ago
im not sure where that is
Mraedis
Mraedis2mo ago
Normally I'd say in /var/log but in the case of truenas that might be somewhere else entirely
kartoonzz.
kartoonzz.OP2mo ago
also ive been up all day trying to figure out how to make my wordpress website public and its about 12:30 am atm 😭 yea, question which one is better? truenas or proxmox? surely nobody would dedicate an entire lab to immich right?
Mraedis
Mraedis2mo ago
It's a little contradictory, truenas does a lot of things for you but that in turn makes it a lot harder to debug/troubleshoot as a newbie So it's easiest if nothing goes wrong personally I use proxmox
kartoonzz.
kartoonzz.OP2mo ago
whats the difference?… just vms no?
Mraedis
Mraedis2mo ago
For proxmox you run a VM with docker You have access to all files/settings/logs Nothing is obscured
Xiticks
Xiticks2mo ago
Might be late, but to see what the errors are, go to TrueNAS shell and do tail /var/log/app_lifecycle.log You could also do that in TrueNAS, you just need to use the app from the catalogue
smileBeda
smileBeda2mo ago
To your question what’s better… less is better (also for Wordpress btw 😇 which if you struggle with, feel free to pm me) I run over 50 services on docker (including 5 websites on wp) - but that’s it, no other stuff. Linux on a lattepanda Makes it easy to manage and maintain and transport.
kartoonzz.
kartoonzz.OP2mo ago
permission denied so its there but i cant access it this is another thing ive been encountering aswell, random permission denials on my own home network lol
Xiticks
Xiticks2mo ago
sudo before the command
kartoonzz.
kartoonzz.OP2mo ago
ah yes
Xiticks
Xiticks2mo ago
or do sudo su to become root
kartoonzz.
kartoonzz.OP2mo ago
i got it
kartoonzz.
kartoonzz.OP2mo ago
No description
kartoonzz.
kartoonzz.OP2mo ago
also good morning
Xiticks
Xiticks2mo ago
Well It's 6pm for me soo… good morning to you
kartoonzz.
kartoonzz.OP2mo ago
haha it was 12 when i was solving this
Xiticks
Xiticks2mo ago
SO I might be able to help more during the weekend i've work to do and I already delayed it waay too much But do you know which Immich vrersion you were using before deleting and installing it again?
kartoonzz.
kartoonzz.OP2mo ago
also i may take you up on that offer! (Ive gotten cloudflare installed on to wordpress but it states that my domain isnt provisioned with cloudflare </3) no 🙁 mightve been 1.9.17 or 19
Xiticks
Xiticks2mo ago
Apps -> Configuration -> mage docker images there search for Immich or immich-server and share what it output
kartoonzz.
kartoonzz.OP2mo ago
immich-app/immich-server:v1.139.4 ghcr.io/immich-app/immich-server:v1.138.1
Xiticks
Xiticks2mo ago
Ok so for that it is ok you were on a relatively recent version Did you know if you were using the now deprecated storage structure? Like did you know where you Immich data was saved? Can you also share your current immich config?
kartoonzz.
kartoonzz.OP2mo ago
No i dont think i used the deprecated storage system, although i did add them as a troubleshooting method
kartoonzz.
kartoonzz.OP2mo ago
No description
kartoonzz.
kartoonzz.OP2mo ago
immich config?
Xiticks
Xiticks2mo ago
it look like you were using it 🙂
kartoonzz.
kartoonzz.OP2mo ago
nono these files are new
Xiticks
Xiticks2mo ago
Edit the app and that's the "config" whut?
kartoonzz.
kartoonzz.OP2mo ago
i tried using the deprecated method as a troubleshooting method, the files are empty, the only ones that were used are data, pgdata or upload ehhh
kartoonzz.
kartoonzz.OP2mo ago
No description
kartoonzz.
kartoonzz.OP2mo ago
i cant install it anymore
Xiticks
Xiticks2mo ago
Oooh it fails at reinstallation, I get it now
kartoonzz.
kartoonzz.OP2mo ago
yes yes
Xiticks
Xiticks2mo ago
but the upload dataset itself is… empty? oh no there is data my bad Can you show the permissions of both data and pgData? (when you click on it, on the right there is a permission widget
kartoonzz.
kartoonzz.OP2mo ago
No description
kartoonzz.
kartoonzz.OP2mo ago
No description
kartoonzz.
kartoonzz.OP2mo ago
didnt notice this^ permissions are not in check let me try this
Xiticks
Xiticks2mo ago
Yeah no that is "fine"
kartoonzz.
kartoonzz.OP2mo ago
ah
Xiticks
Xiticks2mo ago
If that is the permissions for "data" it is ok But these aren't correct So what you do, is you reinstall the Immich app, but for the pgData you tick the box "apply permissions" or something like that (screenshot incoming)
Xiticks
Xiticks2mo ago
No description
Xiticks
Xiticks2mo ago
Btw for the machine learning, you can leave it to temporary
kartoonzz.
kartoonzz.OP2mo ago
still an error 💔
Xiticks
Xiticks2mo ago
Did the permissions changed on the dataset?
kartoonzz.
kartoonzz.OP2mo ago
no
kartoonzz.
kartoonzz.OP2mo ago
No description
Xiticks
Xiticks2mo ago
Why do you share the one of upload? To which dataset you pointed when tru-ying to reinstall the app?
kartoonzz.
kartoonzz.OP2mo ago
?
Xiticks
Xiticks2mo ago
For the data you should point to /mnt/storage/immich/data and for the db to /mnt/storage/immich/pgData And I want you to share the permissions of data and pgData not the others here you shared the permissions of upload
kartoonzz.
kartoonzz.OP2mo ago
they still havent changed
kartoonzz.
kartoonzz.OP2mo ago
No description
kartoonzz.
kartoonzz.OP2mo ago
No description
Xiticks
Xiticks2mo ago
Ok so only for the pgData Do -> edit permissions then I need you to copy the exact whole thing showed in the screenshot (setting owner, checking boxes, setting the acl)
No description
kartoonzz.
kartoonzz.OP2mo ago
got it
Xiticks
Xiticks2mo ago
and then, only then click on Sace access control list Share a screenshot before saving so I can double check
kartoonzz.
kartoonzz.OP2mo ago
No description
Xiticks
Xiticks2mo ago
oh wait it's posix -_-
kartoonzz.
kartoonzz.OP2mo ago
?...
Xiticks
Xiticks2mo ago
there are 2 ways to set permissions First click on the big red button strip acl
Xiticks
Xiticks2mo ago
Then you'll click on the edit button next to dataset details -> Advanced options -> Scroll at the bottom -> Third from bottom should be ACL Type, change it to SMB/NFSv4
No description
kartoonzz.
kartoonzz.OP2mo ago
No description
Xiticks
Xiticks2mo ago
That is expected Double check that it has been change
kartoonzz.
kartoonzz.OP2mo ago
yep yep
kartoonzz.
kartoonzz.OP2mo ago
No description
No description
kartoonzz.
kartoonzz.OP2mo ago
may this be because im already runing smb on the main immich file? also might i ad the ACL type wasnt on POSIX it was on inherit
kartoonzz.
kartoonzz.OP2mo ago
No description
Xiticks
Xiticks2mo ago
Yeah that is normal Try to change the acl mode on the "immich" dataset first Oh no My bad You have to set ACL Mode to Passtrhough also (you can also do it on the Immich dataset)
kartoonzz.
kartoonzz.OP2mo ago
done do i strip acl aswell?
Xiticks
Xiticks2mo ago
Only for Pgdata
kartoonzz.
kartoonzz.OP2mo ago
alright
Xiticks
Xiticks2mo ago
After taht, only for pgData, back to edit permission -> set acl -> A menu will appear that propose you to select an ACL -> click on cancel And then you replicate my screenshot (don't forget to tick the boxes and set OWner and owner group)
kartoonzz.
kartoonzz.OP2mo ago
No description
Xiticks
Xiticks2mo ago
turn of the share of Immich, do this again (it should work) then turn it back on
kartoonzz.
kartoonzz.OP2mo ago
No description
kartoonzz.
kartoonzz.OP2mo ago
seemed to work
kartoonzz.
kartoonzz.OP2mo ago
No description
Xiticks
Xiticks2mo ago
THE BOXES TICK the 3
kartoonzz.
kartoonzz.OP2mo ago
apply group?
Xiticks
Xiticks2mo ago
yes, apply group, owner and permission recursively
kartoonzz.
kartoonzz.OP2mo ago
gotcha sorry now i got it
kartoonzz.
kartoonzz.OP2mo ago
No description
Xiticks
Xiticks2mo ago
Yes, now you can save
kartoonzz.
kartoonzz.OP2mo ago
got it
Xiticks
Xiticks2mo ago
Now, try again to install Immich But please show me a screenshot of the storage config you try to apply
kartoonzz.
kartoonzz.OP2mo ago
@Xiticks i love you its installed but its crashing we are getting somewhere atleast its installed
Xiticks
Xiticks2mo ago
Ok, that is something Show the server logs then if possible
kartoonzz.
kartoonzz.OP2mo ago
No description
Xiticks
Xiticks2mo ago
Ok, password issue You did not reuse the database password you had before?
kartoonzz.
kartoonzz.OP2mo ago
oh?
Xiticks
Xiticks2mo ago
In the database password field, you should have set the one you had before
kartoonzz.
kartoonzz.OP2mo ago
let me retryt
Xiticks
Xiticks2mo ago
If you dans remember it, and want to use a new one, it is possible
kartoonzz.
kartoonzz.OP2mo ago
works :> where are you from id like to buy you a coffee ❤️
Xiticks
Xiticks2mo ago
Belgium (the country :D) So that is a bit far away xD btw you can cleand up that by removing backups, library, machine_learning,profile, thumbs, upload and video If you have selected data and pgData when reinstalling Immich it should not use the other
kartoonzz.
kartoonzz.OP2mo ago
thank you thank you paypal?
Xiticks
Xiticks2mo ago
Hmm, I've set this up yesterday as someone else also asked for it https://ko-fi.com/xiticks
Ko-fi
Support Xiticks
Support Xiticks
Xiticks
Xiticks2mo ago
Oh and btw I'm not directly part of Immich, the support crew is a role I've been given just because I helped people and is voluntary work If you like Immich, you can support their work too
kartoonzz.
kartoonzz.OP2mo ago
well you helped me out so thank you! helped me out very well, step by step cant tell you how much its needed as a noobie 💔🙏🙏🙏
Xiticks
Xiticks2mo ago
No problem! Pleasure to help And no worries, everyone can learn and your setup had some weird stuff, like I don't know how Immich worked before as the pgData should always have had the permission I made you set

Did you find this page helpful?