.. Reminder for header structure:
Niveau 1: ====================
Niveau 2: --------------------
Niveau 3: ++++++++++++++++++++
Niveau 4: """"""""""""""""""""
Niveau 5: ^^^^^^^^^^^^^^^^^^^^
.. meta::
:description: Upgrading the Operating System
:keywords: WAPT, upgrade, upgrading, documentation, os, operating system
.. raw:: html
.. role:: red
.. role:: green
.. _upgrade-waptserver-os:
Upgrading the Operating System
==============================
Upgrading from Debian 9 Stretch to Debian 10 Buster
---------------------------------------------------
In order to upgrade your WAPT server from Stretch to Buster you have to follow
the standard procedure for Debian. You first modify the apt source files
:file:`/etc/apt/sources.list` and :file:`/etc/apt/sources.list.d/wapt.list`,
then start the upgrade.
By default the PostgreSQL is not upgraded to PostgreSQL 11.
One needs to manually request the upgrade.
After upgrading, it is possible to remove the old PostgreSQL 9.6 database.
.. code-block:: bash
sed -i 's/stretch/buster/g' /etc/apt/sources.list
sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/wapt.list
apt update
apt update && apt dist-upgrade
pg_dropcluster --stop 11 main
pg_upgradecluster -v 11 9.6 main
apt remove postgresql*-9.6
apt autoremove
/opt/wapt/waptserver/scripts/postconf.sh
Upgrading from CentOS 7 to CentOS 8
-----------------------------------
WAPT does not yet support CentOS 8. This section will be updated accordingly
when support will be added.