@alexbelgium I’m not sure if you can help with this or it’s Immich territory already.
As mentioned in my prev post:
I was using Immich with its data folder in an external USB drive.
I mounted this drive using the add-on Samba NAS2. This one mounted the volume in /mnt/4tb/ with a virtual hook (no clue what’s the right name) and then shared it as network storage too.
I was using Immich with this data route: /media/4tb/immich/.
Samba NAS2 add-on was a bit unreliable and sometimes it crashed, breaking the setup. So I searched for a different way of mounting the USB drive directly. This was via udev rule.
Now the drive (untouched), same label, same files, is mounted directly on /media/4tb/. Exactly the same.
I started Immich back again, and I got this log.
It seems it’s able to find the right folder, but then it tries to set permissions and it can’t.
I was asking AI for help to review the permissions, and ended up trying
chmod o+w /mnt/data/supervisor/media/4tb/immich
But right after doing that I checked and Immich had actually started some time earlier on its own. So I reverted that permission change.
The thing is the add-on struggles with that permission line on every fresh start. It gets stuck there for a long while. It doesn’t make a diff if I set permissions o+w or o-w (original). The same happens. And it wasn’t happening before when mounted with Samba NAS.
Tbh it seems inconsistent. In a couple of starts, it went through just fine. But then just a restart, and it gets stuck there again.
Do you know what is the add-on expecting or trying to do there? And how can I fix it?
If this is Immich territory, let me know and I’ll ask them directly. But I thought maybe it was the add-on initializing.
Many thanks!
Edit: I couldn’t find a cause, so I ended up reinstalling Immich and the db and starting from scratch, deleting all its data folders. Now it seems to work well. I just hope it doesn’t happen again once I’ve set up my full library properly.
Edit 2: This was fixed here.