Database creation error: encoding "UTF8" does not match locale "en_US" DETAIL: The chosen LC_CTYPE setting requires encoding "LATIN1".
i'm facing the problem when create database using odoo13
it works fine with odoo10
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Database creation error: encoding "UTF8" does not match locale "en_US" DETAIL: The chosen LC_CTYPE setting requires encoding "LATIN1".
i'm facing the problem when create database using odoo13
it works fine with odoo10
1- Uninstall postgres using:
sudo apt-get --purge remove postgresql postgresql-*
dpkg -l | grep postgres
sudo apt-get --purge remove postgresql postgresql-doc postgresql-common
2- change locales/rebooted before running salt
sudo update-locale LANG=en_US.utf8
sudo update-locale LANGUAGE=en_US.utf8
reboot
3- reinstall sql and create user using:
sudo apt install postgresql
sudo su - postgres -c "createuser -s odoo"
Hi Mostafa:
Looks like the system locale has not been configured for UTF-8. The following link provides instructions on how to configure the system locale on Debian 9. You will need to do something similar based on the operating system of your server.
https://www.rosehosting.com/blog/configure-system-locale-on-debian-9/
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
févr. 24
|
1644 | ||
|
2
mars 24
|
5541 | ||
|
1
févr. 24
|
2734 | ||
|
0
août 21
|
2677 | ||
|
0
août 21
|
2751 |
Please use a meaningful title next time and provide the necessary information.