• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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