Running setup.py develop for odoo
Successfully installed odoo-15.0
Waft INFO: Not waiting for a postgres server
Waft INFO: Linking all addons from /home/ubuntu/odoo/custom/src/addons.yaml in /home/ubuntu/odoo/auto/addons
Waft INFO: Generating file. Overriding any existing...
Waft INFO: Merging found configuration files in /home/ubuntu/odoo/auto/odoo.conf
2023-01-24 18:59:33,471 14788 INFO ? odoo: Odoo version 15.0
2023-01-24 18:59:33,472 14788 INFO ? odoo: Using configuration file at /home/ubuntu/odoo/auto/odoo.conf
2023-01-24 18:59:33,472 14788 INFO ? odoo: addons paths: ['/home/ubuntu/odoo/custom/src/odoo/odoo/addons', '/home/ubuntu/.local/share/Odoo/addons/15.0', '/home/ubuntu/odoo/auto/addons']
2023-01-24 18:59:33,472 14788 INFO ? odoo: database: ubuntu@localhost:5432
2023-01-24 18:59:33,595 14788 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
2023-01-24 18:59:33,671 14788 CRITICAL ? odoo.modules.module: Couldn't load module base
2023-01-24 18:59:33,672 14788 CRITICAL ? odoo.modules.module: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
2023-01-24 18:59:33,672 14788 ERROR ? odoo.service.server: Failed to load server-wide module `base`.
Traceback (most recent call last):
File "/home/ubuntu/odoo/custom/src/odoo/odoo/service/server.py", line 1210, in load_server_wide_modules
odoo.modules.module.load_openerp_module(m)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/modules/module.py", line 396, in load_openerp_module
__import__('odoo.addons.' + module_name)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/__init__.py", line 5, in <module>
from . import models
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/models/__init__.py", line 23, in <module>
from . import ir_mail_server
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/models/ir_mail_server.py", line 19, in <module>
from OpenSSL import crypto as SSLCrypto
File "/home/ubuntu/odoo/.venv/lib/python3.8/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/home/ubuntu/odoo/.venv/lib/python3.8/site-packages/OpenSSL/crypto.py", line 3268, in <module>
_lib.OpenSSL_add_all_algorithms()
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
2023-01-24 18:59:33,677 14788 CRITICAL ? odoo.modules.module: Couldn't load module web
2023-01-24 18:59:33,677 14788 CRITICAL ? odoo.modules.module: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
2023-01-24 18:59:33,677 14788 ERROR ? odoo.service.server: Failed to load server-wide module `web`.
The `web` module is provided by the addons found in the `openerp-web` project.
Maybe you forgot to add those addons in your addons_path configuration.
Traceback (most recent call last):
File "/home/ubuntu/odoo/custom/src/odoo/odoo/service/server.py", line 1210, in load_server_wide_modules
odoo.modules.module.load_openerp_module(m)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/modules/module.py", line 396, in load_openerp_module
__import__('odoo.addons.' + module_name)
File "/home/ubuntu/odoo/auto/addons/web/__init__.py", line 4, in <module>
from . import controllers
File "/home/ubuntu/odoo/auto/addons/web/controllers/__init__.py", line 4, in <module>
from . import main
File "/home/ubuntu/odoo/auto/addons/web/controllers/main.py", line 34, in <module>
from odoo.addons.base.models.ir_qweb import render as qweb_render
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/__init__.py", line 5, in <module>
from . import models
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/models/__init__.py", line 23, in <module>
from . import ir_mail_server
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/models/ir_mail_server.py", line 19, in <module>
from OpenSSL import crypto as SSLCrypto
File "/home/ubuntu/odoo/.venv/lib/python3.8/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/home/ubuntu/odoo/.venv/lib/python3.8/site-packages/OpenSSL/crypto.py", line 3268, in <module>
_lib.OpenSSL_add_all_algorithms()
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
2023-01-24 18:59:33,678 14788 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2023-01-24 18:59:33,701 14788 INFO ? odoo.modules.loading: init db
2023-01-24 18:59:34,304 14788 INFO test015database odoo.modules.loading: loading 1 modules...
2023-01-24 18:59:34,304 14788 INFO test015database odoo.modules.loading: Loading module base (1/1)
2023-01-24 18:59:34,306 14788 CRITICAL test015database odoo.modules.module: Couldn't load module base
2023-01-24 18:59:34,306 14788 CRITICAL test015database odoo.modules.module: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
2023-01-24 18:59:34,310 14788 ERROR test015database odoo.sql_db: bad query: UPDATE ir_module_module SET state='installed' WHERE state IN ('to remove', 'to upgrade')
ERROR: relation "ir_module_module" does not exist
LINE 1: UPDATE ir_module_module SET state='installed' WHERE state IN...
^
2023-01-24 18:59:34,310 14788 ERROR test015database odoo.modules.registry: Failed to load registry
2023-01-24 18:59:34,310 14788 CRITICAL test015database odoo.service.server: Failed to initialize database `test015database`.
Traceback (most recent call last):
File "/home/ubuntu/odoo/custom/src/odoo/odoo/modules/registry.py", line 87, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/modules/loading.py", line 415, in load_modules
loaded_modules, processed_modules = load_module_graph(
File "/home/ubuntu/odoo/custom/src/odoo/odoo/modules/loading.py", line 179, in load_module_graph
load_openerp_module(package.name)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/modules/module.py", line 396, in load_openerp_module
__import__('odoo.addons.' + module_name)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/__init__.py", line 5, in <module>
from . import models
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/models/__init__.py", line 23, in <module>
from . import ir_mail_server
File "/home/ubuntu/odoo/custom/src/odoo/odoo/addons/base/models/ir_mail_server.py", line 19, in <module>
from OpenSSL import crypto as SSLCrypto
File "/home/ubuntu/odoo/.venv/lib/python3.8/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/home/ubuntu/odoo/.venv/lib/python3.8/site-packages/OpenSSL/crypto.py", line 3268, in <module>
_lib.OpenSSL_add_all_algorithms()
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/odoo/custom/src/odoo/odoo/service/server.py", line 1260, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/modules/registry.py", line 89, in new
odoo.modules.reset_modules_state(db_name)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/modules/loading.py", line 601, in reset_modules_state
cr.execute(
File "<decorator-gen-3>", line 2, in execute
File "/home/ubuntu/odoo/custom/src/odoo/odoo/sql_db.py", line 90, in check
return f(self, *args, **kwargs)
File "/home/ubuntu/odoo/custom/src/odoo/odoo/sql_db.py", line 313, in execute
res = self._obj.execute(query, params)
psycopg2.errors.UndefinedTable: relation "ir_module_module" does not exist
LINE 1: UPDATE ir_module_module SET state='installed' WHERE state IN...
^
2023-01-24 18:59:34,311 14788 INFO test015database odoo.service.server: Stopping gracefully ```
@NL66278 you are right!