Backup error: Can't use string ("") as a HASH ref

Created:

2016-11-16 12:58:57 UTC

Modified:

2017-08-08 13:12:32 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Backup error: Can't use string ("") as a HASH ref

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Following error appears during back up of subscription:

Database xxx, type mysql is skipped from backup due to error: Can't use string ("") as a HASH ref while "strict refs" in use at /usr/local/psa/PMM/agents/PleskX/DAL.pm line 924.

Cause

This is a software issue with internal ID #PPPM-3245 . Database password includes special characters that will not match the acl rule set by Plesk. The issue is fixed in Plesk 12.5 MU1

Resolution

Install the latest updates using Plesk autoinstaller.

For Plesk 12.0:

Comment the following lines in /usr/local/psa/PMM/agents/PleskX/DAL.pm :

#if ( $dbUserInfo->{'id'} eq $userHash->{'id'} ) {
# $userHash->{'acl'} = $dbUserInfo->{'acl'}[0]->{'host'};
# }
Have more questions? Submit a request
Please sign in to leave a comment.