Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
6683 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
März 15
10043
4
Juli 24
33917
1
Juli 23
5300
2
Feb. 21
6927
4
Nov. 16
3216