Hi friends, I try to install odoo with docker and restore a backup.
The Odoo system starts and I can access, but after recovering the database using this command I get different errors when opening any application:
xz -dkc backup.tar.xz | pg_restore -Ox -U odoo -d odoo_dev -h db
When accessing any application I get this error.
Error:
Odoo Server Error
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 685, in dispatch
result = 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/web/controllers/main.py", line 1738, in load
action = request.env[action_type].sudo().browse([action_id]).read()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 240, in read
result = super(IrActionsActWindow, self).read(fields, load=load)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3022, in read
return self._read_format(fnames=fields, load=load)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3042, in _read_format
vals[name] = convert(record[name], record, use_name_get)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 5703, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1021, in __get__
self.compute_value(recs)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1177, in compute_value
records._compute_field_value(self)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 4078, in _compute_field_value
getattr(self, field.compute)()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 207, in _compute_search_view
fvg = self.env[act.res_model].fields_view_get(act.search_view_id.id, 'search')
File "/usr/lib/python3/dist-packages/odoo/api.py", line 476, in __getitem__
return self.registry[model_name]._browse(self, (), ())
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 177, in __getitem__
return self.models[model_name]
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 641, in _handle_exception
return super(JsonRequest, 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
KeyError: 'account.asset'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
1006
Views
If needed i can upload dockerfile, odoo conf or docker-compose.yml.
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
5
Oct 24
|
609 | ||
|
4
Aug 24
|
6124 | ||
Odoo Database Restore Error
Solved
|
|
2
Aug 24
|
2747 | |
|
1
Aug 24
|
393 | ||
|
1
May 24
|
1332 |
To restore the database, go to the database manager at odoo-url>/web/database/manager and select "Restore Database." On clicking the button, a popup window will appear. Provide the master password, brows the . zip file from your directory, give a name to the database and click the continue button.
Regards,
Rachel Gomez