#Immich stopped working

1 messages ยท Page 1 of 1 (latest)

hushed swan
#

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????

full gyroBOT
#

:wave: Hey @hushed swan,

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

#

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.

hushed swan
#

whats even weirder is that i havent messed with any immich settings

#

it just randomly broke after i fixed its cloud flare tunnel

full gyroBOT
violet pine
#

It does say /var/log/app_lifecycle.log so what's up with that

hushed swan
violet pine
#

Normally I'd say in /var/log but in the case of truenas that might be somewhere else entirely

hushed swan
#

also ive been up all day trying to figure out how to make my wordpress website public and its about 12:30 am atm ๐Ÿ˜ญ

hushed swan
#

which one is better?

#

truenas or proxmox?

#

surely nobody would dedicate an entire lab to immich

#

right?

violet pine
#

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

hushed swan
#

whats the difference?โ€ฆ

#

just vms no?

violet pine
#

For proxmox you run a VM with docker

#

You have access to all files/settings/logs

#

Nothing is obscured

fathom pivot
fathom pivot
pale jackal
#

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.

hushed swan
#

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

hushed swan
#

ah yes

fathom pivot
#

or do sudo su to become root

hushed swan
#

i got it

#

also good morning

fathom pivot
#

Well It's 6pm for me sooโ€ฆ good morning to you

hushed swan
#

haha

#

it was 12 when i was solving this

fathom pivot
#

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?

hushed swan
hushed swan
#

mightve been 1.9.17

#

or 19

fathom pivot
#

Apps -> Configuration -> mage docker images

#

there search for Immich

#

or immich-server

#

and share what it output

hushed swan
#

immich-app/immich-server:v1.139.4

fathom pivot
#

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?

hushed swan
#

No i dont think i used the deprecated storage system, although i did add them as a troubleshooting method

#

immich config?

fathom pivot
hushed swan
#

these files are new

fathom pivot
fathom pivot
hushed swan
#

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

hushed swan
#

i cant install it anymore

fathom pivot
hushed swan
#

yes yes

fathom pivot
#

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

hushed swan
#

didnt notice this^

#

permissions are not in check

#

let me try this

fathom pivot
#

Yeah no

#

that is "fine"

hushed swan
#

ah

fathom pivot
fathom pivot
#

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

hushed swan
#

still an error ๐Ÿ’”

fathom pivot
#

Did the permissions changed on the dataset?

hushed swan
#

no

fathom pivot
#

Why do you share the one of upload?

#

To which dataset you pointed when tru-ying to reinstall the app?

hushed swan
#

?

fathom pivot
#

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

hushed swan
#

they still havent changed

fathom pivot
#

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)

hushed swan
#

got it

fathom pivot
#

and then, only then click on Sace access control list

#

Share a screenshot before saving so I can double check

hushed swan
fathom pivot
hushed swan
#

?...

fathom pivot
#

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

hushed swan
fathom pivot
#

That is expected

#

Double check that it has been change

hushed swan
#

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

fathom pivot
#

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)

hushed swan
#

done

#

do i strip acl aswell?

fathom pivot
#

Only for Pgdata

hushed swan
#

alright

fathom pivot
#

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)

hushed swan
fathom pivot
# hushed swan

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

hushed swan
#

seemed to work

fathom pivot
#

TICK the 3

hushed swan
#

apply group?

fathom pivot
#

yes, apply group, owner and permission recursively

hushed swan
#

gotcha

#

sorry

#

now i got it

fathom pivot
#

Yes, now you can save

hushed swan
#

got it

fathom pivot
#

Now, try again to install Immich
But please show me a screenshot of the storage config you try to apply

hushed swan
#

@fathom pivot i love you

#

its installed

#

but its crashing

#

we are getting somewhere

#

atleast its installed

fathom pivot
#

Ok, that is something

#

Show the server logs then

#

if possible

hushed swan
fathom pivot
#

Ok, password issue

#

You did not reuse the database password you had before?

hushed swan
#

oh?

fathom pivot
#

In the database password field, you should have set the one you had before

hushed swan
#

let me retryt

fathom pivot
#

If you dans remember it, and want to use a new one, it is possible

hushed swan
#

works :>

#

where are you from

#

id like to buy you a coffee

#

โค๏ธ

fathom pivot
#

Belgium (the country :D) So that is a bit far away xD

fathom pivot
# hushed swan

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

hushed swan
#

thank you thank you

fathom pivot
fathom pivot
#

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

hushed swan
#

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 ๐Ÿ’”๐Ÿ™๐Ÿ™๐Ÿ™