Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


How to Create new database from postgresql v7 on shell

Yassine TEIMI
on 1/1/15, 3:53 PM 1,116 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


Francesco OpenCode

--Francesco OpenCode--
| 5 7 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 1/12/15, 1:21 PM

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 1/1/15, 3:53 PM
Seen: 1116 times
Last updated: 3/16/15, 8:10 AM