diff options
author | Andrew Dolgov <[email protected]> | 2023-10-24 13:58:58 +0000 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-24 13:58:58 +0000 |
commit | b7688ca475e49f74ef9cb70e72f08aade8082875 (patch) | |
tree | 30a925e6902298ac9c509e21895122ce39b9ae42 | |
parent | d809506fc67e2f0575da29bf6ed92960ad042e35 (diff) |
Update InstallationNotes
-rw-r--r-- | InstallationNotes.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/InstallationNotes.md b/InstallationNotes.md index 6d1ff30..51dc0e0 100644 --- a/InstallationNotes.md +++ b/InstallationNotes.md @@ -139,6 +139,18 @@ volumes: Sorry, I only make AMD64 images, dealing with cross-platform buildx is just too much effort. You'll have to make your own images if you use ARM by saving above compose file and running `docker-compose build`. +### I got the updated compose file above and now my database keeps restarting + +Error message: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.4. + +Official PostgreSQL containers have no support for migrating data between major versions. You can do one of the following: + +1. Replace `postgres:15-alpine` with `postgres:12-alpine` in the compose file and keep using PG 12 +2. Use this DB container which would automatically upgrade the database - https://github.com/pgautoupgrade/docker-pgautoupgrade +3. Migrate the data manually using pg_dump & restore (somewhat complicated if you haven't done it before) + +See also: https://community.tt-rss.org/t/docker-compose-setup-broken-repo-missing/6164/15?u=fox + ### I'm using docker-compose.override.yml and now I'm getting schema update (and other) strange issues Alternatively, you've changed something related to `/var/www/html/tt-rss` in `docker-compose.yml`. |