Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
31960 Ansichten

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

Avatar
Verwerfen

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

try the same in a private window.

Beste Antwort

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




Avatar
Verwerfen
Beste Antwort

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!

Avatar
Verwerfen

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

Autor

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.

Beste Antwort

I used this command to run Odoo:

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Jan. 24
7161
2
Juli 22
3783
1
Nov. 20
21703
3
Okt. 19
2846
2
Juni 19
15002