Trying to install odoo 15 in ubuntu server 20.04 , i setup everything like usual , master password & db user details are correct but
getting this issue in log file (in the gui is just saying "Database creation error: Access Denied" but the db is created) :
Traceback (most recent call last):
File "/opt/odoo/odoo/service/db.py", line 66, in _initialize_db
env = odoo.api.Environment(cr, SUPERUSER_ID, {})
File "/opt/odoo/odoo/api.py", line 506, in new
for env in transaction.envs:
AttributeError: 'NoneType' object has no attribute 'envs'
Thanks for help