Odoo 8 | Installing And Configuring in Ubuntu Server.

Hello All, Here, I’m going to show you how to install new version of “Odoo” ERP system on Ubuntu server. New version is “Odoo v8” , which contains more reliable features. Now it has been very easy to install and configure. Before installing the Odoo v8 let’s keep a clean installation on Ubuntu latest server version. The Ubuntu latest server version is Ubuntu Server 14.04. In here I have a clean Installation of Ubuntu Server 14.04.

 

Then let’s start the steps to download, install and configure Odoo v8 in the new Ubuntu server.

Follow these steps.

$ wget https://raw.githubusercontent.com/lukebranch/openerp-install-scripts/master/odoo-saas4/ubuntu-14-04/odoo_install.sh
$ sudo sh odoo_install.sh

While the script is running if you are getting errors like in the image-01.

Image-01
Image-01

You can manually download and install the required per-requisites. In here I have shown how to install gcc and python with modules.

$ sudo apt-get install gcc
$ sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi

In here all the per-requisites are downloaded and installed and you will be asked to reboot the machine. After rebooting the machine, try to load the the Odoo home page using http://youripaddress.com:8072 , then you will be appeared page like in image-02.

Image-01
Image-02

Then fill the appropriate fields and create whatever the databases as you wish. After that you can logging to the account that you have already created.

 

Image-02
Image-03

As in the image-02 you can select the database and then enter the logging details into relevant fields as shown in the Image-04.

Image-03
Image-04

Finally you will see the home page of the OpenERP.

40 thoughts on “Odoo 8 | Installing And Configuring in Ubuntu Server.

  1. I dont know, what is going wrong, but after install I get xxx.xxx.xxx.xxx:8072/web/database/manager – empty page with oddo logo

      • Here is server log file:2014-08-14 17:36:54,727 1546 INFO ? openerp: OpenERP version 8.0rc1
        2014-08-14 17:36:54,727 1546 INFO ? openerp: addons paths: [‘/opt/odoo/.local/share/Odoo/addons/8.0′, u’/opt/odoo/odoo-server/addons’, u’/opt/odoo/custom/addons’, ‘/opt/odoo/odoo-server/openerp/addons’]
        2014-08-14 17:36:54,727 1546 INFO ? openerp: database hostname: localhost
        2014-08-14 17:36:54,727 1546 INFO ? openerp: database port: 5432
        2014-08-14 17:36:54,727 1546 INFO ? openerp: database user: odoo
        2014-08-14 17:36:55,266 1546 INFO ? openerp.service.server: Evented Service (longpolling) running on 0.0.0.0:8072
        2014-08-14 17:39:44,880 1546 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus on db postgres
        2014-08-14 17:39:45,933 1546 INFO None openerp.http: Generating nondb routing
        2014-08-15 10:16:38,742 1872 INFO ? openerp: OpenERP version 8.0rc1
        2014-08-15 10:16:38,743 1872 INFO ? openerp: addons paths: [‘/opt/odoo/.local/share/Odoo/addons/8.0′, u’/opt/odoo/odoo-server/addons’, u’/opt/odoo/custom/addons’, ‘/opt/odoo/odoo-server/openerp/addons’]
        2014-08-15 10:16:38,743 1872 INFO ? openerp: database hostname: localhost
        2014-08-15 10:16:38,743 1872 INFO ? openerp: database port: 5432
        2014-08-15 10:16:38,743 1872 INFO ? openerp: database user: odoo
        2014-08-15 10:16:38,957 1872 INFO ? openerp.service.server: Evented Service (longpolling) running on 0.0.0.0:8072
        2014-08-15 10:18:10,139 1872 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus on db postgres
        2014-08-15 10:18:10,378 1872 INFO None openerp.http: Generating nondb routing

    • 1. navigate to /opt/odoo and copy addons from /opt/odoo/openerp/addons and paste them in the folder /opt/odoo/custom

      2. launch your browser and enter ip to access odoo.

  2. Hi,

    I have the same problem over here. I additionally installed all the python modules and did a reboot. The problem is still there. I’m using Ubuntu 14.04 desktop 64bit.

    Thanks

  3. Thank you for the excellent tutorial, I’ve having problem installing the latest stable version of odoo and your tutorial is my life saver!

  4. By the way I have found a couple of easier solutions to installing odoo 8…

    First installation method;
    1) Add the nightly repo “deb http://nightly.odoo.com/8.0/nightly/deb/ ./” to your /etc/apt/sources.list, then do an update.
    2) You will receive a gpg key error, then enter “sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys ” and do another sudo apt-get update in your terminal.
    3) To install odoo, enter “sudo apt-get install odoo -f” in your terminal, answer the installation questions and you’re done!
    4) Then reboot.

    Second installation method;
    1) Go to bitnami.com, go to the Applications tab and look for & download the odoo 8 install script.
    2) Make the install script executable… “sudo chmod +x bitnami-odoo-8.0-0-linux-x64-installer.run”
    3) To install odoo, enter “./bitnami-odoo-8.0-0-linux-x64-installer.run” and answer the installation questions and you’re done!

    Cheers!

    • PLEASE NOTE: For step 2 on the first installation, enter a “space” then the gpg error key at the end, before hitting enter.

      I had that entered on the original post in greater than/less than charaters, but I guess this comment system thought of it as an unfinished html tag.

      Cheers!

  5. Hi there.I’m trying to setup second company with different new db at xxxx.com :8072/web/database/manager but i get error .Any Idea ??????
    Thx

      • I find the problem .I forget to click at “”””Load demonstration data:””””” when i create the first DB .This is the point , I run two small separate company and have no think to do with each other one is service and second is product (food manufacturing ) . After finishing the first one (product) i was try to create other db for service company ,and i got error .I re install all from beginning and now everything run good so far .

      • Hi Arian, when you create first DB, make sure to deselect the demonstration data, then You can create freash DB. And if you want more DBs, again create DB without demonstration data, and if you want to remove DB, go to Drop and select DB and drop it, then you can mange DBs without any errors.

      • I have other question ,and i appreciate if some buddy have answer for me.
        I’m new in Linux and web-base application . How i can protect this database manager —xxxxxxxx.com:8072/web/database/manager– I don’t understand ,some body can create DB in my server with out my permission .

      • Hi AMT Arian, to protect the Database manager, there is a simple solution, go to /etc/odoo-server.conf and change the “admin_passwd” and try.

  6. Hi THere,
    When I load open_report_designer.zip into Open Writer I get following report;

    (com.sun.star.lang.illegalArgumentException){{{Message=”Cannot detect media-tyoe: file://home/administrator/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lujmlwe4.tmp_/openerp_report_designer.zip”, Context+(com.sun.star.uno.XInterface) @7fa1800094e0}}, ArgumentPosition = (short) -1}

    Can you assist with advise please.

    • Go to the /opt/odoo/odoo-server/openerp/tools/ and open the “config.py” file and chnage the following line:

      group.add_option(“–xmlrpc-port”, dest=”xmlrpc_port”, my_default=8072,

      Chnage the 8072 port number to port you wish. And then save the file and restart the OpenERP server.

      • Thank for your kindness.
        But ! I changed to port number 80 or 807 from 8072 isn’t work.
        openerp server can restart without warning but i can’t access openerp.
        what’s next config to check again ?
        Thank advance.
        Pichet.

  7. I have question regarding the contact us module .just finishing installation and i was doing test to know after filling application and press send where this info goes. I’m real a appreciate if some body have answer for me and specially for Madurad . i can link my oddo8 here http://uncannysoup.info/page/website.contactus just to have clear picture what i’m talking about
    thx
    AMT Arian

  8. There is really awesome way: Bitnami
    https://bitnami.com/stack/odoo
    I tried since weeks to get Odoo run, tried several ‘recipes’ (even the deb-Package) and failed.
    (I run a Linux Mint 17-64 om a Lenovo Notbook)
    Today I downloaded the Bitnami Package (the first was the wrong one (32 Bit) that asked me, if I’m serious to install a 32-Bit -Application on a 64-Bit Linux… oh, what a shame) and just started the installer.
    Within about 3 MINUTES I had the running local Odoo-Installation at my Browser!!!

    1 Hour later a (simple) website, an e-shop, some other modules like sale and even a Project-Management up and working.
    I’m so impressed and happy!!!
    Awesome!

  9. Error message in the browser,
    “Could not get content for /base/static/src/css/modules.css defined in the bundle ‘web.assets.backend’

    Please assist

Leave a reply to CyberCam Cancel reply