php fatal error when trying to upgrade from ubuntu 22 to 24 [SOLVED]
php fatal error when trying to upgrade from ubuntu 22 to 24
ubuntu 22
Server virtualization technology used
KVM
KeyHelp version + build number
24.2 build 3326
Problem description / error messages
You are about to upgrade the operating system of your KeyHelp server.
Running system checks...
Run upgrade script...
PHP Fatal error:
The encoded file /home/keyhelp/www/keyhelp/init/init_cli.php has been included by the unauthorised file /root/keyhelp_ubuntu_upgrade_22_to_24.php
in Unknown on line 0
Expected result
no fatal errror
Additional information
Re: php fatal error when trying to upgrade from ubuntu 22 to 24
Also, when i try to call the keyhelp-toolbox from the terminal i got the error:
keyhelp-toolbox
PHP Fatal error: Only files produced by the PHP 8.1 ionCube Encoder can run on PHP 8.1.
The file /home/keyhelp/www/keyhelp/bin/keyhelp_toolbox.php has been encoded by the ionCube Encoder for PHP 8.2. in Unknown on line 0
Weird stuff.
So it seems the php version has been already updated or something like this when i tried to run the upgrade script the first time.
There was the message:
Code: Select all
If your system seems to freeze for more than 1 minute,
hit [CRTL] + [C] and call "do-release-upgrade" yourself.
Fortunately i mirrowed all services on the server to another because from experience i know system upgrades (almost) never runs smooth.
Re: php fatal error when trying to upgrade from ubuntu 22 to 24 [SOLVED]
Re: php fatal error when trying to upgrade from ubuntu 22 to 24
How do i check if all services, ecc. are ok?
Re: php fatal error when trying to upgrade from ubuntu 22 to 24
Are there any services offline on the KeyHelp - admin-dashboard?
Did you get any errors while finishing the upgrade?
If the answer is 3 x NO, then everthing should be O.K.
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Re: php fatal error when trying to upgrade from ubuntu 22 to 24
based on this all seems to be working fine.
Thanks for the answer!
Take care