• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk backup error message

gregconway

Basic Pleskian
Hi,

I'm running half a dozen servers on CentOS 8.

They all use the plesk backup mechanism and have done for years, but today one of the servers has an issue.

I run this command line -

/usr/local/psa/bin/pleskbackup server --output-file=/path/to/outputfile -v

Today I get this error -

Invalid input parameters in '--make-dump' command:
Error 1824: Element 'backup-options', attribute 'compression-level': [facet 'enumeration'] The value 'fast' is not an element of the set {'do-not-compress', 'standard'}.

Element 'backup-options', attribute 'compression-level': 'fast' is not a valid value of the local atomic type.

Any ideas what is going wrong here, and what I can do to fix it?

Thanks,

Greg.
 
Looks like the new option values are missing in the code. Have you completed the update to 18.0.40 without any errors?
 
Aha! That might be this -


Preparing Your System for Product Installation
===============================================================================

There are 0 packages required for the product to function properly which
were not found in your system.

There are 1 packages that need to be upgraded
in order to install the product.


Available actions:
(F) Go forward
(B) Go back
(Q) Cancel installation
(S) Show the list of packages

Select an action [F/b/q/s]:
Installing packages
===> Cumulative Plesk database upgrade (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
===> Cumulative upgrade of Plesk database (revertable stage) has been completed.
===> Plesk database scheme upgrade has been started.
Applying migrations from: /usr/local/psa/bootstrapper/pp18.0.40-bootstrapper/migrations/
===> Plesk database scheme upgrade has been completed.
Last metadata expiration check: 0:00:04 ago on Mon Dec 6 11:39:56 2021.
===> Cumulative Plesk upgrade (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
===> Cumulative upgrade of Plesk (final stage) has been completed.
Enabling dnf perl module to suppress warnings on dnf perl-DBD-MySQL module dependency
Launching component and product checkers...
Downloading file report-update: 100% was finished.
Downloading file pool/PSA_18.0.40_7609/examiners/py_launcher.sh: 100% was finished.

The changes were applied successfully.


It keeps telling me I need a Plesk update
I install it as per the above. Says it's installed.
But then it says it needs the update again!


Any ideas how I can clear this?

Thanks,

Greg.
 
You can try to run
# plesk installer --all-versions
and then pick the latest version from that list. It should then upgrade to that version. Does it?
 
Thanks for the response.

The only version it offered was 18.0.40 (currently installed)
I went with that.
Tried again... still says it needs the update!

Any further ideas?

Thanks,

Greg.
 
You'll need to ask the official Plesk support for this. Please report back here what the cause was and how you were able to solve it with the help of Plesk staff.
 
Well I fixed it, but not sure I would recommend this approach!

I removed Plesk -

plesk installer --remove-everything

I had problems putting it back. One of my repos was disabled. Once I'd worked this out I was able to put it back -

wget https://autoinstall.plesk.com/plesk-installer
chmod +x plesk-installer
./plesk-installer

Then restored plesk from a backup -

/usr/local/psa/bin/pleskrestore --restore /path/to/backup/file -level server -ignore-sign

(No emails on this server and it was a recent backup)

Searched for config files overwritten by the reinstall -

find / -name *.rpmsave | xargs ls -la

I swapped a couple of files back.

Everything appears to be back except my custom logo!
Backups now working again! :)

Thanks for your help!

Greg.
 
Back
Top