#Might've accidentally dun goofed my database

1 messages · Page 1 of 1 (latest)

rapid gorge
#

Hi all,

Did a clean pull w/ new dockercompose.yml, after that I had to make a new admin account. I had some error while updating first, so I changed the docker-compose.yml by hand. That means I now have my postgres in a local folder, as is said in the 1.102 change logs: "We have been thinking about mounting the Postgres data to a local folder for a while but always hesitated, as this would break existing instances due to people not reading the change logs carefully.".

So I am one of the persons that did not read carefully. Have I lost the database?

rigid pawnBOT
#

:wave: Hey @rapid gorge,

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 using the buttons below or the /upload command.
  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.

rigid pawnBOT
raw bridge
#

If you have a backup, restore it.
But if not, as long as you did not delete the existing docker volume, you should be able to revert the changes to the compose file and immich should be able access the database from the docker volume.