imagegenius / docker-immich

Monolithic (Single) Docker Container for Immich
GNU General Public License v3.0
618 stars 28 forks source link

1.109.0 image won´t start (no logs) #419

Closed Chamber3399 closed 4 months ago

Chamber3399 commented 4 months ago

Hi,

Recently updated to 1.109.0, but the immich server won´t start now. When checking the logs, I only get the following

`[migrations] started [migrations] no migrations found

╔═══════════════════════════════╗


  / / |_   _/ ____|     / /
 / /    | || |  __     / /
/ /     | || | |_ |   / /

/ / _| || || | / / /_/ |_______| //

Baseimage from linuxserver.io ╠═══════════════════════════════╣ User/Group ID: User UID: 99 User GID: 100 ╚═══════════════════════════════╝ `

I tried:

Is this a common issue with the latest update?

database info:

Chamber3399 commented 4 months ago

Also, the image version is :latest, not running on any gpu

Chamber3399 commented 4 months ago

Figured it out, after running the new permissions tool in unraid the server seems to start again

Chamber3399 commented 4 months ago

Apparently the server did not start due to folder permissions in unraid not being set correctly, running ¨new permissions" tool fixed it

3rdStng commented 4 months ago

New Permissions (disks) and Docker Safe Permissions didn't do it for me. Looks like something possibly related to unRAID 6.12.11, My docker was perfectly fine on 6.12.10 and now doesn't get past the IG screen. Anything else you did or that I can try?

EDIT: I ran the New Permissions (shares) and chose only AppData. The container was already started, but hung, and it continued to start up at the end of the new perms tool, but restarting the container put it back in the hung state again. Did you restart the container afterwards? Or choose more shares than just appdata?

UPDATE: I ended up starting the container and running New Permissions again on appdata. After 5-10 minutes the container started. I know there is another issue with a delayed startup, but I'm not running the CUDA version. Perhaps the delay is affected on all versions?

hydazz commented 4 months ago

we pushed out a change to NOT apply permissions on startup, are you using the latest image?

if your seeing these issues please set S6_VERBOSITY=2 and post those logs

https://github.com/imagegenius/docker-immich/blob/6f21466b598665b068e8acbd7bf73a3dbb321747/root/etc/s6-overlay/s6-rc.d/init-config-immich/run#L9-L18

hydazz commented 4 months ago

fixed in https://github.com/imagegenius/docker-immich/commit/1112d7cffbae00195804df81315bc820d6932d60