İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4353 Görünümler

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


Avatar
Vazgeç
En İyi Yanıt

Hi Tensai,

Its the issue with the source code provided in the github for Odoo 15.

On creating the database, whichever username you provide for the database, it is saved as admin in the res.users model.

So in order to login into the database, go to the res.users table and alter the password corresponding to the login with name 'admin'. You will be able to login successfully.

Hope this gets fixed in the code soon.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Tem 23
5863
3
Tem 25
9121
2
Ara 24
8032
1
Kas 22
7768
1
Eyl 25
2279