Upgrade to 22.04

Discussions about the usage of KeyHelp.
Post Reply
Christian
Posts: 1
Joined: Mon 3. Apr 2023, 22:05

Upgrade to 22.04

Post by Christian »

I'm sure the cause of the problem is within KeyHelp
Yes, it's related to the encryption of keyhelp_ubuntu_upgrade_20_to_22.php not compatible with php8.1


Server operating system + version
Ubuntu 22.04


Server virtualization technology used
KVM I think, on keyweb.de


KeyHelp version + build number
Not known


Problem description / error messages
I upgraded the server from 20.04 to 22.04 using do-release-upgrade
After installation the keyweb is not more accessible, so I was redirected by keyweb.de HD to the https://www.keyhelp.de/en/news/upgrade- ... ubuntu-22/

I tried the procedure but the

Code: Select all

php keyhelp_ubuntu_upgrade_20_to_22.php
fails because

Code: Select all

PHP Fatal error:  The file /root/tmp/keyhelp_ubuntu_upgrade_20_to_22.php encoded as type [1/71] cannot be decoded by this version of the ionCube Loader.  in Unknown on line 0
I think it is due to the fact that the do-release-upgrade installed php8.1 and ioncube loader is not compatible.

How can I proceed with the keyhelp upgrade in this case? I found

Code: Select all

https://community.keyhelp.de/viewtopic.php?t=11780
but it's not my case.


Expected result
The keyhelp upgraded and running

Actual result
The error above


Steps to reproduce
Take a ubuntu 20.04 and install the repvious version of keyhelp
Upgrade with do-release-upgrade to 22.04
Try to run what described in https://www.keyhelp.de/en/news/upgrade- ... ubuntu-22/

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

Re: Upgrade to 22.04

Post by Alexander »

Hello,

You have called do-release-upgrade first, and later try to fix it by following the keyhelp_ubuntu_upgrade_20_to_22.php script?

This is not the way to upgrade your system. You have to stick to the guide: https://www.keyhelp.de/en/news/upgrade- ... ubuntu-22/
The do-release-upgrade will be called by the upgrade script itself.

By calling the do-release-upgrade by yourself (without the necessary preparation work of the script) you have put your system into a hybrid state between Ubuntu 20 and 22.

To fix you system: Roll back your system to the state before the the upgrade and stick to the upgrade guide.


Because of this above, this is not an issue of KeyHelp. I move the thread to the "Usage" area of this forum.
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