Debian 12 => 13 Upgrade error  [SOLVED]

Have you discovered a bug? Tell us about it.
Post Reply
TLoF
Posts: 6
Joined: Fri 21. Feb 2020, 11:24

Debian 12 => 13 Upgrade error

Post by TLoF »

I'm sure the cause of the problem is within KeyHelp
Yes


Server operating system + version
Debian 12


Server virtualization technology used
Proxmox / quemu


KeyHelp version + build number
KeyHelp : 26.1.1 (Build 3698)
Operating System : Debian 12.15 (64-bit)


Problem description / error messages
wget --no-check-certificate https://install.keyhelp.de/scripts/upgr ... _system.sh -O upgrade_operating_system.sh && bash upgrade_operating_system.sh
--2026-11-03 08:26:23-- https://install.keyhelp.de/scripts/upgr ... _system.sh
Resolving install.keyhelp.de (install.keyhelp.de)... 62.141.56.232, 2001:1b60:2:11:913:101:be57:cafe
Connecting to install.keyhelp.de (install.keyhelp.de)|62.141.56.232|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10367 (10K) [text/x-sh]
Saving to: ‘upgrade_operating_system.sh’

upgrade_operating_system.sh 100%[=====================================================================================================>] 10.12K --.-KB/s in 0s

2026-11-03 08:26:23 (152 MB/s) - ‘upgrade_operating_system.sh’ saved [10367/10367]

You are about to upgrade the operating system of your KeyHelp server.
Running system checks...
Run upgrade script...

Fatal error: Uncaught Error: Call to undefined function connectDatabase() in /root/keyhelp_debian_upgrade_12_to_13.php:84
Stack trace:
#0 {main}
thrown in /root/keyhelp_debian_upgrade_12_to_13.php on line 84


Expected result
Upgrade

Actual result
PHP error message

Steps to reproduce
Simply run the upgrade script

Additional information
I got this result on two server, both just upgraded, from debian 11.
I made this upgrade 4 more times in the last week, (From D11 to D13) without any issue.


.
User avatar
Alexander
Keyweb AG
Posts: 5066
Joined: Wed 20. Jan 2016, 02:23

Re: Debian 12 => 13 Upgrade error

Post by Alexander »

Hello,
TLoF wrote: ↑Tue 3. Nov 2026, 08:39 KeyHelp : 26.1.1 (Build 3698)
Please Update your KeyHelp to version 26.2 first - there was a KeyHelp update recently.
After your updated KeyHelp, the upgrade script will run without problems.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
TLoF
Posts: 6
Joined: Fri 21. Feb 2020, 11:24

Re: Debian 12 => 13 Upgrade error

Post by TLoF »

This instances was upgraded 5 minutes earlier from D11 => D12

Just finished the reboot, this is what i got, and i don't want to stop here, just going forward.

I will test this tomorrow morning, the systems need to run in working hours.

Tamás
TLoF
Posts: 6
Joined: Fri 21. Feb 2020, 11:24

Re: Debian 12 => 13 Upgrade error

Post by TLoF »

[2026-11-03 21:32:02] INFO | unlock panel
[2026-11-03 21:32:02] INFO | update process finished, you are now running on version "26.2"
[2026-11-03 21:32:02] INFO | restore access to temporary directories
[PID-4295] [2026-11-03 21:32:03] INFO | <<< job done, releasing lock "panel-update"

Fatal error: Uncaught TypeError: Monolog\Formatter\LineFormatter::format(): Argument #1 ($record) must be of type Monolog\LogRecord, array given, called in /home/keyhelp/www/keyhelp/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php on line 46 and defined in /home/keyhelp/www/keyhelp/vendor/monolog/monolog/src/Monolog/Formatter/LineFormatter.php:131
Stack trace:
#0 /home/keyhelp/www/keyhelp/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(46): Monolog\Formatter\LineFormatter->format()
#1 /home/keyhelp/www/keyhelp/vendor/monolog/monolog/src/Monolog/Logger.php(400): Monolog\Handler\AbstractProcessingHandler->handle()
#2 /home/keyhelp/www/keyhelp/vendor/monolog/monolog/src/Monolog/Logger.php(612): Monolog\Logger->addRecord()
#3 /home/keyhelp/www/keyhelp/bin/keyhelp_toolbox.php(570): Monolog\Logger->info()
#4 /home/keyhelp/www/keyhelp/bin/keyhelp_toolbox.php(146): runStartMaintenanceTask()
#5 /home/keyhelp/www/keyhelp/bin/keyhelp_toolbox.php(100): runMainMenu()
#6 {main}
thrown in /home/keyhelp/www/keyhelp/vendor/monolog/monolog/src/Monolog/Formatter/LineFormatter.php on line 131

This is when the update run.

After that the upgrade d12=>d13 runed fine.
User avatar
Alexander
Keyweb AG
Posts: 5066
Joined: Wed 20. Jan 2016, 02:23

Re: Debian 12 => 13 Upgrade error  [SOLVED]

Post by Alexander »

This error is expected, no need to worry:

viewtopic.php?p=60115#p60115
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply