Updating openSUSE manually

Updating openSUSE manually


Applies To

Cryptshare Appliance with openSUSE 15.3 to 15.5

Problem

Operating system is not up to date and may have unpatched security vulnerabilities.

Cause

No regular OS updates made via the Cryptshare Server Admin Interface when these were available.

Solution/Workaround

Backup of the entire system
It is highly recommended to make a full backup/snapshot of the server in order to be able to restore the state before the first update steps were made.
Step 1: Updating the existing operating system to the latest version

- log in as root on the appliance

- stop Cryptshare service with the command

systemctl stop cryptshare (use rccryptshare stop up to and including v.7.1)

- run the following commands, to install current patches

zypper refresh

zypper up -t patch

- execute the following command as often as necessary until you receive the message “Nothing to do.”

zypper up -t patch


Nothing to do..jpg


Step 2: Manually OS upgrade to openSUSE-15.6

- run the following commands, to add new repositories

wget https://update.cryptshare.com/cryptshare/scripts/addRepo-15.6.sh

sh addRepo-15.6.sh

- run the following command, to perform the OS upgrade

zypper dup --download-in-advance

- wait for the process is finishing

- run the commands

sync

reboot

- after rebooting log in again as root

- check the OS version with

cat /etc/os-release

The following output should be shown:

Os-release output.png

- run the following command, to reset the OS update notifications

rm /opt/cryptshare-3/CS_EXECUTION_SERVICE_INDEX


Step 3: Starting Freshclam Timer and ClamAV Service

Since openSUSE 15.6, freshclam is controlled through the freshclam.timer service. After the update, you need to start and enable the service once:

systemctl start freshclam.timer

systemctl enable freshclam.timer

systemctl start clamd

systemctl enable clamd

Freshclam will then be started at the time interval specified in /etc/freshclam.conf (every two hours by default).

    • Related Articles

    • Updating Cryptshare manually

      Applies to: Cryptshare Server from version 4.2.x Purpose: This is an example of the possibilities for updating Cryptshare manually. Note that manual updates should only be done if a regular update is not possible! Please make sure you have a working ...
    • Appliance is not available after upgrading to openSUSE 13.2

      Applies to: Cryptshare Appliance with openSUSE 13.2 Symptom: After updating the Operating System of the Cryptshare Appliance from openSUSE 13.1 to 13.2 the Server cannot be reached via the network any longer. Cause: The appropriate network route is ...
    • Minimum Hardware Requirements for openSUSE Leap 16.0

      Inhaltsverzeichnis 1 Applies To 2 Problem 3 Cause 4 Solution/Workaround Applies To OpenSUSE upgrade performing from version Leap 15.6 to Leap 16.0. Problem Systems that do not meet the minimum hardware requirements for openSUSE Leap 16.0 may fail to ...
    • SSH Root Access Restriction openSUSE Leap 16.0

      Inhaltsverzeichnis 1 Applies To 2 Problem 3 Cause 4 Solution/Workaround Applies To OpenSUSE upgrade performing from version Leap 15.6 to Leap 16.0. Problem After upgrading to openSUSE Leap 16.0, SSH root login with a password no longer works. ...
    • Upgrading the distribution from openSUSE Leap 15.6 to 16.0

      Users of Cryptshare Appliance version 7.7.0 should be aware of several critical changes introduced alongside this release. Version 7.7.0 includes the ability to upgrade the underlying operating system from openSUSE Leap 15.6 to openSUSE Leap 16.0. As ...