Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

all databases, "Internal Server Error"

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
databasesubuntu18.04
2 Respuestas
10321 Vistas
Avatar
Philip Häderli

my Linux Ubuntu 18.04 had problems with the hard drive, status was write-protected file system!

Hard disk was replaced and the backup was restored.

Ubuntu or odoo was not NEW installed!

Since then I have had the "Internal Server Error" when trying to log into odoo. Even when I create a new database or restore a database.

0
Avatar
Descartar
Hilar Andikkadavath

try to access postgres first and make sure database is running

Avatar
Philip Häderli
Autor Mejor respuesta

Hello Hilar,

I have access to postgres, through gpadmin3 and psql.


Computer has already restarted, odoo and postgres stopped and started manually.


where is the problem?

I suspect it is because of odoo, because I get the same error when I restore the database to another system!

0
Avatar
Descartar
wizardz

what's in the odoo log ? any error?

Philip Häderli
Autor

2020-11-17 14:04:47,200 7098 INFO ? odoo: Odoo version 13.0

2020-11-17 14:04:47,201 7098 INFO ? odoo: Using configuration file at /etc/odoo-server.conf

2020-11-17 14:04:47,202 7098 INFO ? odoo: addons paths: ['/odoo/odoo-server/odoo/addons', '/root/.local/share/Odoo/addons/13.0', '/odoo/odoo-server/addons']

2020-11-17 14:04:47,203 7098 INFO ? odoo: database: default@default:default

2020-11-17 14:04:47,470 7098 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf

2020-11-17 14:04:47,819 7098 INFO ? odoo.service.server: HTTP service (werkzeug) running on www.deko-gardina.ch:8069

2020-11-17 14:05:01,637 7098 INFO ? odoo.http: HTTP Configuring static files

2020-11-17 14:05:01,733 7098 INFO ? odoo.http: Generating nondb routing

2020-11-17 14:05:02,464 7098 INFO ? werkzeug: 192.168.5.9 - - [17/Nov/2020 14:05:02] "GET /web/database/manager HTTP/1.1" 200 - 14 0.061 0.692

2020-11-17 14:05:02,999 7098 INFO ? werkzeug: 192.168.5.9 - - [17/Nov/2020 14:05:02] "GET /web/static/src/img/favicon.ico HTTP/1.1" 200 - - - -

2020-11-17 14:05:18,347 7098 INFO ? werkzeug: 192.168.5.9 - - [17/Nov/2020 14:05:18] "GET /web?db=cphhr HTTP/1.1" 302 - 1 0.006 0.019

2020-11-17 14:05:18,500 7098 INFO cphhr odoo.modules.loading: loading 1 modules...

2020-11-17 14:05:18,540 7098 INFO cphhr odoo.modules.loading: 1 modules loaded in 0.04s, 0 queries

2020-11-17 14:05:18,617 7098 INFO cphhr odoo.modules.loading: loading 50 modules...

2020-11-17 14:05:19,557 7098 WARNING cphhr odoo.models: The model attendance.report.wizard has no _description

2020-11-17 14:05:19,558 7098 WARNING cphhr odoo.models: The model report.aspl_hr_attendance_report.attendance_report_pdf has no _description

2020-11-17 14:05:19,665 7098 WARNING cphhr odoo.models: The model report.timesheets_by_employee.report_timesheets has no _description

2020-11-17 14:05:19,666 7098 WARNING cphhr odoo.models: The model timesheet.wizard has no _description

2020-11-17 14:05:19,667 7098 INFO cphhr odoo.modules.loading: 50 modules loaded in 1.05s, 0 queries

2020-11-17 14:05:20,884 7098 WARNING cphhr odoo.models: ir.module.module: inconsistent 'compute_sudo' for computed fields: installed_version, local_updatable

2020-11-17 14:05:21,206 7098 INFO cphhr odoo.modules.loading: Modules loaded.

2020-11-17 14:05:21,225 7098 INFO cphhr odoo.addons.base.models.ir_http: Generating routing map for key None

2020-11-17 14:05:21,440 7098 INFO cphhr werkzeug: 192.168.5.9 - - [17/Nov/2020 14:05:21] "GET /web?db%3Dcphhr HTTP/1.1" 303 - 11 0.032 2.929

2020-11-17 14:05:22,884 7098 INFO cphhr odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [7442]

2020-11-17 14:05:24,473 7098 INFO cphhr odoo.models.unlink: User #1 deleted ir.attachment records with IDs: [7304, 6548]

2020-11-17 14:05:24,968 7098 INFO cphhr werkzeug: 192.168.5.9 - - [17/Nov/2020 14:05:24] "GET /web/login HTTP/1.1" 500 - 399 0.582 2.814

2020-11-17 14:05:24,989 7098 ERROR cphhr werkzeug: Error on request:

Traceback (most recent call last):

File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 270, in run_wsgi

execute(self.server.app)

File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 258, in execute

application_iter = app(environ, start_response)

File "/odoo/odoo-server/odoo/service/server.py", line 414, in app

return self.app(e, s)

File "/odoo/odoo-server/odoo/service/wsgi_server.py", line 142, in application

return application_unproxied(environ, start_response)

File "/odoo/odoo-server/odoo/service/wsgi_server.py", line 117, in application_unproxied

result = odoo.http.root(environ, start_response)

File "/odoo/odoo-server/odoo/http.py", line 1281, in __call__

return self.dispatch(environ, start_response)

File "/odoo/odoo-server/odoo/http.py", line 1251, in __call__

return self.app(environ, start_wrapped)

File "/usr/local/lib/python3.6/dist-packages/werkzeug/wsgi.py", line 766, in __call__

return self.app(environ, start_response)

File "/odoo/odoo-server/odoo/http.py", line 1450, in dispatch

result = ir_http._dispatch()

File "/odoo/odoo-server/addons/auth_signup/models/ir_http.py", line 19, in _dispatch

return super(Http, cls)._dispatch()

File "/odoo/odoo-server/addons/web_editor/models/ir_http.py", line 21, in _dispatch

return super(IrHttp, cls)._dispatch()

File "/odoo/odoo-server/addons/utm/models/ir_http.py", line 29, in _dispatch

response = super(IrHttp, cls)._dispatch()

File "/odoo/odoo-server/addons/http_routing/models/ir_http.py", line 519, in _dispatch

result = super(IrHttp, cls)._dispatch()

File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 233, in _dispatch

return cls._handle_exception(e)

File "/odoo/odoo-server/addons/utm/models/ir_http.py", line 34, in _handle_exception

response = super(IrHttp, cls)._handle_exception(exc)

File "/odoo/odoo-server/addons/http_routing/models/ir_http.py", line 610, in _handle_exception

return super(IrHttp, cls)._handle_exception(exception)

File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 201, in _handle_exception

return request._handle_exception(exception)

File "/odoo/odoo-server/odoo/http.py", line 744, in _handle_exception

return super(HttpRequest, self)._handle_exception(exception)

File "/odoo/odoo-server/odoo/http.py", line 309, in _handle_exception

raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

File "/odoo/odoo-server/odoo/tools/pycompat.py", line 14, in reraise

raise value

File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 229, in _dispatch

result = request.dispatch()

File "/odoo/odoo-server/odoo/http.py", line 803, in dispatch

r = self._call_function(**self.params)

File "/odoo/odoo-server/odoo/http.py", line 345, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/odoo/odoo-server/odoo/service/model.py", line 93, in wrapper

return f(dbname, *args, **kwargs)

File "/odoo/odoo-server/odoo/http.py", line 341, in checked_call

result.flatten()

File "/odoo/odoo-server/odoo/http.py", line 1230, in flatten

self.response.append(self.render())

File "/odoo/odoo-server/odoo/http.py", line 1223, in render

return env["ir.ui.view"].render_template(self.template, self.qcontext)

File "/odoo/odoo-server/addons/app_odoo_customize/models/ir_ui_view.py", line 18, in render_template

return super(View, self).render_template(template, values=values, engine=engine)

File "/odoo/odoo-server/odoo/addons/base/models/ir_ui_view.py", line 1154, in render_template

return self.browse(self.get_view_id(template)).render(values, engine)

File "/odoo/odoo-server/addons/web_editor/models/ir_ui_view.py", line 27, in render

return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext)

File "/odoo/odoo-server/odoo/addons/base/models/ir_ui_view.py", line 1162, in render

return self.env[engine].render(self.id, qcontext)

File "/odoo/odoo-server/odoo/addons/base/models/ir_qweb.py", line 58, in render

result = super(IrQWeb, self).render(id_or_xml_id, values=values, **context)

File "/odoo/odoo-server/odoo/addons/base/models/qweb.py", line 260, in render

self.compile(template, options)(self, body.append, values or {})

File "/odoo/odoo-server/odoo/addons/base/models/qweb.py", line 334, in _compiled_fn

raise e

File "/odoo/odoo-server/odoo/addons/base/models/qweb.py", line 332, in _compiled_fn

return compiled(self, append, new, options, log)

File "<template>", line 1, in template_web_login_6

File "/odoo/odoo-server/odoo/addons/base/models/qweb.py", line 334, in _compiled_fn

raise e

File "/odoo/odoo-server/odoo/addons/base/models/qweb.py", line 332, in _compiled_fn

return compiled(self, append, new, options, log)

File "<template>", line 1, in template_web_login_layout_12

File "/odoo/odoo-server/odoo/addons/base/models/qweb.py", line 339, in _compiled_fn

raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name)

odoo.addons.base.models.qweb.QWebException: 'ir.translation' object has no attribute 'get_web_translations_hash'

Traceback (most recent call last):

File "/odoo/odoo-server/odoo/addons/base/models/qweb.py", line 332, in _compiled_fn

return compiled(self, append, new, options, log)

File "<template>", line 1, in template_web_frontend_layout_32

File "/odoo/odoo-server/addons/http_routing/models/ir_http.py", line 301, in get_frontend_session_info

translation_hash = request.env['ir.translation'].get_web_translations_hash(modules, lang)

AttributeError: 'ir.translation' object has no attribute 'get_web_translations_hash'

Error to render compiling AST

AttributeError: 'ir.translation' object has no attribute 'get_web_translations_hash'

Template: web.frontend_layout

Path: /t/html/head/script[2]/t

Node: <t t-raw="json.dumps(request.env['ir.http'].get_frontend_session_info())"/>; - - -

2020-11-17 14:05:47,888 7098 INFO cphhr odoo.addons.base.models.ir_cron: Starting job `Mail: Email Queue Manager`.

2020-11-17 14:05:47,987 7098 INFO cphhr odoo.addons.base.models.ir_cron: Job `Mail: Email Queue Manager` done.

2020-11-17 14:05:47,992 7098 INFO cphhr odoo.addons.base.models.ir_cron: Starting job `SMS: SMS Queue Manager`.

2020-11-17 14:05:48,037 7098 INFO cphhr odoo.addons.base.models.ir_cron: Job `SMS: SMS Queue Manager` done.

2020-11-17 14:05:48,039 7098 INFO cphhr odoo.addons.base.models.ir_cron: Starting job `Partner Autocomplete : Sync with remote DB`.

2020-11-17 14:05:48,082 7098 INFO cphhr odoo.addons.base.models.ir_cron: Job `Partner Autocomplete : Sync with remote DB` done.

2020-11-17 14:05:48,085 7098 INFO cphhr odoo.addons.base.models.ir_cron: Starting job `Snailmail: process letters queue`.

2020-11-17 14:05:48,128 7098 INFO cphhr odoo.addons.base.models.ir_cron: Job `Snailmail: process letters queue` done.

2020-11-17 14:05:48,131 7098 INFO cphhr odoo.addons.base.models.ir_cron: Starting job `Calendar: Event Reminder`.

2020-11-17 14:05:48,203 7098 INFO cphhr odoo.modules.registry: At least one model cache has been invalidated, signaling through the database.

2020-11-17 14:05:48,213 7098 INFO cphhr odoo.addons.base.models.ir_cron: Job `Calendar: Event Reminder` done.

2020-11-17 14:06:20,269 7098 INFO ? odoo.service.server: Initiating shutdown

2020-11-17 14:06:20,270 7098 INFO ? odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.

Philip Häderli
Autor

The solution was to install Ubuntu 20.04 on new computer. Odoo 13 CE installed and missing modules copied to the computer.

Restore the database after cphhr_test.

Then update all modules with the following command

sudo -u odoo /opt/odoo/odoo-bin -c /etc/odoo.conf -d cphhr_test -u all

This takes several hours because the computer is not that fast.

Intel Pentium with 8GB RAM.

The adjustments in the lists / views had to be carried out again.

Since then the system has been running without any problems

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
How do I delete a database?
databases
Avatar
Avatar
Avatar
3
sept 25
1890
Modules icons are missing after restoring database to another server
databases
Avatar
Avatar
1
may 22
5226
make database copy for testing
databases
Avatar
Avatar
1
abr 22
7550
Database reinstallation
databases
Avatar
Avatar
2
nov 20
5108
Database Auto Backup Issue
databases
Avatar
1
ago 20
4097
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones empresariales de código abierto que cubre todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now