Adman234
Adman234
IImmich
Created by Adman234 on 2/18/2025 in #help-desk-support
More database issues
I reinstalled immich and cleared out the database and it seems fine now. /close
12 replies
IImmich
Created by Adman234 on 2/18/2025 in #help-desk-support
More database issues
Please forgive my lack of technical knowledge. Please let me know if there are any other logs/info you need and I can try to figure out how to upload it. I'm still having this issue with any new images I backup from my phone to immich- they all show "error loading image"
12 replies
IImmich
Created by Adman234 on 2/18/2025 in #help-desk-support
More database issues
Setup: UNRAID 7.0.0 server Running immich docker PostgreSQL_immich docker Redis Docker Restored database from backup about 1 week ago
12 replies
IImmich
Created by Adman234 on 2/18/2025 in #help-desk-support
More database issues
Redis Logs
12 replies
IImmich
Created by Adman234 on 2/18/2025 in #help-desk-support
More database issues
PostgreSQL_immich logs
12 replies
IImmich
Created by Adman234 on 2/18/2025 in #help-desk-support
More database issues
Immich logs
12 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
Ok, I reinstalled everything again. I think previously I started immich before the restore as Zeus suggested. Almost no errors this time. It looks like everything is working now! Thanks guys for the assistance, and apologies for my lack of knowledge.
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
The files are in the same location as before, and I don't think my settings for paths have changed at all. When I re-added the containers, all the paths were still filled out to the previous paths.
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
I'm now trying to roll back immich to see if that resolves my issue, but having trouble. The current repo is
ghcr.io/imagegenius/immich:cuda
ghcr.io/imagegenius/immich:cuda
I'm trying to go to 1.126.0 but I can't figure out what to put for the repo.
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
Could this be related to an immich update? I might have updated immich before I realized there was an issue here.
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
No description
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
Ok, I tried reinstalling immich again, and now my photos are showing up, but they all just say "error loading image"
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
Wall of text incoming
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
Ok, so I'm able to get into immich now and all my settings are there, but I don't see any photos. So it seems the database didn't restore correctly? I ran the following:
gunzip < /mnt/user/data/photos/backups/immich-db-backup-1739347200004.sql.gz \
| sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" \
| docker exec -i PostgreSQL_Immich psql --dbname=immich --username=postgres # Restore Backup
docker compose up -d # Start remainder of Immich apps
gunzip < /mnt/user/data/photos/backups/immich-db-backup-1739347200004.sql.gz \
| sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" \
| docker exec -i PostgreSQL_Immich psql --dbname=immich --username=postgres # Restore Backup
docker compose up -d # Start remainder of Immich apps
And there were a bunch of errors.
ERROR: cannot drop the currently open database
ERROR: current user cannot be dropped
ERROR: role "postgres" already exists
ALTER ROLE
ERROR: cannot drop the currently open database
ERROR: current user cannot be dropped
ERROR: role "postgres" already exists
ALTER ROLE
Plus about 500 errors after this about stuff already existing. Any idea what I'm missing?
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
Also, previously I tried deleting the PostgreSQL_Immich folder in appdata and reinstalling, and that did not resolve the issue. If I reinstall immich as well, can I restore it from a backup? Is there a way to restore database from backup in GUI? I'm just in way over my head here, sorry
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
No description
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
Sorry, I'm really unclear on this whole restore process. I'm not a linux/command line person so I'm trying to figure it out- I need to double check all the path locations and container names because they're different. I just really don't wanna screw something up and lose my database.
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
Ok, I'm reading that over now, thanks. I'll need to uncomment the rm -rf line, correct?
30 replies
IImmich
Created by Adman234 on 2/13/2025 in #help-desk-support
Unraid- cache drive filled up, now immich won't start
So the database is corrupt? What steps can I take to resolve this without data loss?
30 replies
IImmich
Created by Adman234 on 1/22/2025 in #help-desk-support
Error when launching- Permissions Issue?
This worked, thanks! I had to delete the /appdata folder too for postgres.
10 replies