Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    odoo-marketplace-mod

    Odoo 13 installation on Ubuntu 18.04

    The Odoo version 13 is officially rolled out and has already created a buzz among the users. You can visit GitHub to find the Source Code for Odoo Community Edition.

    This blog will explain how to install Odoo version 13 (Community Edition) on Ubuntu 18.04.

    Installation steps for previous Ubuntu version(s) till version Ubuntu 16 are similar. You can visit the blog for Odoo 11 installation on ubuntu 16.04 to know the step by step installation of the previous version.

    Ubuntu 18.04 comes preinstalled with Python 3.6 which is compatible with Odoo 13. You need to run some commands in terminal for Odoo 13 installation on Ubuntu.

    Steps for Odoo 13 installation on Ubuntu

    1) Update apt source-lists.

    2) Add a new system user name “Odoo” that will own and run the application.

    3) Install and configure database server PostgreSQL.

    4) Setup a new PostgreSQL user.  The “Odoo” user will be used by Odoo to interact with the database.

    5) Clone the latest branch of Odoo, in our case it is 13.0 from Github:

    6) System dependencies

    Wkhtmltopdf is also required

    Install Python3 dependencies for Odoo.

    7) Install Odoo Web dependencies.

    8) Create a directory to store Odoo logs and then change the ownership.

    9) Create a configuration file for Odoo.

    Sample Configuration might look like this:

    Now, set the ownership.

    10) Create a boot script for Odoo.

    Now, we need a script which will let us start/stop Odoo as a service automatically, with the correct user. Click here to see get the script.

    Now, create a new file.

    Now, set the ownership.

    11) Start the Odoo Server.

    • Using ‘status’, we can find information about all running odoo daemon servers.
    • Using ‘force-stop/force-restart’, we can kill all running Odoo daemon forcefully and can start fresh odoo-server daemon.
    • ‘Start/Stop’ will not allow more than one process per daemon.

    You can check logs using:

    Optionally, You can start Odoo server manually for debugging.

    If the log file looks OK, you can check Odoo server running on your browser with URL:

    NEED HELP?

    Did you find the guide helpful? Please feel free to share your feedback in the comments below.

    If you still have any issues/queries regarding the module then please raise a ticket at https://webkul.uvdesk.com/en/customer/create-ticket/

    For any doubt contact us at support@webkul.com.

    Thanks for paying attention!!

    . . .

    Comments (4)

    Add Your Comment

  • Besma
    Good morning, I’d like to install Odoo13 on ubuntu 18.4 but the following error occurs:
    dpkg: error while cleaning up:
    installed odoo package post-installation script subprocess returned error exit status 1
    errors were incountred while processing:
    /var/cache/apt/archives/odoo_13.0.20200518_all.deb
    N:Ingoring file ‘odoo.listget’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    • Gurneesh Chahal
      Hello,
      You are trying to install odoo using debian package and in this blog post we have given instructions on installing odoo by cloning source from github. To resolve this issue you might have to remove odoo entries from /etc/apt/sources.list.d/
  • John Roy A. Geralde
    In Step 11 :sudo /etc/init.d/odoo-server start

    The following error occurs:
    Error in ODOO Daemon file: /opt/odoo/odoo-bin
    Possible error(s):
    * Daemon File doesn’t exists.
    * Daemon File is not set to executable.

    • Gurneesh Chahal
      Hi There,
      This error occurs if either user odoo doesn’t have ownership of odoo-bin or odoo-bin is not executable. Please attach the output of command: “ll /opt/odoo/odoo-bin”.
  • Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close