تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6961 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
مارس 15
10294
4
يوليو 24
33918
1
يوليو 23
5665
2
فبراير 21
7326
4
نوفمبر 16
3478