Page 1 of 1

Upgrade Ubuntu 16.04 LTS auf Ubuntu 18.04 LTS - stecke fest und nichts geht mehr

Posted: Sat 4. May 2019, 17:03
by c-blox
Hallo,

habe versucht, das Upgrade wie hier beschrieben durchzuführen:
https://www.keyhelp.de/news/upgrade-ubu ... ubuntu-18/

Code: Select all

wget --no-check-certificate https://install.keyhelp.de/scripts/keyhelp_ubuntu_upgrade_16_to_18_php7 -O keyhelp_ubuntu_upgrade_16_to_18.php
Hat funktioniert.

Code: Select all

php keyhelp_ubuntu_upgrade_16_to_18.php
Ist durchgelaufen. Am Ende stand ich allerdings einfach vor der Eingabe eines neuen Befehls, obwohl es in Schritt 2) ja an do-release-upgrade übergeben werden sollte.

Also habe ich

Code: Select all

do-release-upgrade
manuell angestoßen. Da kam dann die Meldung, dass ich mein System neu starten solle, da ein Paket dies fordere. Dann habe ich mit

Code: Select all

reboot
den Server neu gestartet. Wieder verbunden und wieder

Code: Select all

do-release-upgrade
angestoßen, worauf folgende Meldung kommt:

Code: Select all

root@host:~# do-release-upgrade
Checking for a new Ubuntu release
Hole:1 Upgrade tool signature [819 B]
Hole:2 Upgrade tool [1.239 kB]
Es wurden 1.240 kB in 0 s geholt (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
Can not run the upgrade
This usually is caused by a system where /tmp is mounted noexec. Please remount without noexec and run the upgrade again.
Dann habe ich nochmal

Code: Select all

php keyhelp_ubuntu_upgrade_16_to_18.php
versucht, aber der gibt nur das aus:

Code: Select all

root@host:~# php keyhelp_ubuntu_upgrade_16_to_18.php
PHP Fatal error:
The file /root/keyhelp_ubuntu_upgrade_16_to_18.php was encoded with the Encoder for PHP 7.1 and can only run on PHP 7.1 or later.
If you are the administrator of this site then please upgrade to PHP 7.1 or later and install the corresponding ionCube Loader. in Unknown on line 0
Jetzt stecke ich hier fest und komme nicht weiter. Kann weder Keyhelp noch Webseiten aufrufen, bekomme überall 500er-Fehler.

Was kann ich tun?

Danke und Grüße

Re: Upgrade Ubuntu 16.04 LTS auf Ubuntu 18.04 LTS - stecke fest und nichts geht mehr

Posted: Sat 4. May 2019, 17:21
by Blackmoon
Wenn du mich fragst, war dein Upgrade von von 16.04.x auf 18.04.x fehlerhaft.
Can not run the upgrade
This usually is caused by a system where /tmp is mounted noexec. Please remount without noexec and run the upgrade again.
Du hast /tmp den Schreibzugriff entzogen. Dieser ist aber für das Upgrade auf jeden Fall notwendig. Schreibzugriff wieder temporär einräumen und nochmals das Upgrade durchführen. Dann klappt's auch mit KeyHelp. ;-)

/Dani

Re: Upgrade Ubuntu 16.04 LTS auf Ubuntu 18.04 LTS - stecke fest und nichts geht mehr  [GELÖST]

Posted: Sat 4. May 2019, 17:58
by c-blox
Ok, danke für den Tipp. Wollte nur mal nachhaken, weil ich da seit der Ersteinrichtung eigentlich nicht dran war.

Hab jetzt

Code: Select all

mount -o remount,exec /tmp
gemacht, danach lief alles durch.