Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

all databases, "Internal Server Error"

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
databasesubuntu18.04
2 Răspunsuri
10306 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Hilar Andikkadavath

try to access postgres first and make sure database is running

Imagine profil
Philip Häderli
Autor Cel mai bun răspuns

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
Imagine profil
Abandonează
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

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
How do I delete a database?
databases
Imagine profil
Imagine profil
Imagine profil
3
sept. 25
1886
Modules icons are missing after restoring database to another server
databases
Imagine profil
Imagine profil
1
mai 22
5217
make database copy for testing
databases
Imagine profil
Imagine profil
1
apr. 22
7542
Database reinstallation
databases
Imagine profil
Imagine profil
2
nov. 20
5098
Database Auto Backup Issue
databases
Imagine profil
1
aug. 20
4089
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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