Cryptshare doesn't start after rollback to previous version

Cryptshare doesn't start after rollback to previous version

Applies to:

All versions of Cryptshare Server

Symptom:

After rolling back to a previous version the Cryptshare Server is not available.

Cause:

The Java installation folder has not been restored.

Solution:

There are three approaches to restore Java:

  1. Java backup is stored in the Cryptshare installation folder 
  2. Java backup is in the pre-update backup
  3. Java backup is not contained in the pre-update backup

1. Java backup is stored in the Cryptshare installation folder

How to restore Java from direct backup
# run the following command, to check the installation folder
ls -lh /opt/cryptshare-3
27066585.png

# run the following command, to restore the Java installation
unzip -q /opt/cryptshare-3/jre8Backup.zip -d /opt/cryptshare-3/
mv /opt/cryptshare-3/jre8_BAK/ /opt/cryptshare-3/jre8
ln -s /opt/cryptshare-3/jre8 /opt/cryptshare-3/jre8_x64
chmod 755 /opt/cryptshare-3/jre8/bin/java
27066586.png

# run the following command, to start Cryptshare service
systemctl start cryptshare (use rccryptshare start up to and including v.7.1)

2. Java backup is in the pre-update backup

How to restore Java from pre-update backup:
# unpack the pre-update backup to the temp folder
mkdir /tmp/pre-update
unzip -q /opt/cryptshare-3/backup/pre_update_<DATE>_

3. Java backup is not contained in the pre-update backup

How to restore Java from original installation folder:
# download and unpack the corresponding package to the temp folder
mkdir /tmp/pre-update
wget http://update.cryptshare.com/data/server-3.11.2.0.zip
unzip -q server-3.11.2.0.zip -d /tmp/pre-update
# run the following commands, to restore the Java installation
cp -r /tmp/pre-update/jre/linux/x86/ /opt/cryptshare-3/jre8
ln -s /opt/cryptshare-3/jre8 /opt/cryptshare-3/jre8_x64
chmod 755 /opt/cryptshare-3/jre8/bin/java
rm -rf /tmp/pre-update
# run the following command, to start Cryptshare service
systemctl start cryptshare (use rccryptshare start up to and including v.7.1)
    • 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 ...
    • Cryptshare service is not starting on Linux server

      Applies to: Cryptshare Server version 4.0.0.0 to 4.1.3.0 Symptom: The Cryptshare Service doesn't start after updating Cryptshare Server from version 4.0.0.0 to 4.1.x.x . Cause: The upgrade process cannot adjust the custom configuration during the ...
    • Providing Cryptshare database backup to Cryptshare Support

      Applies to: Cryptshare Server version 3.12 and higher Purpose: This article describes how to create a Cryptshare database backup and provide it to Cryptshare Support via Cryptshare. Solution: Proceed as follows to create a database backup: 1. Login ...
    • The Cryptshare Server becomes unresponsive under high load.

      Applies to: All versions of Cryptshare Server Symptom: The Cryptshare Server responds slowly when it is used by a large amount of users at a time. Cause: The Cryptshare Server tries to respond to all requests but cannot answer the requests faster ...
    • Cryptshare for Notes Documentation

      Cryptshare for Notes Documentation