This question has been flagged
1 Reply
5663 Views

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
Discard
Best Answer

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
Discard