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
[options]
; 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
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
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
odoo:x:123:138::/home/odoo:/bin/false
# ls /home
fede
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 =