How to Install Odoo 9 on Ubuntu - Step by Step tutorial

odoo 9 install, Odoo installation on version 9, odoo version 9 installation on ubuntu odoo 9 install, Odoo installation on version 9, odoo version 9 installation on ubuntu Globalteckz - Mumbai - India
Published in Blogs

In this tutorial we will showcase how to install Odoo version 9 on your Ubuntu Server/Machine. As we all know that Odoo version 9 alpha has been released and soon the official launch of Odoo 9 will be announced in the forth quarter this year. This guide for installation will work on Ubuntu version 12.04 till 14.4. We have also added the FAQ section incase you face any issues you can email us on This email address is being protected from spambots. You need JavaScript enabled to view it.

You can download Odoo version 9 by clicking on these links for Download odoo 9 for Linux or for Windows

Required Packages:

Before installation of odoo there are few required packages list that should be installed on linux/Ubuntu distribution before running Odoo Server.

Just copy and Paste the packages in the terminal

globalteckz@globalteckz:~$ apt-get install python-dateutil python-feedparser python-gdata python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi

globalteckz@globalteckz:~$ apt-get install python-dateutil python-feedparser

Some Other Required Packages

sudo apt-get install python-pyPdf python-docutils python-jinja2 python-psutil python-unittest2 python-decorator

Postgresql Installation:

To install the postgresql(latest 9.3 version) on linux/Ubuntu machine use the following steps stated below.

1. globalteckz@globalteckz:~$ sudo apt-get install postgresql-9.3

once you have successfully install postgres on the machine your next steps should be to create a super user 'openerp' and assign role SUPERUSER to that user. You can do so from the following steps

2.globalteckz@globalteckz:~$ sudo su postgres

[sudo] password for globalteckz: ENTER SYSTEM PASSWORD HERE

postgres@globalteckz:/home/globalteckz$ createuser openerp

Shall the new role be a superuser? (y/n) y

Now check the list of tables created in PostgreSQL using following command

postgres@globalteckz:/home/globalteckz$ psql -l

List of Databases

    Name     |    Owner    | Encoding | Collate | Ctype |   Access privileges  

-------------+-------------+----------+---------+-------+-----------------------

 postgres    | postgres    | UTF8     | en_IN   | en_IN |

 template0   | postgres    | UTF8     | en_IN   | en_IN | =c/postgres          +

             |             |          |         |       | postgres=CTc/postgres

 template1   | postgres    | UTF8     | en_IN   | en_IN | =c/postgres          +

             |             |          |         |       | postgres=CTc/postgres

(3 rows)

Here you can find the table template1, If Yes then run the following command to use this table:

postgres@globalteckz:/home/globalteckz$  psql template1

psql (9.3.9)

Type "help" for help.

template1=# alter role openerp with password 'openerp';

ALTER ROLE

You are done here with the postgresql installation for odoo,  For a graphical user interface of postgresql, use the following command:

globalteckz@globalteckz:~$ sudo apt-get install pgadmin3

To access your database using pgAdmin III, you must configure the database connection as shown in the following figure:

You can now start OpenERP Server. You will probably need to modify the OpenERP configuration file according to your needs which is normally located in ~/.openerprc. You will get it when you run odoo server with the -s option into your /home directory.

globalteckz@globalteckz:~$ ./openerp-server –addons-path=addons

globalteckz@globalteckz:~$ ./openerp-server -c <your configuration file address>

Frequently Asked Question:

Common problems found on running Odoo 9 

Here are few common errors those occurred when an end user run the odoo server for the first time,

Globalteckz is trying to help you out to get it off those issues.

1. Role 'xyz' does not found

eg: role 'globalteckz' does not found

Solution:

  • To overcome this you need to create an user in the postgres with the name 'globalteckz' Or name appeared in place of 'XYZ' in your terminal

2. Could not execute command 'lessc'

Solution:

  • This problem generally occurred due to lessc version, to resolve this issue you can upgrade the lessc version with the latest one (2.5.1), Try the following command to update the less version.
  1. Install npm with sudo apt-get install npm
  2. check the lessc list with ‘npm list’ Or ‘npm list -g’ use of -g is for global purpose
  3. Uninstall lessc with command ‘npm uninstall less’ Or ‘npm uninstall less -g’
  4. Reinstall the lessc with the command 'npm install less' Or 'npm install -g less'
  5. Install Node Less by this command : ‘apt-get install node-less’

Now restart the odoo server and check the lessc error, it should gone for sure, If still you face this problem try to remove the browser's cache and restart the browser and type your IP OR “Server URL” Or localhost:8069 (if running odoo on local machine. Here 8069 is the default port used by odoo server, You can change it from the server with the xmlrpc-port=XXXX <Your choice of port>) to run the Odoo Server.

We hope with the above steps will help you to do Odoo installation successfully - We are also preparing a step by step tutorials on how to install Odoo on Windows machine. Incase you face any issues feel free to contact us on This email address is being protected from spambots. You need JavaScript enabled to view it.

Our Articles related to Odoo