コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
32638 ビュー

Hello I installed Odoo 12 after running config file and enter localhost:8079 or ip:portnumber in browser showing error :

I want to know that from where it will showing this

odoo.service.server: HTTP service (werkzeug) running on www.your_domain.com:8079

File "/usr/local/lib/python3.7/dist-packages/werkzeug/serving.py", line 205, in run_wsgi 
execute (self.server.app)
File "/usr/local/lib/python3.7/ dist-packages / werkzeug / serving.py ", line 193, in execute
application_iter = app (environ, start_response)
File" /odoodomain/odoodomain-server/odoo/service/server.py ", line 409, in app
return self. app (e, s)
File "/odoodomain/odoodomain-server/odoo/service/wsgi_server.py", line 128, in application
return application_unproxied (environ, start_response)
File "/ odoodomain / odoodomain-server / odoo / service / wsgi_server .py ", line 117, in application_unproxied
result = odoo.http.root (environ, start_response)
File "/odoodomain/odoodomain-server/odoo/http.py", line 1320, in __call__
return self.dispatch (environ, start_response)
File "/odoodomain/odoodomain-server/odoo/http.py", line 1293, in __call__
return self.app (environ, start_wrapped)
File "/usr/local/lib/python3.7/dist-packages/werkzeug/wsgi.py", line 599, in __call__
return self.app (environ, start_response)
File " /odoodomain/odoodomain-server/odoo/http.py ", line 1473, in dispatch
ir_http = request.registry ['ir.http']
File" /odoodomain/odoodomain-server/odoo/modules/registry.py ", line 176, in __getitem__
return self.models [model_name]
KeyError: 'ir.http' - - -
2019-10-12 05: 16: 07,125 14322 ERROR Test odoo.sql_db: bad query: SELECT latest_version FROM ir_module_module WHERE name = 'base'
ERROR: relation "ir_module_module" does not exist
LINE 1: SELECT latest_version FROM ir_module_module WHERE name = ' base...

アバター
破棄

Odoo's default port is 8069, did you change that in your .conf file?

try the same in a private window.

最善の回答

Hi,

Please check your postgres database list

if there is an empty database which have owner as the odoo db user, this error may come.

sudo su - postgres # in the postgres server
psql
\list

The above commands should show some output like below

                              List of databases

    Name    |  Owner   | Encoding | Collate |  Ctype  |   Access privileges   

------------+----------+----------+---------+---------+-----------------------

 odoodbuser | postgres | UTF8     | C.UTF-8 | C.UTF-8 | 

 postgres   | postgres | UTF8     | C.UTF-8 | C.UTF-8 | 

 template0  | postgres | UTF8     | C.UTF-8 | C.UTF-8 | =c/postgres          +

            |          |          |         |         | postgres=CTc/postgres

 template1  | postgres | UTF8     | C.UTF-8 | C.UTF-8 | =c/postgres          +

            |          |          |         |         | postgres=CTc/postgres

(4 rows)


If there is any empty or non-odoo database in the list with owner as odoo db user which you use to connect to db server, drop/delete that db. This worked for me




アバター
破棄
最善の回答

Hi,

Please verify your Odoo configuration file and check that your addons_path is right.

e.g:

# For Odoo Enterprise, like this:
addons_path = C:\Users\sylvain.michel\odoo_project\odoo-12.0\enterprise_addons,C:\Users\sylvain.michel\odoo_project\odoo-12.0\odoo\addons
# For Odoo Community, like this:

addons_path = C:\Users\sylvain.michel\odoo_project\odoo-12.0\odoo\addons

Best regards!

アバター
破棄

my config is look good but still get that log error. not spam but 1 time.

著作者

Hello sir,
Our customer is purchase Odoo 13 Enterprise edition and he want to make customization as per his requirements. So I have a question that can we make customization as per requirements ????

On Wed, 1 Jul 2020, 8:53 am Ưng Tú, <tuung@tamdongtam.vn> wrote:

my config is look good but still get that log error. not spam but 1 time.

Sent by Odoo S.A. using Odoo.

最善の回答

I used this command to run Odoo:

python odoo-bin -r username -w pass -d odoo -i base --db-filter=^%d$

アバター
破棄
関連投稿 返信 ビュー 活動
4
1月 24
7527
2
7月 22
4149
1
11月 20
22275
3
10月 19
3105
2
6月 19
15380