Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

Step by step instructions for installing Odoo in Turnkey Linux

By
Robert Chadwick
on 4/2/15, 3:07 PM 795 views

After struggling with incomplete, and sometimes just wrong documentation, I finally figured out how to install Odoo without any immediate error messages. I haven't done much with Odoo, so I'm not sure if my instructions are complete. Regardless, I thought the instructions might save a lot of people a lot of time. Comments are welcome if I got anything wrong.

Disclaimer: I am NOT a Linux Guru. This might not be perfect, or even right, but I found it works for me.

root @ server: ~ # apt-get install postgresql

root @ server: ~ # cd ..

root @ server: ~ # su postgres

postgres @ server: ~ $ psql -U postgres

psql (9.0.3)

Type "help" for help.

postgres = # update pg_database set datallowconn = TRUE where datname = 'template0';

UPDATE 1

postgres = # \c template0

You are now connected to database "template0".

template0 = # update pg_database set datistemplate = FALSE where datname = 'template1';

UPDATE 1

template0 = # drop database template1;

DROP DATABASE

template0 = # create database template1 with template = template0 encoding = 'UTF8';

CREATE DATABASE

template0 = # update pg_database set datistemplate = TRUE where datname = 'template1';

UPDATE 1

template0 = # \c template1

You are now connected to database "template1".

template1 = # update pg_database set datallowconn = FALSE where datname = 'template0';

UPDATE 1

Ctrl + Z

postgres @ server: ~ $ exit (Repeat if it doesn't exit)

root @ server: ~ #

root @ server: ~ # wget -O - https://nightly.odoo.com/odoo.key | apt-key add -

root @ server: ~ # echo "deb http://nightly.odoo.com/8.0/nightly/deb/ ./" >> /etc/apt/sources.list

root @ server: ~ # apt-get update && apt-get install odoo

Also, you'll probably have to run this line:

root @ server: ~ # apt-get update && apt-get install odoo --fix-missing

You can now access it at port 8069

In my opinion, if the default system locale is well set to utf-8 only one step to install postgresql is needed ..... apt-get install postgresql

zbik
on 4/2/15, 3:26 PM

That's nice in theory, but it didn't work for me. Theory likely isn't going to help someone install Odoo (Didn't help me), but I figured a step-by-step would. This is for Turnkey Linux. Might work with others. Maybe Turnkey is configured horribly out of the box. I'm not interested in Linux politics, just what works. This worked for me. Thanks.

Robert Chadwick
on 4/2/15, 4:22 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/2/15, 3:07 PM
Seen: 795 times
Last updated: 4/2/15, 6:50 PM