Skip to Content
Menu
This question has been flagged
2 Replies
9604 Views

I've installed odoo Entreprise 14 , when i login i see a blank page and a response from the server 404 (NOT FOUND) web.assets_frontend.css:1 Failed to load resource: the server responded with a status of 404 (NOT FOUND) web.assets_common_minimal_js.js:1 Failed to load resource: the server responded with a status of 404 (NOT FOUND) web.assets_frontend_minimal_js.js:1 Failed to load resource .

Thanks in advance.

Avatar
Discard
Author Best Answer

Hey Baiju,

Thanks for your help, i'm stack with this error since 1 week , i'm using Nginx ingress controller , and this is my config file : 

[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
; admin_passwd = admin
; csv_internal_sep = ,
; db_maxconn = 64
; db_name = False
; db_template = template1
; dbfilter = .*
; debug_mode = False
; email_from = False
; limit_memory_hard = 2684354560
; limit_memory_soft = 2147483648
; limit_request = 8192
; limit_time_cpu = 60
; limit_time_real = 120
; list_db = True
; log_db = False
; log_handler = [':INFO']
; log_level = info
; logfile = None
; longpolling_port = 8072
; max_cron_threads = 2
; osv_memory_age_limit = 1.0
; osv_memory_count_limit = False
; smtp_password = False
; smtp_port = 25
; smtp_server = localhost
; smtp_ssl = False
; smtp_user = False
; workers = 0
; xmlrpc = True
; xmlrpc_interface =
; xmlrpc_port = 8069
; xmlrpcs = True
; xmlrpcs_interface =
; xmlrpcs_port = 8071

Should i add a line for reverse_proxy and make workers = 4 ? 

Thanks in advance . 

Avatar
Discard

may I know your server specification, and how are you accessing odoo, please share your Nginx config file

Author

Hi Baiju, I've deployed odoo on kubernetes , i'm accessing it using ingress , and this is my nginx ingress config :

apiVersion: extensions/v1beta1

kind: Ingress

metadata:

name: odoo-ing

namespace: odoo

annotations:

kubernetes.io/ingress.class: "nginx-restricted"

nginx.ingress.kubernetes.io/proxy-body-size: "200m"

nginx.ingress.kubernetes.io/client-max-body-size: "200m"

spec:

rules:

- host: odoo.xxxxxxxxx.fr

http:

paths:

- backend:

serviceName: odoo-service

servicePort: 80

path: /

Best Answer

Hi Balha,

Please make sure you are using reverse proxy[nginx, apache] if you have enabled worker in the config file.

reverse_proxy = True
workers = 4

If not please remove these two lines.


Avatar
Discard
Related Posts Replies Views Activity
2
Jul 21
973
2
Feb 24
2641
1
Jun 21
2354
2
Feb 21
2697
1
Nov 24
1485