- Joined
- Aug 12, 2021
- Messages
- 13
- Reaction score
- 1
I tried to do an upgrade von V18 to V20 on my selfhosted Instance and first I got an email that the Update of the OS was successful but 3CX was still at V18. I tried again to click the Upgrade Button and now I get the error message that the attempt to update the OS failed. Strangely enough the OS is now on Debian 12.
How can I upgrade 3CX now?
Thank for any ideas.
Here is the part of the failed log that seems to be the issue:
[33m====== [08:47:38] Preparation: Fetching current PostgreSQL version, requesting cluster version 11[39m
[33m====== [08:47:38] Preparation: Fetch postgresql information[39m
ii postgresql 15+248 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-15 15.8-0+deb12u1 amd64 The World's Most Advanced Open Source Relational Database
rc postgresql-9.4 9.4.24-0+deb8u1 amd64 object-relational SQL database, version 9.4 server
ii postgresql-client-13 13.16-0+deb11u1 amd64 front-end programs for PostgreSQL 13
ii postgresql-client-15 15.8-0+deb12u1 amd64 front-end programs for PostgreSQL 15
ii postgresql-client-common 248 all manager for multiple PostgreSQL client versions
ii postgresql-common 248 all PostgreSQL database-cluster manager
[33m====== [08:47:38] Preparation: Fetch postgresql cluster: 9.4 main 5433 down,binaries_missing postgres /var/lib/postgresql/9.4/main /var/log/postgresql/postgresql-9.4-main.log
13 main 5432 online postgres /var/lib/postgresql/13/main /var/log/postgresql/postgresql-13-main.log
15 main 5434 online postgres /var/lib/postgresql/15/main /var/log/postgresql/postgresql-15-main.log[39m
/tmp/update.sh: line 735: [: too many arguments
[33m====== [08:47:38] Preparation: Could not get postgresql cluster version from the settings database. Got: |13.16 (Debian 13.16-0+deb11u1). Trying from pg_lsclusters result...[39m
[33m====== [08:47:38] Preparation: Unable to determine postgresql cluster version. Got: 9.4. Aborting...[39m
[33m====== [08:47:38] Upgrade Result: *******************************************[39m
{
"result": "aborted",
"time": "09-09-2024 08:47:38",
"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[08:47] aborted: Unable to determine the PostgreSQL cluster version - 0[39m
How can I upgrade 3CX now?
Thank for any ideas.
Here is the part of the failed log that seems to be the issue:
[33m====== [08:47:38] Preparation: Fetching current PostgreSQL version, requesting cluster version 11[39m
[33m====== [08:47:38] Preparation: Fetch postgresql information[39m
ii postgresql 15+248 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-15 15.8-0+deb12u1 amd64 The World's Most Advanced Open Source Relational Database
rc postgresql-9.4 9.4.24-0+deb8u1 amd64 object-relational SQL database, version 9.4 server
ii postgresql-client-13 13.16-0+deb11u1 amd64 front-end programs for PostgreSQL 13
ii postgresql-client-15 15.8-0+deb12u1 amd64 front-end programs for PostgreSQL 15
ii postgresql-client-common 248 all manager for multiple PostgreSQL client versions
ii postgresql-common 248 all PostgreSQL database-cluster manager
[33m====== [08:47:38] Preparation: Fetch postgresql cluster: 9.4 main 5433 down,binaries_missing postgres /var/lib/postgresql/9.4/main /var/log/postgresql/postgresql-9.4-main.log
13 main 5432 online postgres /var/lib/postgresql/13/main /var/log/postgresql/postgresql-13-main.log
15 main 5434 online postgres /var/lib/postgresql/15/main /var/log/postgresql/postgresql-15-main.log[39m
/tmp/update.sh: line 735: [: too many arguments
[33m====== [08:47:38] Preparation: Could not get postgresql cluster version from the settings database. Got: |13.16 (Debian 13.16-0+deb11u1). Trying from pg_lsclusters result...[39m
[33m====== [08:47:38] Preparation: Unable to determine postgresql cluster version. Got: 9.4. Aborting...[39m
[33m====== [08:47:38] Upgrade Result: *******************************************[39m
{
"result": "aborted",
"time": "09-09-2024 08:47:38",
"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[08:47] aborted: Unable to determine the PostgreSQL cluster version - 0[39m