Installing Odoo in DigitalOcean

July 20, 2015 3.2k views
PostgreSQL Applications Ubuntu

Hello,

I'm installing Odoo 8 in an Ubuntu server 14.04 following this tutorial https://chavamm.wordpress.com/2014/10/11/instalacion-de-openerp-7-0-y-odoo-8-0-en-linux-ubuntu-server-14-04-lts/ if I do it in my own computer it works well, but trying to install it in my server in DigitalOcean when I do this command:

"sudo nano /etc/postgresql/9.3/main/pg_hba.conf"

It sent me like if that folder not exists, and if I check the location it not exists, there are no folder named postgresql, there's only one named postgresql-common but it's not the same.

Also when I do the command "psql --version" it sent to me the message:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LCALL = (unset),
LC
PAPER = "esMX.UTF-8",
LC
ADDRESS = "esMX.UTF-8",
LC
MONETARY = "esMX.UTF-8",
LC
NUMERIC = "esMX.UTF-8",
LC
TELEPHONE = "esMX.UTF-8",
LC
IDENTIFICATION = "esMX.UTF-8",
LC
MEASUREMENT = "esMX.UTF-8",
LC
TIME = "esMX.UTF-8",
LC
NAME = "esMX.UTF-8",
LANG = "en
US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
psql (PostgreSQL) 9.3.9

Does anybody knows what is happening ?

1 Answer

Run locale-gen en_US en_US.UTF-8 (for your desired locales) and dpkg-reconfigure locales

Have another answer? Share your knowledge.