Users all gone, media still exists but not viewable
Im running on unraid. Not sure what's happened, I was moving all my data around using unbalanced to encrypt my drives and add new drives. I went to check my immich docker today and couldn't login, I got the "register new admin" page.
I used the same credentials I used when setting up initially but my library has gone. I can see the media still exists in the media folder and I can add new files, they go into the same folders.
Could it be a database issue? I don't even know how I could query the postgres database to find out 🤔
Any ideas?
8 Replies
Sounds like you deleted your database volume
I don't think I deleted anything as far as I can tell 🤔
If it prompts for signing up the admin user, the database you were using before isn't being used anymore. Either it is gone or the configuration is different and so it is using a new one
Ahh, I see my mistake. In the config for my postgresql I have the database storage path set to /mnt/disk2/appdata/postgresql
I must have set it that way back in the days before I realised it should be /mnt/user/
Sorted that and now my libraries and users are back 👍
Time to double check the rest of my containers in case I made any other mistakes like that. Thank you both for your swift responses
Also, take a database backup 😁
Yes! Good idea! Time for some Google fu as I'm not all that familiar with postgresql
I'll backup the appdata folder to Google drive as well
Ahh, thank you for that