Trying to restore
I am newbie on linux, but did quite well for my first Immich install. I had to clean my OS so did a fresh installation after backing up the photos folder and also the database.
After my fresh install, I downloaded the docker-compose and env file and did the restore, pointing at my backup files and also adding the photos folder on the location pointed by env).
After restoring and seeing what appeared as successful tasks, I had on error:
"ERROR: syntax error at or near "pg_dumpall"
LINE 1: pg_dumpall: error: connection to server on socket "/var/run/...
^"
When opening the browser poiting at immich, it asked me to create a new admnistrator again. I did. Now I can see the storage, but no photos. Also my wife as an user, and nothing is there. What did I do wrong? What can you suggest? Thank you in advance,
5 Replies
When you start a new instance, please make sure to start only the database container first then perform the restore from the database dumb file
then after that bring back all the stack again

Hi Alex. After creating the immich folder and the photos folder inside of it, I download the docker compose and env file, populate them and do nothing else. I pasted exactly what you have in the screenshot. Now I have the following "ERROR: syntax error at or near "pg_dumpall"
LINE 1: pg_dumpall: error: connection to server on socket "/var/run/...
^"
Hello, is your older Immich instance run on the same machine i.e same architecture as the new instance?
Yes. Using a Raspberry 4 and the same drive.