Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

openITCOCKPIT 4 has no support to run on Debian Stretch. By upgrading to openITCOCKPIT 4 a distribution upgrade to Debian Buster (10) will be done automatically!


Prepare System

If you are using Ubuntu Xenial you need to Remove the lxd Package which may cause errors during the upgrade to Ubuntu Bionic and openITCOCKPIT v4.

Code Block
titleUbuntu Xenial
#only run on Ubuntu Xenial!
apt-get remove lxd


Step 1 - Update operating system

...

During the upgrade process all mysql tables get converted from UTF8 to UTF8mb4. This process requires a fair amount of disk space so please don't ignore these errors.

Upgrade from Ubuntu Xenial 16.04 to Bionic 18.04 and openITCOCKPIT v4 failed due to lxd package.

if the upgrade from Ubuntu Xenial fails due to the lxd package and this error:

Code Block
Old bridge configuration detected in /etc/default/lxd-bridge, upgrading
Unsetting deprecated profile options
Error: unknown command "profile" for "lxc"

Did you mean this?
	Profil

Run 'lxc --help' for usage.
dpkg: error processing package lxd (--configure):
 installed lxd package post-installation script subprocess returned error exit status 1

....

Fehler traten auf beim Bearbeiten von:
 lxd
E: Sub-process /usr/bin/dpkg returned an error code (1)

The frontend of openitcockpit is not visible in the browser

you need to execute the following commands:

Code Block
apt-get install -f
apt-get remove lxd
apt-get autoremove
reboot

#after reboot you need to trigger the UPGRADE script from itcockpit which was not triggered during the upgrade
/opt/openitc/frontend/bin/scripts/UPGRADE.sh

after that, the Frontend should be visible and the distribution upgrade has finished.

I still use Ubuntu Trusty or Debian Jessie

...