• 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.

Issue Backup error: Locale_Manager::convertToInternalLocale

prudnicki

New Pleskian
Hi
I have a backup problem. It does not work. The problem is due to the locale manager. In the logs I found:

Code:
[2020-01-30 13:19:06.426] ERR [panel] Argument 1 passed to Locale_Manager::convertToInternalLocale() must be of the type string, null given, called in /usr/local/psa/admin/plib/functions.php on line 651:
0: /usr/local/psa/admin/plib/Locale/Manager.php:10
    Locale_Manager::convertToInternalLocale(NULL null)
1: /usr/local/psa/admin/plib/functions.php:651
    set_locale(NULL null)
2: /usr/local/psa/admin/plib/backup/cuScheduledBackup.php:191
    cuScheduledBackup->createDump(string '1')
3: /usr/local/psa/admin/plib/backup/cuScheduledBackup.php:54
    cuScheduledBackup->__construct()
4: /usr/local/psa/admin/plib/backup/scheduled_backup.php:18
ERROR: TypeError: Argument 1 passed to Locale_Manager::convertToInternalLocale() must be of the type string, null given, called in /usr/local/psa/admin/plib/functions.php on line 651 (Manager.php:10)

Of course I tried to use plesk repair utility but without success.

Did you have similar issues? Can you help? Thanks in advanced!
 
Make sure that locale is set to null for the backup owner:

# plesk db "select pname,login,country,locale from clients;"
+---------------+----------+---------+--------+
| pname | login | country | locale |
+---------------+----------+---------+--------+
| Administrator | admin | US | null |
| John Doe | john.doe | US | null |
+---------------+----------+---------+--------+

Note: The owner of server-wide backups in Tools & Settings > Backup Manager is admin.

As a possible workaround, run the following command where en-US is the locale for the user:

MariaDB [psa]> update clients set locale='en-US' where login='admin';

Note: All available locales can be found with the command:

# plesk bin server_pref --locales-list
 
Hi Igor!
My default language is: en-US: ENGLISH (United States

In psa db > clients I already had locale='en-US'. It doesn't work. I also tried with null and empty string. Both fails.
Is there any other way to debug / solve that?

Important: I still can create backup manually from Plesk panel. The problem only occurs if the backup is scheduled and started automatically.

Thanks!
 
I don't know it it's the same problem, but NO BACKUP in ALL our server since last update!!!!
1581080376575.png

Please plesk team, these bug are VERY criticals!!!!
 
Well, in our case, IMPOSSIBLE TO MAKE ANY BACKUP!!! Full or incremental, it's fail on all our server, please, need an solution ASAP! it's not possible to get so heavy bug with update release!
 
Back
Top