Sarin RajAug. 20, 2019
After much anticipation, Odoo released the version 12. Odoo 12 last year in Odoo experience and now triggering for Odoo 13. Odoo 13 guide gets you the glimpse of highlights in the forthcoming Odoo version. For the Odoo 13 Installation on Ubuntu 19.04 , just follow the below steps.
sudo apt-get update
sudo adduser -system -home=/opt/odoo -group odoo
sudo apt-get install -y postgresql
After the installation start use the below commands to start the postgresql database server
sudo service postgresql start
sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo
exit
sudo service postgresql restart
sudo apt-get install -y python3-pip
To switch in to the odoo user and then install the dependency packages.
pip3 install Babel decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen psycopg2 pydot pyparsing PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd polib
sudo apt-get install -y npm sudo ln -s /usr/bin/nodejs /usr/bin/node sudo npm install -g less less-plugin-clean-css sudo apt-get install -y node-less sudo python3 -m pip install libsass
Below command to install GIT on your system. If it is already there, then you can ignore this.
sudo apt-get install -y git
Then switch to odoo user
sudo su - odoo -s /bin/bash
git clone https://www.github.com/odoo/odoo --depth 1 --branch 13.0 --single-branch
And exit from the odoo user
sudo vim /etc/odoo-server.conf
Copy the below content in configuration file.
[options] ; This is the password that allows database operations: ; admin_passwd = admin db_host = False db_port = False db_user = odoo db_password = False logfile = /var/log/odoo/odoo-server.log addons_path = /opt/odoo/odoo/addons,/opt/odoo/odoo/odoo/addons
Change permission and also the user ownership of configuration file as bellow
sudo chown odoo: /etc/odoo-server.conf sudo chmod 640 /etc/odoo-server.conf
sudo mkdir /var/log/odoo sudo chown odoo:root /var/log/odoo
sudo vim /etc/init.d/odoo-server
Then change ownership and permission
sudo chmod 755 /etc/init.d/odoo-server sudo chown root: /etc/init.d/odoo-server
To start the odoo server
sudo /etc/init.d/odoo-server start
Stop the odoo server
sudo /etc/init.d/odoo-server stop
View the odoo log files
tailf /var/log/odoo/odoo-server.log
Now, if you want to add this service to begin on boot up run the bellow command
update-rc.d odoo-server defaults
sudo su - odoo -s /bin/bash python3 /opt/odoo/odoo-bin
Then go to web browser to access odoo13
http://localhost:8069
or
http://0.0.0.0:8069
To print PDF reports need to install right version of wkhtmltopdf.
sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb sudo apt install ./wkhtmltox_0.12.1.3-1~bionic_amd64.deb sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf
In short, for more support about Odoo 13 installation in Ubuntu, contact our Odoo support team. If you enjoy our content here, you’ll ❤️ the stuff we share on LinkedIn.
Here you will get a videological representation of Odoo 13 installation :
https://www.youtube.com/watch?v=LMuWoGyABYQ&t=58s
0