Upgrade stuck in "Installing requirements..."

Discussions about the installation of KeyHelp.
Post Reply
curiousclumsy
Posts: 15
Joined: Tue 19. Jan 2021, 09:32

Upgrade stuck in "Installing requirements..."

Post by curiousclumsy »

Hi,

I have updated a server today that didn't had php 8.1 installed, only php 7.4 and 8.2.
After the first upgrade from Ubuntu 20 to 22 I could not proceed because the server didn't had php8.1 installed.

I think that the upgrade_operating_system.sh failed to check that before allowing the upgrade to continue, because when I tried to run it complained that ioncube could only run with php 8.1.

I have managed to fix by manually installing php8.1 and all dependencies - the script is now running.
wget --no-check-certificate https://install.keyhelp.de/scripts/upgr ... _system.sh -O upgrade_operating_system.sh && bash upgrade_operating_system.sh
--2025-09-11 19:56:34-- 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: 10073 (9.8K) [text/x-sh]
Saving to: ‘upgrade_operating_system.sh’

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

2025-09-11 19:56:35 (79.3 MB/s) - ‘upgrade_operating_system.sh’ saved [10073/10073]

You are about to upgrade the operating system of your KeyHelp server.
Running system checks...
Run upgrade script...
> Installing requirements...
> Installing requirements...
> Installing requirements...
> Installing requirements...
> Installing requirements...
> Installing requirements...
> Installing requirements...
> Installing requirements...
> Installing requirements...
User avatar
Alexander
Keyweb AG
Posts: 4566
Joined: Wed 20. Jan 2016, 02:23

Re: Upgrade stuck in "Installing requirements..."

Post by Alexander »

Hello
curiousclumsy wrote: Thu 11. Sep 2025, 21:07 I have updated a server today that didn't had php 8.1 installed, only php 7.4 and 8.2.
After the first upgrade from Ubuntu 20 to 22 I could not proceed because the server didn't had php8.1 installed.
A Ubuntu 20 KeyHelp server should never have 8.1 or 8.2 installed. There should only be the default PHP version for Ubuntu 20, which is PHP 7.4. If you need other PHP versions, use "Configuration -> PHP-Interpreters".

The upgrade script will handle the transition from the old default PHP version to the new default. In your case: Ubuntu 20 with PHP 7.4 -> Ubuntu 22 with PHP 8.1

Please make sure you have read the notice when first logging into KeyHelp after installation:
"Never change the default PHP version of your operating system"
screen.png
Because you have altered the default PHP version of your system, you encounter the issues you have faced. That's why there is this note in KeyHelp ;).

First, uninstall all PHP versions, which are not the default of the current operation system version. Only use the PHP version from Ubuntu sources, do not use the ones from ondrej (or others).
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