- Joined
- Aug 23, 2024
- Messages
- 8
- Reaction score
- 0
From reviewing the logs, it appear that during the upgrade process PostgreSQL is upgraded to version 13 but the script checking the version is expecting 11 and gets upset which causes the upgrade to fail.
Is this a known issue? If so, is there a timeline for a fix?
I also noted the following in the logs:
Is this a known issue? If so, is there a timeline for a fix?
[33m====== [18:38:09] Preparation: Fetching current PostgreSQL version, requesting cluster version 11[39m
[33m====== [18:38:09] Preparation: Fetch postgresql information[39m
ii postgresql 13+225+deb11u1 all object-relational SQL database (supported version)
ii postgresql-13 13.16-0+deb11u1 amd64 The World's Most Advanced Open Source Relational Database
ii postgresql-client-13 13.16-0+deb11u1 amd64 front-end programs for PostgreSQL 13
ii postgresql-client-common 225+deb11u1 all manager for multiple PostgreSQL client versions
ii postgresql-common 225+deb11u1 all PostgreSQL database-cluster manager
[33m====== [18:38:09] Preparation: Fetch postgresql cluster: 13 main 5432 online postgres /var/lib/postgresql/13/main /var/log/postgresql/postgresql-13-main.log[39m
[33m====== [18:38:09] Preparation: Could not get postgresql cluster version from the settings database. Got: 13. Trying from pg_lsclusters result...[39m
[33m====== [18:38:09] Preparation: Unable to determine postgresql cluster version. Got: 13. Aborting...[39m
[33m====== [18:38:09] Upgrade Result: *******************************************[39m
{
"result": "aborted",
"time": "21-08-2024 18:38:09",
"title": "Unable to determine the PostgreSQL cluster version",
"message": "The script was unable to determine PostgreSQL cluster version. This may be a result of postgresql misconfiguration or service problem."
}
[31m[18:38] aborted: Unable to determine the PostgreSQL cluster version - 0[39m
I also noted the following in the logs:
Aug 21 18:36:55 lakeylaw cloud-init[265]: pkg_resources.DistributionNotFound: The 'cloud-init==23.4.4' distribution was not found and is required by the application
Last edited: