Failed to prepare update -

Failed to prepare update -


Applies To

In case that you initiate an update from version 6.2.x and encounter problems while preparing the update

Problem

ERROR UpdateController - Failed to prepare update. com.cryptshare.server.core.update.UpdateException: Failed to prepare repository data for update!

...

Cause

Caused by: java.nio.file.AccessDeniedException: ./tmp/update/jre/linux/legal/jdk.management.agent/ADDITIONAL_LICENSE_INFO

...

Solution

Manually clean the /opt/cryptshare-3/tmp/ directory

rm -r /opt/cryptshare-3/tmp/update/

Restart the Cryptshare Service and start the update again

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

    • Related Articles

    • Restart the Cryptshare service during update process -

      Applies To All versions of the Cryptshare Server Problem During the Cryptshare update it is unclear whether the update process is still running. Cause This can happen if the database is large and the update process makes changes to the database after ...
    • Server unreachable after restart or update Web UI Code 500 -

      Inhaltsverzeichnis 1 Applies to: 2 Symptom: 3 Cause: 4 Solution: Applies to: Cryptshare Appliance version 4.7.0 Symptom: If the Cryptshare Appliance does not respond after updating your system or not automatically loads its service after reboot, you ...
    • Installing available OS update is declined because of low disk space

      Applies to Cryptshare Virtual Appliance with openSUSE 42.1 Symptom When checking for an OS update via the Administration Interface, a message says that at least 1 GB of free space is required even though there is more than 1 GB available on the ...
    • Start failed after SSL certificate installation

      Applies to: All versions of Cryptshare Server Symptom: Cryptshare start fails after new keystore is created or SSL certificate is installed to it. Cause: The most common reason is a wrong keystore format or a wrong password. Solution: Please check ...
    • File pre-processing errors with ClamAV

      Applies to: All Linux-based Cryptshare Servers Symptoms: Several users report that after the file upload has finished, the following message is shown: The following warnings may be shown in the logs: WARN yyyy-mm-dd hh:MM:SS FileProcessorService - ...