Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

all databases, "Internal Server Error"

Naroči se

Get notified when there's activity on this post

This question has been flagged
databasesubuntu18.04
2 Odgovori
10308 Prikazi
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
Opusti
Hilar Andikkadavath

try to access postgres first and make sure database is running

Avatar
Philip Häderli
Avtor Best Answer

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

what's in the odoo log ? any error?

Philip Häderli
Avtor

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
Avtor

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!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
How do I delete a database?
databases
Avatar
Avatar
Avatar
3
sep. 25
1886
Modules icons are missing after restoring database to another server
databases
Avatar
Avatar
1
maj 22
5217
make database copy for testing
databases
Avatar
Avatar
1
apr. 22
7542
Database reinstallation
databases
Avatar
Avatar
2
nov. 20
5098
Database Auto Backup Issue
databases
Avatar
1
avg. 20
4089
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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