Skip to main content

Upgrade Ubuntu 20.04 to 22.04

Please be sure to follow the notes on the Operating system upgrade page.

The additionally installable PHP interpreters are available under Ubuntu 22.04 from PHP version 5.6.
If older PHP interpreters are in use on your system, you must first change the affected domains to a higher version.

Instruction

  1. Download the operating system upgrade script with the following command.

    wget --no-check-certificate https://install.keyhelp.de/scripts/keyhelp_ubuntu_upgrade_20_to_22_php71 -O keyhelp_ubuntu_upgrade_20_to_22.php

  2. Run the script with the following command.

    php keyhelp_ubuntu_upgrade_20_to_22.php

  3. You are now in the start screen of the application.
    After pressing [ENTER], the script will perform all necessary tasks in preparation for the upgrade. Additional restarts may be required. Perform these when prompted.

  4. The program flow is passed to the Debian application do-release-upgrade. Please follow the instructions of this program.
    On questions about Should system config files be overwritten?, be sure to answer Keep the local version currently installed.

    After running the application, the system will prompt for a reboot, perform it.

  5. After the restart, execute the following command.

    phpenmod ioncube


  6. Then start the script again with this command.


    php keyhelp_ubuntu_upgrade_20_to_22.php


  7. Confirm the continuation of the upgrade with [ENTER]. The required configuration files will then be updated. Confirm the restart of the system when finished. The upgrade is now complete.

Congratulations, you are now using KeyHelp with Ubuntu 22.04.