This question has been flagged
1 Reply
3681 Views

Hi everyone, I'm new to Odoo, so I'm having a hard time getting Odoo back to working properly after a digital ocean snapshot restoration.

So, after restoring a snapshot I started to receive error 503. The Odoo Log shows me the following:


2020-08-17 14:49:53,940 880 INFO ? odoo: Odoo version 13.0 

2020-08-17 14:49:53,943 880 INFO ? odoo: Using configuration file at /etc/odoo-server.conf 

2020-08-17 14:49:53,943 880 INFO ? odoo: addons paths: ['/opt/odoo/odoo/addons', '/opt/odoo/.local/share/Odoo/addons/13.0', '/opt/odoo/addons', '/opt/odoo/odoo_pragtech_saas_script_software_saaskit', '/opt/odoo/customs_addons'] 

2020-08-17 14:49:53,944 880 INFO ? odoo: database: odoo@default:default 

2020-08-17 14:49:53,958 880 INFO ? odoo.sql_db: Connection to the database failed 


Can someone please help me.

Thank you.

Avatar
Discard
Author Best Answer

I managed to correct the above error. I hired a developer on Fivrr. He told me that with the restoration of the backup I had to configure port 80.

Now, strange that the error remains. Was it not for the error to have been corrected, since I used a backup made at the time that there was no error?

I use the SAAS KIT tool from PRAGMATIC and I am getting the following error:

Erro:

Odoo Server Error


Traceback (most recent call last):

  File "/opt/odoo/odoo/http.py", line 624, in _handle_exception

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

  File "/opt/odoo/odoo/http.py", line 310, in _handle_exception

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

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

    raise value

  File "/opt/odoo/odoo/http.py", line 669, in dispatch

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

  File "/opt/odoo/odoo/http.py", line 350, in _call_function

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

  File "/opt/odoo/odoo/service/model.py", line 94, in wrapper

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

  File "/opt/odoo/odoo/http.py", line 339, in checked_call

    result = self.endpoint(*a, **kw)

  File "/opt/odoo/odoo/http.py", line 915, in __call__

    return self.method(*args, **kw)

  File "/opt/odoo/odoo/http.py", line 515, in response_wrap

    response = f(*args, **kw)

  File "/opt/odoo/addons/web/controllers/main.py", line 1242, in call_button

    action = self._call_kw(model, method, args, kwargs)

  File "/opt/odoo/addons/web/controllers/main.py", line 1230, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/opt/odoo/odoo/api.py", line 387, in call_kw

    result = _call_kw_multi(method, model, args, kwargs)

  File "/opt/odoo/odoo/api.py", line 374, in _call_kw_multi

    result = method(recs, *args, **kwargs)

  File "/opt/odoo/odoo_pragtech_saas_script_software_saaskit/saas_sale/models/sale.py", line 1327, in action_confirm

    self.action_install_module( db_name, ['sales_team', 'openerp_saas_tenant'])

  File "/opt/odoo/odoo_pragtech_saas_script_software_saaskit/saas_sale/models/sale.py", line 556, in action_install_module

    uid_dst = common.authenticate(db_name, brand_admin, brand_pwd, {})

  File "/usr/lib/python3.6/xmlrpc/client.py", line 1112, in __call__

    return self.__send(self.__name, args)

  File "/usr/lib/python3.6/xmlrpc/client.py", line 1452, in __request

    verbose=self.__verbose

  File "/usr/lib/python3.6/xmlrpc/client.py", line 1154, in request

    return self.single_request(host, handler, request_body, verbose)

  File "/usr/lib/python3.6/xmlrpc/client.py", line 1187, in single_request

    dict(resp.getheaders())

xmlrpc.client.ProtocolError: <ProtocolError for legalapps.com.br//xmlrpc/2/common: 301 Moved Permanently>


Please, do you know what is causing the error?


Thank you.

Avatar
Discard
Author

Would it be a POST and GET request problem?