PostgreSQL is not started after docker upgrade of PMM server
General
Escalation
General
Escalation
Description
How to test
Mentioned in Description field
How to document
None
Attachments
1
- 23 Jun 2023, 08:01 AM
Activity
Show:
Done
Created June 20, 2023 at 2:24 PM
Updated July 18, 2024 at 2:22 PM
Resolved July 3, 2023 at 9:38 AM
STR:
Install PMM server 2.29.0 or (2.28.0, 2.27.0, 2.29.1) or lower
Upgrade PMM server with docker way upgrade to 2.38.0-rc
Actual result:
PMM server returns 500 error
In postgresql.log:
2023-06-20 13:58:19.250 UTC [118] FATAL: role "pmm-managed" does not exist 2023-06-20 13:58:19.580 UTC [119] ERROR: syntax error at or near "$1" at character 34 2023-06-20 13:58:19.580 UTC [119] STATEMENT: GRANT ALL PRIVILEGES ON DATABASE $1 TO $2 2023-06-20 13:58:20.602 UTC [164] ERROR: relation "schema_migrations" does not exist at character 16 2023-06-20 13:58:20.602 UTC [164] STATEMENT: SELECT id FROM schema_migrations ORDER BY id DESC LIMIT 1