Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
3798 Vistas

I Have an odoo community and recently I take a backup from my server and restored it to another new server.

but I have 

500: Internal Server Error


error.

I check that data is coming to my database but the system has a problem.

Avatar
Descartar
Mejor respuesta

Please check the odoo log to get more info about the issue

Avatar
Descartar
Mejor respuesta

2023-07-24 11:09:40,475 4336 ERROR concept odoo.modules.loading: Some modules are not loaded, some dependencies or manifest may be missing: ['br_invoice_stock_move', 'dynamic_accounts_report', 'mkb_so_signature', 'muk_web_theme', 'web_responsive']

some modules are not present. So this would be the first issue to tackle.

doo.addons.base.models.ir_qweb.QWebException: Error while render the template
ValueError: File(s) /muk_web_theme/static/src/colors.scss not found in bundle web._assets_primary_variables
Template: website.layout
Path: /t/html/head/t[9]
Node:

especially the muk_web_theme makes trouble

Avatar
Descartar
Autor Mejor respuesta

I took Backup from 

then I resotred from there but in new server.

in new server I install new instance of odoo 16 and then try to restore.

then after restoring I receive the error


Avatar
Descartar
Mejor respuesta

Which problem do you face ? Can you please share image or describe something? If you restoring your database so please check your postgresql is same in both system.If postgresql is same then please restore database through the IP address and set limit time real and cpu so it will not break down process in between.if this is the not problem then please check your custom modules is set accordingly to previous system.

Avatar
Descartar
Autor

I add piture

Have you check above step that I mentioned? because for this we need to check log file

Autor

I do the step and also check both system.
how can I check the log file?

Autor

I check the log. can I send the log to you for checking?
if it is possible please share me your email address

Please only share error traceback screenshot from the log file if possible so

Autor

2023-07-24 11:07:15,775 4336 INFO ? odoo.service.db: RESTORING DB: concept
2023-07-24 11:09:38,945 4336 INFO concept odoo.modules.loading: loading 1 modules...
2023-07-24 11:09:38,973 4336 INFO concept odoo.modules.loading: 1 modules loaded in 0.03s, 0 queries (+0 extra)
2023-07-24 11:09:38,975 4336 WARNING concept odoo.modules.graph: module br_invoice_stock_move: not installable, skipped
2023-07-24 11:09:38,976 4336 WARNING concept odoo.modules.graph: module dynamic_accounts_report: not installable, skipped
2023-07-24 11:09:38,976 4336 WARNING concept odoo.modules.graph: module web_responsive: not installable, skipped
2023-07-24 11:09:38,976 4336 WARNING concept odoo.modules.graph: module muk_web_theme: not installable, skipped
2023-07-24 11:09:38,977 4336 WARNING concept odoo.modules.graph: module mkb_so_signature: not installable, skipped
2023-07-24 11:09:38,989 4336 INFO concept odoo.modules.loading: loading 143 modules...
2023-07-24 11:09:39,210 4336 WARNING concept odoo.models: The model account.account.type has no _description
2023-07-24 11:09:39,243 4336 INFO concept odoo.modules.loading: 143 modules loaded in 0.25s, 0 queries (+0 extra)
2023-07-24 11:09:40,146 4336 WARNING concept odoo.fields: sale.order.state: selection=[('draft', 'Quotation'), ('sent', 'Quotation Sent'), ('waiting', 'Waiting Approval'), ('sale', 'Sales Order'), ('done', 'Locked'), ('cancel', 'Cancelled')] overrides existing selection; use selection_add instead
2023-07-24 11:09:40,237 4336 WARNING concept odoo.fields: Field account.move.amount_discount: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
2023-07-24 11:09:40,275 4336 WARNING concept odoo.fields: Field budget.budget.state: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
2023-07-24 11:09:40,282 4336 WARNING concept odoo.fields: Field sale.order.state: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
2023-07-24 11:09:40,282 4336 WARNING concept odoo.fields: Field sale.order.amount_untaxed: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
2023-07-24 11:09:40,283 4336 WARNING concept odoo.fields: Field sale.order.amount_tax: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
2023-07-24 11:09:40,283 4336 WARNING concept odoo.fields: Field sale.order.amount_total: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
2023-07-24 11:09:40,284 4336 WARNING concept odoo.fields: Field sale.order.amount_discount: unknown parameter 'digits', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
2023-07-24 11:09:40,284 4336 WARNING concept odoo.fields: Field sale.order.amount_discount: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
2023-07-24 11:09:40,286 4336 WARNING concept odoo.fields: Field account.asset.category.currency_id: unknown parameter 'hide', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
2023-07-24 11:09:40,475 4336 ERROR concept odoo.modules.loading: Some modules are not loaded, some dependencies or manifest may be missing: ['br_invoice_stock_move', 'dynamic_accounts_report', 'mkb_so_signature', 'muk_web_theme', 'web_responsive']
2023-07-24 11:09:40,478 4336 INFO concept odoo.modules.loading: Modules loaded.
2023-07-24 11:09:40,500 4336 INFO concept odoo.modules.registry: Registry loaded in 1.597s
2023-07-24 11:09:40,705 4336 INFO concept odoo.service.db: RESTORE DB: concept
2023-07-24 11:09:40,893 4336 INFO concept werkzeug: 127.0.0.1 - - [24/Jul/2023 11:09:40] "POST /web/database/restore HTTP/1.1" 303 - 47 6.121 159.497
2023-07-24 11:09:41,027 4336 INFO concept odoo.addons.base.models.ir_http: Generating routing map for key 1
2023-07-24 11:09:42,059 4336 INFO concept werkzeug: 127.0.0.1 - - [24/Jul/2023 11:09:42] "GET /web/database/manager HTTP/1.1" 200 - 14 0.045 1.107

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\http.py", line 1998, in __call__
response = request._serve_db()
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\http.py", line 1584, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\service\model.py", line 133, in retrying
result = func()
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\http.py", line 1602, in _serve_ir_http
response = ir_http._serve_fallback()
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\addons\website\models\ir_http.py", line 329, in _serve_fallback
website_page.flatten()
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\http.py", line 1099, in flatten
self.response.append(self.render())
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\http.py", line 1091, in render
return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\addons\website\models\ir_ui_view.py", line 418, in _render_template
return super()._render_template(template, values=values)
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\addons\base\models\ir_ui_view.py", line 2128, in _render_template
return self.env['ir.qweb']._render(template, values)
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\tools\profiler.py", line 292, in _tracked_method_render
return method_render(self, template, values, **options)
File "C:\Program Files\Odoo 16.0.20230716\server\odoo\addons\base\models\ir_qweb.py", line 580, in _render
result = ''.join(rendering)
File "<1200>", line 35, in template_1200
File "<1200>", line 24, in template_1200_content
File "<469>", line 1364, in template_469
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
ValueError: File(s) /muk_web_theme/static/src/colors.scss not found in bundle web._assets_primary_variables
Template: website.layout
Path: /t/html/head/t[9]
Node: <t t-call-assets="web.assets_frontend" t-js="false"/>
2023-07-24 11:14:30,327 4336 INFO concept werkzeug: 127.0.0.1 - - [24/Jul/2023 11:14:30] "GET /our-services HTTP/1.1" 500 - 215 0.236 1.134

Which version are you using and from which to which version you restore your database ?

Publicaciones relacionadas Respuestas Vistas Actividad
5
nov 22
59958
1
jul 24
2535
2
feb 23
6821
0
abr 22
2830
1
mar 15
5632