Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1965 Lượt xem

In Odoo 15 on Ubuntu server,  installed a bunch of python libraries, rebooted the server and got the "Not Found" error.  Now I can't access any of the websites in my odoo.  I am pasting the first error from my log file below.  Please advise me on this issue.  Thank you for your time and advice.

Ảnh đại diện
Huỷ bỏ
Tác giả

2023-12-27 03:12:53,368 658 INFO ready4rehab odoo.modules.loading: loading 1 modules...
2023-12-27 03:12:53,371 658 CRITICAL ready4rehab odoo.modules.module: Couldn't load module base
2023-12-27 03:12:53,371 658 CRITICAL ready4rehab odoo.modules.module: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
2023-12-27 03:12:53,371 658 WARNING ready4rehab odoo.modules.loading: Transient module states were reset
2023-12-27 03:12:53,372 658 ERROR ready4rehab odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/modules/registry.py", line 61, in __new__
return cls.registries[db_name]
File "/odoo/odoo-server/odoo/tools/func.py", line 71, in wrapper
return func(self, *args, **kwargs)
File "/odoo/odoo-server/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: 'ready4rehab'

Tác giả

Ok, I am almost certain that this is because I installed the libraries via pip while logged in as root. Permissions error?

I tried uninstalling the libraries and reinstalling while logged in as odoo, but some of the dependencies would not not uninstall. Think I could just chmod the library folders to 777?