Skip to content

Instantly share code, notes, and snippets.

@Hidenmy
Created May 18, 2021 16:26
Show Gist options
  • Save Hidenmy/444ccd907010eaebad396567de2b4277 to your computer and use it in GitHub Desktop.
Save Hidenmy/444ccd907010eaebad396567de2b4277 to your computer and use it in GitHub Desktop.
odoo multidomain
[options]
admin_passwd = 6jxq-49wy-tt48
proxy_mode = False
addons_path = /home/black/workspace/odoo_14.0.20210427/addons,/home/black/workspace/odoo_14.0.20210427/addons_dev
data_dir = /home/black/.local/share/Odoo
db_password = odoo14
db_host = localhost
db_port = 5432
db_user = odoo14
dbfilter = %h
xmlrpc_interface = 0.0.0.0
without_demo = all
xmlrpc_port = 8014
longpolling_port = 8074
workers = 3
max_cron_threads = 0
/home/black/workspace/odoo_14.0.20210427/venv/bin/python /home/black/workspace/odoo_14.0.20210427/odoo-bin --config odoo.conf --dev=all
2021-05-18 16:24:10,865 506842 INFO ? odoo: Odoo version 14.0-20210427
2021-05-18 16:24:10,866 506842 INFO ? odoo: Using configuration file at /home/black/workspace/odoo_14.0.20210427/odoo.conf
2021-05-18 16:24:10,866 506842 INFO ? odoo: addons paths: ['/home/black/workspace/odoo_14.0.20210427/odoo/addons', '/home/black/.local/share/Odoo/addons/14.0', '/home/black/workspace/odoo_14.0.20210427/addons', '/home/black/workspace/odoo_14.0.20210427/addons_dev']
2021-05-18 16:24:10,866 506842 INFO ? odoo: database: odoo14@localhost:5432
2021-05-18 16:24:10,994 506842 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2021-05-18 16:24:11,070 506842 INFO ? odoo.service.server: Watching addons folder /home/black/workspace/odoo_14.0.20210427/odoo/addons
2021-05-18 16:24:11,070 506842 INFO ? odoo.service.server: Watching addons folder /home/black/.local/share/Odoo/addons/14.0
2021-05-18 16:24:11,070 506842 INFO ? odoo.service.server: Watching addons folder /home/black/workspace/odoo_14.0.20210427/addons
2021-05-18 16:24:11,070 506842 INFO ? odoo.service.server: Watching addons folder /home/black/workspace/odoo_14.0.20210427/addons_dev
2021-05-18 16:24:11,300 506842 INFO ? odoo.service.server: AutoReload watcher running with inotify
2021-05-18 16:24:11,300 506842 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8014
2021-05-18 16:24:11,302 506846 INFO ? odoo.service.server: Worker WorkerHTTP (506846) alive
2021-05-18 16:24:11,305 506847 INFO ? odoo.service.server: Worker WorkerHTTP (506847) alive
2021-05-18 16:24:11,308 506850 INFO ? odoo.service.server: Worker WorkerHTTP (506850) alive
2021-05-18 16:24:11,789 506852 INFO ? odoo: Odoo version 14.0-20210427
2021-05-18 16:24:11,789 506852 INFO ? odoo: Using configuration file at /home/black/workspace/odoo_14.0.20210427/odoo.conf
2021-05-18 16:24:11,789 506852 INFO ? odoo: addons paths: ['/home/black/workspace/odoo_14.0.20210427/odoo/addons', '/home/black/.local/share/Odoo/addons/14.0', '/home/black/workspace/odoo_14.0.20210427/addons', '/home/black/workspace/odoo_14.0.20210427/addons_dev']
2021-05-18 16:24:11,789 506852 INFO ? odoo: database: odoo14@localhost:5432
2021-05-18 16:24:11,905 506852 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2021-05-18 16:24:12,017 506852 INFO ? odoo.service.server: Evented Service (longpolling) running on 0.0.0.0:8074
2021-05-18 16:24:38,519 506850 INFO ? odoo.http: HTTP Configuring static files
2021-05-18 16:24:38,532 506850 INFO smartlight.local odoo.modules.loading: loading 1 modules...
2021-05-18 16:24:38,552 506850 INFO smartlight.local odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries (+0 extra)
2021-05-18 16:24:38,562 506850 INFO smartlight.local odoo.modules.loading: loading 29 modules...
2021-05-18 16:24:38,662 506850 WARNING smartlight.local py.warnings: /home/black/workspace/odoo_14.0.20210427/venv/lib/python3.7/site-packages/jinja2/sandbox.py:82: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
from collections import MutableSet, MutableMapping, MutableSequence
2021-05-18 16:24:38,823 506850 INFO smartlight.local odoo.modules.loading: 29 modules loaded in 0.26s, 0 queries (+0 extra)
2021-05-18 16:24:39,052 506850 INFO smartlight.local odoo.modules.loading: Modules loaded.
2021-05-18 16:24:39,058 506850 INFO smartlight.local odoo.addons.base.models.ir_http: Generating routing map for key 1
2021-05-18 16:24:40,300 506850 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:40] "GET /web/login HTTP/1.1" 200 - 492 0.232 1.546
2021-05-18 16:24:40,450 506847 INFO ? odoo.http: HTTP Configuring static files
2021-05-18 16:24:40,456 506847 INFO ? werkzeug: 127.0.0.1 - - [18/May/2021 16:24:40] "GET /web/static/src/img/odoo_logo_tiny.png HTTP/1.0" 200 - - - -
2021-05-18 16:24:45,380 506850 INFO smartlight.local odoo.addons.base.models.res_users: Login successful for db:smartlight.local login:dev@smartlight.local from 127.0.0.1
2021-05-18 16:24:45,413 506850 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:45] "POST /web/login HTTP/1.1" 303 - 71 0.042 0.110
2021-05-18 16:24:45,456 506846 INFO ? odoo.http: HTTP Configuring static files
2021-05-18 16:24:45,470 506846 INFO smartlight.local odoo.modules.loading: loading 1 modules...
2021-05-18 16:24:45,488 506846 INFO smartlight.local odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries (+0 extra)
2021-05-18 16:24:45,500 506846 INFO smartlight.local odoo.modules.loading: loading 29 modules...
2021-05-18 16:24:45,604 506846 WARNING smartlight.local py.warnings: /home/black/workspace/odoo_14.0.20210427/venv/lib/python3.7/site-packages/jinja2/sandbox.py:82: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
from collections import MutableSet, MutableMapping, MutableSequence
2021-05-18 16:24:45,775 506846 INFO smartlight.local odoo.modules.loading: 29 modules loaded in 0.28s, 0 queries (+0 extra)
2021-05-18 16:24:46,009 506846 INFO smartlight.local odoo.modules.loading: Modules loaded.
2021-05-18 16:24:46,016 506846 INFO smartlight.local odoo.addons.base.models.ir_http: Generating routing map for key 1
2021-05-18 16:24:46,665 506846 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:46] "GET /web HTTP/1.1" 200 - 367 0.175 1.031
2021-05-18 16:24:46,697 506847 INFO smartlight.local odoo.modules.loading: loading 1 modules...
2021-05-18 16:24:46,699 506850 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:46] "GET /web/content/167-910eec2/web.assets_backend.css HTTP/1.1" 200 - 2 0.002 0.013
2021-05-18 16:24:46,707 506846 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:46] "GET /web/content/168-81ce3f4/web.assets_common.js HTTP/1.1" 200 - 2 0.002 0.021
2021-05-18 16:24:46,720 506846 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:46] "GET /web/content/170-a027496/web.assets_backend_prod_only.js HTTP/1.1" 200 - 2 0.001 0.010
2021-05-18 16:24:46,723 506847 INFO smartlight.local odoo.modules.loading: 1 modules loaded in 0.03s, 0 queries (+0 extra)
2021-05-18 16:24:46,725 506850 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:46] "GET /web/content/169-910eec2/web.assets_backend.js HTTP/1.1" 200 - 2 0.001 0.023
2021-05-18 16:24:46,726 506846 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:46] "GET /web/webclient/load_menus/bd71fea28c18980e57000bb01ce4b6a78f4e8fe4889d87e65733d5d51482f0bb HTTP/1.1" 200 - 1 0.000 0.005
2021-05-18 16:24:46,735 506847 INFO smartlight.local odoo.modules.loading: loading 29 modules...
2021-05-18 16:24:46,837 506847 WARNING smartlight.local py.warnings: /home/black/workspace/odoo_14.0.20210427/venv/lib/python3.7/site-packages/jinja2/sandbox.py:82: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
from collections import MutableSet, MutableMapping, MutableSequence
2021-05-18 16:24:47,008 506847 INFO smartlight.local odoo.modules.loading: 29 modules loaded in 0.27s, 0 queries (+0 extra)
2021-05-18 16:24:47,235 506847 INFO smartlight.local odoo.modules.loading: Modules loaded.
2021-05-18 16:24:47,243 506847 INFO smartlight.local odoo.addons.base.models.ir_http: Generating routing map for key 1
2021-05-18 16:24:47,382 506847 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "GET /web/content/166-81ce3f4/web.assets_common.css HTTP/1.1" 200 - 19 0.016 0.683
2021-05-18 16:24:47,561 506847 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "GET /web/webclient/qweb/86faa32003f5226a5e7a031af81e3dc49683f81789eafec3523c578cca2271d8?mods=base,web,base_setup,bus,web_tour,mail,web_editor,http_routing,auth_signup,portal,resource,digest,website,auth_totp,auth_totp_portal,base_import,iap,mail_bot,partner_autocomplete,sms,snailmail,web_kanban_gauge,web_unsplash,website_mail HTTP/1.1" 200 - 1 0.000 0.026
2021-05-18 16:24:47,631 506850 INFO ? werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "GET /web/static/src/img/favicon.ico HTTP/1.0" 200 - - - -
2021-05-18 16:24:47,653 506847 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "GET /web/webclient/translations/5227498d9df4b403b0244c75aac21e0c091e50ce?mods=base%2Cweb%2Cbase_setup%2Cbus%2Cweb_tour%2Cmail%2Cweb_editor%2Chttp_routing%2Cauth_signup%2Cportal%2Cresource%2Cdigest%2Cwebsite%2Cauth_totp%2Cauth_totp_portal%2Cbase_import%2Ciap%2Cmail_bot%2Cpartner_autocomplete%2Csms%2Csnailmail%2Cweb_kanban_gauge%2Cweb_unsplash%2Cwebsite_mail&lang=en_US HTTP/1.1" 200 - 9 0.006 0.006
2021-05-18 16:24:47,772 506847 INFO ? werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "GET /web/static/src/img/user_menu_avatar.png HTTP/1.0" 200 - - - -
2021-05-18 16:24:47,782 506850 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "POST /web/dataset/call_kw/res.users/systray_get_activities HTTP/1.1" 200 - 2 0.006 0.007
2021-05-18 16:24:47,790 506852 INFO ? odoo.http: HTTP Configuring static files
2021-05-18 16:24:47,794 506852 WARNING ? odoo.http: Logged into database 'smartlight.local', but dbfilter rejects it; logging session out.
2021-05-18 16:24:47,799 506847 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "GET /web/image?model=res.users&field=image_128&id=2 HTTP/1.1" 200 - 14 0.008 0.018
2021-05-18 16:24:47,801 506852 INFO ? odoo.http: Generating nondb routing
2021-05-18 16:24:47,807 506850 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "POST /web/dataset/call_kw/res.users/read HTTP/1.1" 200 - 2 0.000 0.005
2021-05-18 16:24:47,832 506852 WARNING ? odoo.http: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2021-05-18 16:24:47,836 506852 INFO ? longpolling: 127.0.0.1 - - [2021-05-18 16:24:47] "POST /longpolling/poll HTTP/1.0" 404 1614 0.109707
2021-05-18 16:24:47,839 506847 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "GET /web/image/res.company/1/favicon/ HTTP/1.1" 200 - 11 0.006 0.019
2021-05-18 16:24:47,841 506850 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "POST /web/action/load HTTP/1.1" 200 - 9 0.006 0.025
2021-05-18 16:24:47,878 506846 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:47] "POST /mail/init_messaging HTTP/1.1" 200 - 124 0.075 0.088
> /home/black/workspace/odoo_14.0.20210427/odoo/addons/base/models/ir_http.py(97)_auth_method_user()
-> raise http.SessionExpiredException("Session expired")
(Pdb) 2021-05-18 16:24:47,911 506852 WARNING ? odoo.http: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2021-05-18 16:24:47,912 506852 INFO ? longpolling: 127.0.0.1 - - [2021-05-18 16:24:47] "POST /longpolling/im_status HTTP/1.0" 404 1614 0.006155
2021-05-18 16:24:49,948 506846 INFO smartlight.local werkzeug: 127.0.0.1 - - [18/May/2021 16:24:49] "POST /web/webclient/version_info HTTP/1.1" 200 - 2 0.006 0.016
2021-05-18 16:24:50,898 506850 INFO ? werkzeug: 127.0.0.1 - - [18/May/2021 16:24:50] "GET /web/static/src/img/spin.png HTTP/1.0" 200 - - - -
2021-05-18 16:25:01,866 506852 WARNING ? odoo.http: Logged into database 'smartlight.local', but dbfilter rejects it; logging session out.
2021-05-18 16:25:01,881 506852 WARNING ? odoo.http: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2021-05-18 16:25:01,886 506852 INFO ? longpolling: 127.0.0.1 - - [2021-05-18 16:25:01] "POST /longpolling/poll HTTP/1.0" 404 1613 0.020975
2021-05-18 16:25:22,941 506852 WARNING ? odoo.http: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
2021-05-18 16:25:22,946 506852 INFO ? longpolling: 127.0.0.1 - - [2021-05-18 16:25:22] "POST /longpolling/poll HTTP/1.0" 404 1614 0.025171
upstream smart-light {
server 127.0.0.1:8014;
}
upstream smart-light-chat {
server 127.0.0.1:8074;
}
server {
listen 80;
server_name smartlight.local;
server_tokens off;
access_log /var/log/nginx/smart_light.access.log;
error_log /var/log/nginx/smart_light.error.log;
location / {
proxy_pass http://smart-light;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /longpolling {
proxy_pass http://smart-light-chat;
}
location ~* /web/static/ {
proxy_pass http://smart-light;
}
gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on;
}
upstream tourismplatform {
server 127.0.0.1:8014;
}
upstream tourismplatform-chat {
server 127.0.0.1:8074;
}
server {
listen 80;
server_name tourismplatform.local;
server_tokens off;
access_log /var/log/nginx/smart_light.access.log;
error_log /var/log/nginx/smart_light.error.log;
location / {
proxy_pass http://tourismplatform;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /longpolling {
proxy_pass http://tourismplatform-chat;
}
location ~* /web/static/ {
proxy_pass http://tourismplatform;
}
gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment