Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6450 Näkymät

I'm trying to create new database from postgres, because I am no longer able to do it from user interface. for that : 

I switched to openerp user, so as to be the owner of the new database freshly created.

I taped : createdb dbname - t template1

I'm getting the new database, but I cannot access it, with login : admin / pass : admin ( i did a select login,password from res_users to get this login's informations) , it tells me that there is no external_id : base.change_password

Is there something missing on createdb

Avatar
Hylkää
Paras vastaus

createdb is a postgresql tool to create a new EMPTY database. When you create a new database with Odoo, it imports modules and create the relative tables. You can't create a new Odoo database only with createdb. With createdb you can only create an empty db to import a dump of another db.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
maalisk. 15
9857
4
heinäk. 24
33917
1
heinäk. 23
5032
2
helmik. 21
6654
4
marrask. 16
3000