Odoo Help

1

Creating database results in "database already exists"

By
tongro
on 2/14/13, 11:02 AM 1,670 views

I'm looking at OpenERP to see if it might be suitable for my needs, and have been playing around with automated upload of data, which I do by dropping and creating the "openerp" database, reloading a valid OpenERP database dump, and running SQL statements to upload the extra data.

This seems to have worked previously, but now when I try to access OpenERP after doing the upload, I get the "create database" screen, and when I do use that to create the "openerp" database, I get a message saying it already exists (which of course it does). So, what I think I need to know is how does OpenERP know whether an existing database is a valid OpenERP database? Why would it not recognise the valid database that I reloaded and added to, as an OpenERP database? I have looked at the OpenERP code (though I don't speak Python) but can't identify the code concerned.

I think it is very logic you get this kind of a message. I do not understand why you want something else. Can you explain more?

ton123
on 2/21/13, 9:08 AM

Thanks for the reply. The problem was that an OpenERP database in fact existed but OpenERP was telling me that it did not.

However, I've now changed my method of doing the job, and now do manual backup/restore using OpenERP's normal GUI methods, as well as automated data upload, which works fine.

tongro
on 2/21/13, 9:23 AM

I suppose the issue could be closed now.

tongro
on 2/21/13, 9:26 AM

@tongro I didn't answered because I didn't know the answer. I hoped to help you and others that voted on your question by commenting it. And I did. ;-) I think I don't receive Karma for this help. Anyway I am glad I could help. I advise you to post yourself a copy of your comment as a formal answer.

ton123
on 2/21/13, 9:35 AM
0
ton123
On 2/22/13, 4:37 AM

It is very logic you get this kind of a message. I do not understand why you want something else.

Question owner's problem was that an OpenERP database in fact existed but OpenERP was telling that it did not. He now changed the method of doing the job, and now do manual backup/restore using OpenERP's normal GUI methods, as well as automated data upload. This works fine.

Note: Constructed answer based on the comments of myself and the question owner.

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 2/14/13, 11:02 AM
Seen: 1670 times
Last updated: 3/16/15, 8:10 AM