Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

all databases, "Internal Server Error"

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
databasesubuntu18.04
2 Risposte
10319 Visualizzazioni
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
Abbandona
Hilar Andikkadavath

try to access postgres first and make sure database is running

Avatar
Philip Häderli
Autore Risposta migliore

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
Abbandona
wizardz

what's in the odoo log ? any error?

Philip Häderli
Autore

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
Autore

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

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
How do I delete a database?
databases
Avatar
Avatar
Avatar
3
set 25
1890
Modules icons are missing after restoring database to another server
databases
Avatar
Avatar
1
mag 22
5222
make database copy for testing
databases
Avatar
Avatar
1
apr 22
7547
Database reinstallation
databases
Avatar
Avatar
2
nov 20
5103
Database Auto Backup Issue
databases
Avatar
1
ago 20
4092
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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