summaryrefslogtreecommitdiff
path: root/InstallationNotes.md
diff options
context:
space:
mode:
Diffstat (limited to 'InstallationNotes.md')
-rw-r--r--InstallationNotes.md12
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`.