Backup failed: Can't use string ("") as a HASH ref while "strict refs"

Created:

2016-12-18 06:54:51 UTC

Modified:

2017-08-08 13:39:26 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Backup failed: Can't use string ("") as a HASH ref while "strict refs"

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Backup creation failed with the following error message:

Error: server "server"
Runtime error: The check dump failed with code '1'. The dump can contain invalid data! at /opt/psa/admin/bin/plesk_agent_manager line 1205.
Error: server "server"
The dump have been invalidated by check-dump operation
Error: server "server"
Unable to check dump: Could not check dump. Invalid xml response: Error: the argument for option '--specification' should follow immediately after the equal sign
Warning: domain "domain.tld"
Domain domain.tld is skipped from backup due to error: Can't use string ("") as a HASH ref while "strict refs" in use at /opt/psa/PMM/agents/PleskX/DAL.pm line 967.

The query below return non-empty list:

mysql> select dom.name as domain_name, d.login, u.user,d.dom_id from db_users d left join mysql.user u ON u.user=d.login left join domains dom ON d.dom_id=dom.id where u.user is null;

Cause

Plesk product bug #PPPM-4624

Resolution

Restore the user in mysql.user table:

# plesk repair mysql
Have more questions? Submit a request
Please sign in to leave a comment.