openerp: internal server error on ubuntu

2019-08-07 03:50发布

I have just installed the new OpenERP 8.0 unto my system replacing the existing OpenERP 7.0 on Ubuntu 12.04. I had already downloaded this on my Ubuntu laptop at home and it works very well and wanted to do the same in my office server.

Steps I undertook:

  1. sudo apt-get remove openerp
  2. Went to /etc/apt/sources-list and edited it, added the line for to add the new erp dependencies
  3. sudo apt-get update
  4. sudo apt-get install openerp
  5. restart system
  6. open browser for localhost:8069

But I get an internal error.

Please assist me in solving this problem. If this is a postgresql role problem, please assist on how I can resolve this issue.

2条回答
Ridiculous、
2楼-- · 2019-08-07 04:46

Create the odoo user in postgres:

 sudo -u postgres createuser -s odoo

I had the same issue after an install of Odoo 8 on Debian. I read about postgres user creation in Odedra's blog. Creating the odoo user in postgres fixed the server error, the odoo interface appeared on http://localhost:8069.

Creating a postgres user was not specified in the Odoo installation page.

查看更多
仙女界的扛把子
3楼-- · 2019-08-07 04:50

maybe there are more than one process running.

try to kill all of postgresql process by identifying them with ps -A... restart your machine

查看更多
登录 后发表回答