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
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
# ls /home
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
|Asked: 10/25/14, 1:21 PM|
|Seen: 3587 times|
|Last updated: 3/16/15, 8:10 AM|