Odoo Help


how to configure openerp-server.conf in the debian package?

Federico Bruni
on 10/25/14, 1:21 PM 6,498 views

I'm using odoo v8.0 from the Odoo repositories on my debian sid, just for testing purposes. As it's a package, I would expect it to work out of the box, i.e. being available at some (documented) port, like localhost:8080.

http://localhost:8069/ returns 500 Internal Server Error. The logs, /var/log/odoo/odoo-server.log is empty.

This is currently the default content of openerp-server.conf:

$ cat odoo/debian/openerp-server.conf 
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons

I've created the PostgreSQL role odoo.
Which are the missing required options to make it working?

I wonder if there's any other configuration I'm missing. For example, I see that the server is launched by the system user odoo (created by the .deb package, I guess):

# lsof -i :8069
openerp-s 3815 odoo    3u  IPv4  47395      0t0  TCP *:8069 (LISTEN)

# ps aux | grep odoo
odoo      3815  0.4  1.7 723828 134396 ?       Sl   19:41   0:02 /usr/bin/python /usr/bin/openerp-server --config /etc/odoo/openerp-server.conf --logfile /var/log/odoo/odoo-server.log
root      4844  0.0  0.0  12740  2276 pts/0    S+   19:52   0:00 grep odoo

# grep odoo /etc/passwd

# ls  /home



Well, I've realized that using the .deb package for testing was really a bad idea. Testing the source code from github is much better and I managed to run the server after a couple of attempts, thanks to the log in the output. I first created the default ~/.openerp_serverrc by running: ./openerp-server -s Then I adapted that file to work on my configuration. Values I had to edit were: db_port = 5433 # (on my system postgresql runs on 5433 instead of 5432, as supposed by odoo) db_password =

Federico Bruni
on 10/25/14, 3:48 PM

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/25/14, 1:21 PM
Seen: 6498 times
Last updated: 3/16/15, 8:10 AM