Using CasaOS, had an issue with the app and I installed a different version of it from the app store within CasaOS, original was big-bear-immich, new one is just immich. Followed the restore docs with the following commands.
docker-compose down -v
docker-compose create
docker start immich-postgres
gunzip --stdout "immich-db-backup-1760320800015.sql.gz" \
| sudo sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" \
| sudo docker exec -i immich-postgres psql --dbname=postgres --username=postgres
docker-compose up -d
On older version 1.32.2 so did not do pull command, and for whatever reason this CasaOS instance is immich**-postgres not immich_**postgres, had many issues before I figured this out.
I copied over the upload directory in its entirety to the new app.
After starting the app back up I was prompted the usual login, not admin first creation prompt and all the metadata and "frames" of images and videos are present but no thumbnails, cant download and thumbnail creation job doesn't work.
Please let me know what logs and info are helpful to solve and instructions on how to obtain such information, I only started messing with the backend to fix this issue.
.