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 ...
    • File pre-processing errors with ClamAV

      Inhaltsverzeichnis 1 Applies to: 2 Symptoms: 3 Cause: 4 Solutions: 4.1 Check if minimum system requirements are met 4.2 Check if your distribution is up-to-date 4.3 Restart ClamAV service 4.3.1 ClamAV failed to start with "Can't connect to clamd ...
    • 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 ...