Odoo Help

Welcome!

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.

1

Creating database results in "database already exists"

By
tongro
on 2/14/13, 11:02 AM 1,292 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

--ton123--
1418
| 5 6 9
Lisse, Netherlands
--ton123--
End-User. Installed 6.1.1 on a DS412+, DS211+ and DS113J Synology NAS. Reference installation on Ubuntu 12.04/Samsung Notebook. 12-03-2013 In production for Suppliers and Customers, adresbook. 7 small companies. Testing accounting, document management, import and export. Too much showstoppers I haven't fixed at this moment. 06-05-2013 little progress. Migration to v7 impossible because of missing Dutch localisation modules. What I see working is nice, so further testing and asking. Start testing products and warehouse. Happy with this forum and the community.
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.

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

0 follower(s)

Stats

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