php fatal error when trying to upgrade from ubuntu 22 to 24  [SOLVED]

Have you discovered a bug? Tell us about it.
Post Reply
nobody
Posts: 28
Joined: Sun 8. Jan 2023, 22:29
Location: Universe
Contact:

php fatal error when trying to upgrade from ubuntu 22 to 24

Post by nobody »

Server operating system + version
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
screen.png
nobody
Posts: 28
Joined: Sun 8. Jan 2023, 22:29
Location: Universe
Contact:

Re: php fatal error when trying to upgrade from ubuntu 22 to 24

Post by nobody »

Furthermore i just saw that i cannot access the keyhelp control panel anymore, seems to be a php fatal error too.

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.
As the system got stucked i exited with CTRL + C but i didn't run the "do-release-upgrade" because i didn't want to increase the damage :)
Fortunately i mirrowed all services on the server to another because from experience i know system upgrades (almost) never runs smooth.
nobody
Posts: 28
Joined: Sun 8. Jan 2023, 22:29
Location: Universe
Contact:

Re: php fatal error when trying to upgrade from ubuntu 22 to 24  [SOLVED]

Post by nobody »

So actually i risked and i'm following this post: viewtopic.php?p=52112&hilit=do+release+upgrade#p52112 without the rabbitMQ stuff
nobody
Posts: 28
Joined: Sun 8. Jan 2023, 22:29
Location: Universe
Contact:

Re: php fatal error when trying to upgrade from ubuntu 22 to 24

Post by nobody »

It seems the ugrade went fine.
How do i check if all services, ecc. are ok?
User avatar
Tobi
Community Moderator
Posts: 3110
Joined: Thu 5. Jan 2017, 13:24

Re: php fatal error when trying to upgrade from ubuntu 22 to 24

Post by Tobi »

Are there any errors in the syslog?
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.
Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
nobody
Posts: 28
Joined: Sun 8. Jan 2023, 22:29
Location: Universe
Contact:

Re: php fatal error when trying to upgrade from ubuntu 22 to 24

Post by nobody »

Tobi wrote: Fri 13. Dec 2024, 19:44 Are there any errors in the syslog?
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.
based on this all seems to be working fine.
Thanks for the answer!
Take care
Post Reply