• 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 Error using git pull with an additional user

vruiz

New Pleskian
Server operating system version
AlmaLinux 8.9
Plesk version and microupdate number
18.0.59
We have a client using the git extension to pull from a remote reposity into his hosting.

It works perfecly from the client user but when we try from a additional user the async task stucks, never starts and this error appears in the panel.log:

[2024-04-16 13:58:14.399] 186453:661e67d661806 ERR [panel] Locale_Manager::convertToInternalLocale(): Argument #1 ($locale) must be of type string, null given, called in /usr/local/psa/admin/plib/functions.php on line 526:
0: /usr/local/psa/admin/plib/Locale/Manager.php:13
Locale_Manager::convertToInternalLocale(NULL null)
1: /usr/local/psa/admin/plib/functions.php:526
set_locale(NULL null)
2: /usr/local/psa/admin/plib/Task/Async/Executor.php:46
Task_Async_Executor->execute()
3: /usr/local/psa/admin/plib/scripts/task-async-executor.php:6
[2024-04-16 13:58:14.400] 186453:661e67d661806 ERR [panel] Locale_Manager::convertToInternalLocale(): Argument #1 ($locale) must be of type string, null given, called in /usr/local/psa/admin/plib/functions.php on line 526

Anyone has encountered this problem?

Thanks.
 
What steps are involved when you try to pull with an additional user?
 
Last edited:
What steps are involved when you try to pull from an additional user?
Hello,

I just found the problem. Somehow the client managed to create a user without any mail account assigned (neither internal or external) and this was causing the error.

Adding an external mail account to the used fixed the problem.

Thanks
 
Back
Top