-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-compose部署后无法直接访问 #123
Comments
Thanks for reporting. |
docker-compose.yml:
======================================== |
did you try the method from here: https://odoo-community.org/blog/the-oca-blog-1/post/how-to-install-oca-modules-79 Not sure what is the origin: I have used your example and I got Odoo up and running in few seconds.
Maybe you need to pull the image again from hub. |
ok, I'll try it when I have time. |
使用docker-compose部署后,访问出现一下内部服务器错误,错误日志:
odoo_1_d98fc96cac19 | 2018-11-15 06:30:19,712 63 INFO ? odoo.http: HTTP Configuring static files
odoo_1_d98fc96cac19 | 2018-11-15 06:30:19,748 63 ERROR odoo odoo.modules.loading: Database odoo not initialized, you can force it with
-i base
odoo_1_d98fc96cac19 | 2018-11-15 06:30:19,752 63 INFO odoo werkzeug: 172.20.0.1 - - [15/Nov/2018 06:30:19] "GET / HTTP/1.1" 500 - 10 0.011 0.022
odoo_1_d98fc96cac19 | 2018-11-15 06:30:19,756 63 ERROR odoo werkzeug: Error on request:
odoo_1_d98fc96cac19 | Traceback (most recent call last):
odoo_1_d98fc96cac19 | File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 205, in run_wsgi
odoo_1_d98fc96cac19 | execute(self.server.app)
odoo_1_d98fc96cac19 | File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 193, in execute
odoo_1_d98fc96cac19 | application_iter = app(environ, start_response)
odoo_1_d98fc96cac19 | File "/opt/odoo/sources/odoo/odoo/service/server.py", line 350, in app
odoo_1_d98fc96cac19 | return self.app(e, s)
odoo_1_d98fc96cac19 | File "/opt/odoo/sources/odoo/odoo/service/wsgi_server.py", line 128, in application
odoo_1_d98fc96cac19 | return application_unproxied(environ, start_response)
odoo_1_d98fc96cac19 | File "/opt/odoo/sources/odoo/odoo/service/wsgi_server.py", line 117, in application_unproxied
odoo_1_d98fc96cac19 | result = odoo.http.root(environ, start_response)
odoo_1_d98fc96cac19 | File "/opt/odoo/sources/odoo/odoo/http.py", line 1317, in call
odoo_1_d98fc96cac19 | return self.dispatch(environ, start_response)
odoo_1_d98fc96cac19 | File "/opt/odoo/sources/odoo/odoo/http.py", line 1290, in call
odoo_1_d98fc96cac19 | return self.app(environ, start_wrapped)
odoo_1_d98fc96cac19 | File "/usr/local/lib/python3.5/dist-packages/werkzeug/wsgi.py", line 599, in call
odoo_1_d98fc96cac19 | return self.app(environ, start_response)
odoo_1_d98fc96cac19 | File "/opt/odoo/sources/odoo/odoo/http.py", line 1470, in dispatch
odoo_1_d98fc96cac19 | ir_http = request.registry['ir.http']
odoo_1_d98fc96cac19 | File "/opt/odoo/sources/odoo/odoo/modules/registry.py", line 176, in getitem
odoo_1_d98fc96cac19 | return self.models[model_name]
odoo_1_d98fc96cac19 | KeyError: 'ir.http' - - -
The text was updated successfully, but these errors were encountered: