Distro Upgrade von Ubuntu 20.04 auf 22.04 schlägt fehl  [GELÖST]

Haben Sie einen Bug entdeckt? Teilen Sie es uns mit.
Locked
Patrick
Posts: 1
Joined: Wed 5. Feb 2025, 20:15

Distro Upgrade von Ubuntu 20.04 auf 22.04 schlägt fehl

Post by Patrick »

Hallo alle zusammen,

Da das Support-Ende von Ubuntu 20.04 naht, wollte ich meine KeyHelp-Installation upgraden.


Ich bin sicher, dass die Ursache des Problems bei KeyHelp liegt
ja

Server-Betriebssystem + Version
Ubuntu 20.04

Eingesetzte Server-Virtualisierung-Technologie
KVM

KeyHelp-Version + Build-Nummer
25.0 (Build 3398)

Problembeschreibung / Fehlermeldungen
Laut Upgrade-Guide soll man das Script herunterladen und ausführen

Code: Select all

wget --no-check-certificate https://install.keyhelp.de/scripts/upgrade_operating_system.sh -O upgrade_operating_system.sh && bash upgrade_operating_system.sh
Erwartetes Ergebnis
Ein Distro-Upgrade :D

Tatsächliches Ergebnis
Das Shell-Script lädt ein PHP-Script nach, welches mit einem Stacktrace beendet wird
Vollständige Fehlermeldung

Code: Select all

root@server01:~# bash upgrade_operating_system.sh
You are about to upgrade the operating system of your KeyHelp server.
Running system checks...
Run upgrade script...

Fatal error: Uncaught Error: Class 'OperatingSystem' not found in /root/keyhelp_ubuntu_upgrade_20_to_22.php:73
Stack trace:
#0 {main}
  thrown in /root/keyhelp_ubuntu_upgrade_20_to_22.php on line 73

Schritte zur Reproduktion
Siehe Problembeschreibung


Zusätzliche Informationen

Code: Select all

root@server01:~# php --version
PHP 7.4.3-4ubuntu2.28 (cli) (built: Dec 13 2024 13:46:46) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader + ionCube24 v14.0.0, Copyright (c) 2002-2024, by ionCube Ltd.
    with SourceGuardian v15.0.2, Copyright (c) 2000-2024, by SourceGuardian Ltd.
    with Zend OPcache v7.4.3-4ubuntu2.28, Copyright (c), by Zend Technologies

Code: Select all

root@server01:~# cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
Ich bitte um Anpassung des Upgrade-Scripts

Gruß
Patrick
User avatar
Tobi
Community Moderator
Posts: 3230
Joined: Thu 5. Jan 2017, 13:24

Re: Distro Upgrade von Ubuntu 20.04 auf 22.04 schlägt fehl  [GELÖST]

Post by Tobi »

Gruß,
Tobi


-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Locked