#No restore DB

1 messages · Page 1 of 1 (latest)

stoic basin
#

Здравствуйте.
У меня установлен Immich на NAS с помощью docker-compose, после проблем с электричеством у меня не запускался postgres, были повреждены данные, но у меня есть бэкап, я попробовал запустить postgres без данных, создал новый каталог, и восстановить данные по инструкции https://immich.app/docs/administration/backup-and-restore, восстановление прошло успешно, но при запуске всего контейнера мне выдает приветствие о создании нового логина и пароля

Hello.
I have Immich installed on the NAS using docker-compose, after problems with electricity, postgres did not start, the data was corrupted, but I have a backup, I tried to run postgres without data, created a new directory, and restore the data according to the instructions https://immich.app/docs/administration/backup-and-restore, the recovery was successful, but when the entire container was started I get a greeting about creating a new username and password

docker-compose.yml
.env https://pastebin.com/5QDkeDKi
Logs https://pastebin.com/hBLuepYz

raw warrenBOT
#

:wave: Hey @stoic basin,

Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich immich.

References

Checklist

  1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :ballot_box_with_check: I have read applicable release notes.
  3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
  4. :ballot_box_with_check: I have reviewed Github for known issues.
  5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
  7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

raw warrenBOT
stoic basin
#

Help me, please

mental shoal
# stoic basin Здравствуйте. У меня установлен Immich на NAS с помощью docker-compose, после пр...

line 66 psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "postgres" does not exist

https://pastebin.com/hBLuepYz

There was an error restoring the database

stoic basin
#

I posted all the logs, I managed to fix this error. Line 67-69

mental shoal
stoic basin
#

Restore passes, but I can not get into the interface, I am offered to create a new administrator, if you make it, there are no saved settings, all from 0

#

Base recovery passes, but immich does not use the recovered data

mental shoal
#

right, because line 66 said it was unable to authenticate

stoic basin
mental shoal
stoic basin
stoic basin
mental shoal
#

do you have multiple database backup files?