• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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