Failed to prepare update: Unterschied zwischen den Versionen

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „== Applies To == {{NoteBox|title=|content=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 == Solu…“)
 
Keine Bearbeitungszusammenfassung
 
(2 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 6: Zeile 6:
ERROR UpdateController - Failed to prepare update.
ERROR UpdateController - Failed to prepare update.
com.cryptshare.server.core.update.UpdateException: Failed to prepare repository data for update!
com.cryptshare.server.core.update.UpdateException: Failed to prepare repository data for update!
...
...
== Cause ==
== Cause ==
Caused by: java.nio.file.AccessDeniedException: ./tmp/update/jre/linux/legal/jdk.management.agent/ADDITIONAL_LICENSE_INFO
Caused by: java.nio.file.AccessDeniedException: ./tmp/update/jre/linux/legal/jdk.management.agent/ADDITIONAL_LICENSE_INFO


...
== Solution==
== Solution==
Manually clean the /opt/cryptshare-3/tmp/ directory
Manually clean the /opt/cryptshare-3/tmp/ directory
Zeile 15: Zeile 17:
'''rm -r /opt/cryptshare-3/tmp/update/'''
'''rm -r /opt/cryptshare-3/tmp/update/'''


Restart the Cryptshare Service and start the update again.
Restart the Cryptshare Service and start the update again


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

Aktuelle Version vom 10. April 2025, 13:22 Uhr

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)