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
: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.whats even weirder is that i havent messed with any immich settings
it just randomly broke after i fixed its cloud flare tunnel
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
It does say
/var/log/app_lifecycle.log
so what's up with thatim not sure where that is
Normally I'd say in /var/log but in the case of truenas that might be somewhere else entirely
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?
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
whats the difference?…
just vms no?
For proxmox you run a VM with docker
You have access to all files/settings/logs
Nothing is obscured
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
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.
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
sudo before the command
ah yes
or do sudo su to become root
i got it

also good morning
Well It's 6pm for me soo… good morning to you
haha
it was 12 when i was solving this
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?
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
Apps -> Configuration -> mage docker images
there search for Immich
or immich-server
and share what it output
immich-app/immich-server:v1.139.4
ghcr.io/immich-app/immich-server:v1.138.1
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?
No i dont think i used the deprecated storage system, although i did add them as a troubleshooting method

immich config?
it look like you were using it 🙂
nono
these files are new
Edit the app and that's the "config"
whut?
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

i cant install it anymore
Oooh it fails at reinstallation, I get it now
yes yes
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


didnt notice this^
permissions are not in check
let me try this
Yeah no
that is "fine"
ah
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)

Btw for the machine learning, you can leave it to temporary
still an error 💔
Did the permissions changed on the dataset?
no

Why do you share the one of upload?
To which dataset you pointed when tru-ying to reinstall the app?
?
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
they still havent changed


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)

got it
and then, only then click on Sace access control list
Share a screenshot before saving so I can double check

oh wait it's posix -_-
?...
there are 2 ways to set permissions
First click on the big red button strip acl
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


That is expected
Double check that it has been change
yep yep


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

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)
done
do i strip acl aswell?
Only for Pgdata
alright
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)

turn of the share of Immich, do this again (it should work) then turn it back on

seemed to work

THE BOXES
TICK the 3
apply group?
yes, apply group, owner and permission recursively
gotcha
sorry
now i got it

Yes, now you can save
got it
Now, try again to install Immich
But please show me a screenshot of the storage config you try to apply
@Xiticks i love you
its installed
but its crashing
we are getting somewhere
atleast its installed
Ok, that is something
Show the server logs then
if possible

Ok, password issue
You did not reuse the database password you had before?
oh?
In the database password field, you should have set the one you had before
let me retryt
If you dans remember it, and want to use a new one, it is possible
works :>
where are you from
id like to buy you a coffee
❤️
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
thank you thank you
paypal?
Hmm, I've set this up yesterday as someone else also asked for it https://ko-fi.com/xiticks
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
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 💔🙏🙏🙏
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