You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a pretty old installation that is on v1.33.1. What is the path to get onto the most recent version?
I took updated the git and tried to just pull the recent docker images and run those. Unfortunately, it did not go so well because I my postgres v12 data could not run on postgres15.
Attaching to umami_umami_1, umami_db_1
umami_1 | yarn run v1.22.19
umami_1 | $ npm-run-all check-db update-tracker start-server
umami_1 | $ node scripts/check-db.js
umami_1 | ✓ DATABASE_URL is defined.
umami_1 | ✗ Unable to connect to the database.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | ERROR: "check-db" exited with 1.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | yarn run v1.22.19
umami_1 | $ npm-run-all check-db update-tracker start-server
umami_1 | $ node scripts/check-db.js
umami_1 | ✓ DATABASE_URL is defined.
umami_1 | ✗ Unable to connect to the database.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | ERROR: "check-db" exited with 1.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | yarn run v1.22.19
umami_1 | $ npm-run-all check-db update-tracker start-server
umami_1 | $ node scripts/check-db.js
umami_1 | ✓ DATABASE_URL is defined.
umami_1 | ✗ Unable to connect to the database.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | ERROR: "check-db" exited with 1.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | yarn run v1.22.19
umami_1 | $ npm-run-all check-db update-tracker start-server
umami_1 | $ node scripts/check-db.js
umami_1 | ✓ DATABASE_URL is defined.
umami_1 | ✗ Unable to connect to the database.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | ERROR: "check-db" exited with 1.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | yarn run v1.22.19
umami_1 | $ npm-run-all check-db update-tracker start-server
umami_1 | $ node scripts/check-db.js
umami_1 | ✓ DATABASE_URL is defined.
umami_1 | ✗ Unable to connect to the database.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | ERROR: "check-db" exited with 1.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | yarn run v1.22.19
umami_1 | $ npm-run-all check-db update-tracker start-server
umami_1 | $ node scripts/check-db.js
umami_1 | ✓ DATABASE_URL is defined.
umami_1 | ✗ Unable to connect to the database.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | ERROR: "check-db" exited with 1.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | yarn run v1.22.19
umami_1 | $ npm-run-all check-db update-tracker start-server
umami_1 | $ node scripts/check-db.js
umami_1 | ✓ DATABASE_URL is defined.
umami_1 | ✗ Unable to connect to the database.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | ERROR: "check-db" exited with 1.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | yarn run v1.22.19
umami_1 | $ npm-run-all check-db update-tracker start-server
umami_1 | $ node scripts/check-db.js
umami_1 | ✓ DATABASE_URL is defined.
umami_1 | ✗ Unable to connect to the database.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | ERROR: "check-db" exited with 1.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | yarn run v1.22.19
umami_1 | $ npm-run-all check-db update-tracker start-server
umami_1 | $ node scripts/check-db.js
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2023-12-07 19:32:16.226 UTC [1] FATAL: database files are incompatible with server
db_1 | 2023-12-07 19:32:16.226 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.5.
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2023-12-07 19:32:17.381 UTC [1] FATAL: database files are incompatible with server
db_1 | 2023-12-07 19:32:17.381 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.5.
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2023-12-07 19:32:18.438 UTC [1] FATAL: database files are incompatible with server
db_1 | 2023-12-07 19:32:18.438 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.5.
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2023-12-07 19:32:19.710 UTC [1] FATAL: database files are incompatible with server
db_1 | 2023-12-07 19:32:19.710 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.5.
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2023-12-07 19:32:21.393 UTC [1] FATAL: database files are incompatible with server
db_1 | 2023-12-07 19:32:21.393 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.5.
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2023-12-07 19:32:23.728 UTC [1] FATAL: database files are incompatible with server
db_1 | 2023-12-07 19:32:23.728 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.5.
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2023-12-07 19:32:27.395 UTC [1] FATAL: database files are incompatible with server
db_1 | 2023-12-07 19:32:27.395 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.5.
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2023-12-07 19:32:34.464 UTC [1] FATAL: database files are incompatible with server
db_1 | 2023-12-07 19:32:34.464 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.5.
db_1 |
db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1 |
db_1 | 2023-12-07 19:32:47.734 UTC [1] FATAL: database files are incompatible with server
db_1 | 2023-12-07 19:32:47.734 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 12, which is not compatible with this version 15.5.
umami_1 | ✓ DATABASE_URL is defined.
umami_1 | ✗ Unable to connect to the database.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
umami_1 | ERROR: "check-db" exited with 1.
umami_1 | error Command failed with exit code 1.
umami_1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I tried the easy solution to just run the latest image with postgres 12, but that also failed.
What is the path to upgrade? Are there migrations I can run? Should I try and export the data, upgrade, and then import it?
Need to install the following packages:
@umami/migrate-v1-v2@latest
Ok to proceed? (y)
Running v0.15.0
✓ DATABASE_URL is defined.
✓ Database connection successful.
✗ Database v1 tables have not been detected.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a pretty old installation that is on v1.33.1. What is the path to get onto the most recent version?
I took updated the git and tried to just pull the recent docker images and run those. Unfortunately, it did not go so well because I my postgres v12 data could not run on postgres15.
I tried the easy solution to just run the latest image with postgres 12, but that also failed.
What is the path to upgrade? Are there migrations I can run? Should I try and export the data, upgrade, and then import it?
Beta Was this translation helpful? Give feedback.
All reactions