Applicable to:
- Plesk Obsidian for Linux
Symptoms
-
On Acronis extension, unable to click on a backup, with the error:
PLESK_ERROR: An error has occurred. Please try again later or contact your administrator.
-
With debug enabled, panel.ini shows the following error:
CONFIG_TEXT: [25-May-2024 16:35:08 Europe/Madrid] PHP Warning: file_get_contents(/mnt/Acronis/c999dec7-10000000002_0_17000000000_9/opt/psa/var/modules/acronis-backup/metadata.json): Failed to open stream: No such file or directory in /opt/psa/admin/plib/modules/acronis-backup/library/Common/Lib/Helpers/Utils.php on line 28
[2024-05-25 16:35:08.024] 3155563:6651f71be80c8 ERR [extension/acronis-backup] Unable to read or parse metadata: Can not get content of the "/mnt/Acronis/c999dec7-10000000002_0_17000000000_9/opt/psa/var/modules/acronis-backup/metadata.json"
Cause
Acronis internal bug ABR-384180.
Resolution
-
Connect to the server via SSH
-
Go to the folder where file needs to be patched:
# cd /var/lib/Acronis/AgentCommData/
-
Make a backup of the file that's about to be patched:
# cp -a post-capture-data.sh{,.bak}
-
Edit file
post-capture-data.sh
and comment lines 30 and 31:CONFIG_TEXT: echo "$(date -Ins) - Removing file with metadata ..." >> "$LOGFILE"
plesk bin extension --exec $EXTENSION_ID remove-meta.phpIt should look like this:
CONFIG_TEXT: #echo "$(date -Ins) - Removing file with metadata ..." >> "$LOGFILE"
#plesk bin extension --exec $EXTENSION_ID remove-meta.php' > diff.patch
Comments
0 comments
Please sign in to leave a comment.