• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Resolved Backup fails with error in HelpFuncs.pm

barking

New Pleskian
Plesk 17.8.11 on Debian 9.13

Trying to run full server backup in preparation for upgrading, but it fails (both from CLI and web UI) with output like this for every domain:

Code:
Warning: domain "example.com"
Mail System on domain example.com is skipped from backup due to error: Can't use string ("") as an ARRAY ref while "strict refs" in use at /opt/psa/PMM/agents/shared/HelpFuncs.pm line 714.
Warning: domain "example.com"
Not all the data was backed up into /var/lib/psa/dumps/domains/example.com successfully. Total space: 100.00 GB; Available space: 52.00 GB; Mounted on: /. Can't use string ("") as an ARRAY ref while "strict refs" in use at /opt/psa/PMM/agents/shared/HelpFuncs.pm line 714.
Warning: hosting "example.com"
Not all the data was backed up into /var/lib/psa/dumps/domains/example.com successfully. Total space: 100.00 GB; Available space: 52.00 GB; Mounted on: /. Can't use string ("") as an ARRAY ref while "strict refs" in use at /opt/psa/PMM/agents/shared/HelpFuncs.pm line 714.
Warning: hosting "example.com"
Not all the data was backed up into /var/lib/psa/dumps/domains/example.com successfully. Total space: 100.00 GB; Available space: 52.00 GB; Mounted on: /. Can't use string ("") as an ARRAY ref while "strict refs" in use at /opt/psa/PMM/agents/shared/HelpFuncs.pm line 714.
Warning: hosting "example.com"
Not all the data was backed up into /var/lib/psa/dumps/domains/example.com successfully. Total space: 100.00 GB; Available space: 52.00 GB; Mounted on: /. Can't use string ("") as an ARRAY ref while "strict refs" in use at /opt/psa/PMM/agents/shared/HelpFuncs.pm line 714.
Warning: hosting "example.com"
Not all the data was backed up into /var/lib/psa/dumps/domains/example.com successfully. Total space: 100.00 GB; Available space: 52.00 GB; Mounted on: /. Can't use string ("") as an ARRAY ref while "strict refs" in use at /opt/psa/PMM/agents/shared/HelpFuncs.pm line 714.
Warning: hosting "example.com"
Not all the data was backed up into /var/lib/psa/dumps/domains/example.com successfully. Total space: 100.00 GB; Available space: 52.00 GB; Mounted on: /. Can't use string ("") as an ARRAY ref while "strict refs" in use at /opt/psa/PMM/agents/shared/HelpFuncs.pm line 714.
Warning: hosting "example.com"
Not all the data was backed up into /var/lib/psa/dumps/domains/example.com successfully. Total space: 100.00 GB; Available space: 52.00 GB; Mounted on: /. Can't use string ("") as an ARRAY ref while "strict refs" in use at /opt/psa/PMM/agents/shared/HelpFuncs.pm line 714.
 
Hi @barking, could you please check where your tar program is located in your system? Could you then please verify that the TAR_BIN definition in
in /etc/psa/psa.conf points to that tar binary?
 
Could you then please verify that the TAR_BIN definition in /etc/psa/psa.conf points to that tar binary?

This resolved it. I found that psa.conf contained:

Code:
TAR_BIN /usr/lib/plesk-9.0/sw-tar

However there was nothing with a name containing "tar" under that path anywhere. So I changed it to:

Code:
TAR_BIN /bin/tar

Thanks!
 
Back
Top