Buonasera a tutti, questo è il mio primo messaggio perciò se sbaglio qualcosa vi chiedo scusa!
Ho recentemente attivato un server VPS su OVH per poter avere il gestionale Odoo visibile lato web (prima avevo scaricato la ISO e installato localmente con VirtualBox). Ho installato la stessa versione di Odoo (la 14), ho controllato ed attivato tutti gli stessi moduli, ma quando provo ad effettuare il login utilizzando il database importato il browser mi da errore 500 internal server error.
Andando a vedere il file di log di Odoo questo è l'errore che mi compare:
2023-01-08 16:47:22,050 37082 ERROR contabita2 odoo.sql_db: bad query: SELECT "res_company"."id" as "id", "res_company"."name" as "name", "res_company"."sequence" as "sequence>
ERROR: column res_company.helpdesk_mgmt_portal_select_team does not exist
LINE 1: ..."resource_calendar_id" as "resource_calendar_id", "res_compa...
^
2023-01-08 16:47:22,091 37082 INFO contabita2 werkzeug: 81.56.29.191 - - [08/Jan/2023 16:47:22] "GET /web HTTP/1.0" 500 - 9 0.155 0.310
2023-01-08 16:47:22,137 37082 ERROR contabita2 werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 808, in dispatch
r = self._call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 361, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 349, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 914, in __call__
return self.method(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 533, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/portal/controllers/web.py", line 26, in web_client
return super(Home, self).web_client(s_action, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 533, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 900, in web_client
context = request.env['ir.http'].webclient_rendering_context()
File "/usr/lib/python3/dist-packages/odoo/addons/web/models/ir_http.py", line 21, in webclient_rendering_context
'session_info': self.session_info(),
File "/usr/lib/python3/dist-packages/odoo/addons/mail_bot/models/ir_http.py", line 11, in session_info
res = super(Http, self).session_info()
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/ir_http.py", line 13, in session_info
result = super(IrHttp, self).session_info()
File "/usr/lib/python3/dist-packages/odoo/addons/web_tour/models/ir_http.py", line 12, in session_info
result = super(Http, self).session_info()
File "/usr/lib/python3/dist-packages/odoo/addons/base_setup/models/ir_http.py", line 11, in session_info
result = super(IrHttp, self).session_info()
File "/usr/lib/python3/dist-packages/odoo/addons/barcodes/models/ir_http.py", line 11, in session_info
res = super(IrHttp, self).session_info()
File "/usr/lib/python3/dist-packages/odoo/addons/auth_totp/models/ir_http.py", line 9, in session_info
info = super().session_info()
File "/usr/lib/python3/dist-packages/odoo/addons/web/models/ir_http.py", line 69, in session_info
"user_companies": {'current_company': (user.company_id.id, user.company_id.name), 'allowed_companies': [(comp.id, comp.name) for comp in user.company_ids]},
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 998, in __get__
recs._fetch_field(self)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3071, in _fetch_field
self._read(fnames)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3138, in _read
cr.execute(query_str, params + [sub_ids])
File "<decorator-gen-3>", line 2, in execute
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 101, in check
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 300, in execute
res = self._obj.execute(query, params)
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 323, in run_wsgi
execute(self.server.app)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 312, in execute
application_iter = app(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 441, in app
return self.app(e, s)
File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 111, in application
return ProxyFix(application_unproxied)(environ, start_response)
File "/usr/lib/python3/dist-packages/werkzeug/middleware/proxy_fix.py", line 169, in __call__
return self.app(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 88, in application_unproxied
result = odoo.http.root(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1334, in __call__
return self.dispatch(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1300, in __call__
return self.app(environ, start_wrapped)
File "/usr/lib/python3/dist-packages/werkzeug/middleware/shared_data.py", line 260, in __call__
return self.app(environ, start_response)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 1525, in dispatch
result = ir_http._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
return super(Http, cls)._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch
return super(IrHttp, cls)._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 29, in _dispatch
response = super(IrHttp, cls)._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 512, in _dispatch
result = super(IrHttp, cls)._dispatch()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 241, in _dispatch
return cls._handle_exception(e)
File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 34, in _handle_exception
response = super(IrHttp, cls)._handle_exception(exc)
File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 607, in _handle_exception
return super(IrHttp, cls)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 209, in _handle_exception
return request._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 746, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 317, in _handle_exception
raise exception.with_traceback(None) from new_cause
psycopg2.errors.UndefinedColumn: column res_company.helpdesk_mgmt_portal_select_team does not exist
LINE 1: ..."resource_calendar_id" as "resource_calendar_id", "res_compa...
^ - - -
Probabilmente mi sono dimenticato qualcosa ma non riesco a capire cosa.
Potete per cortesia aiutarmi a capire come risolverlo?
Grazie mille