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.

0

Migrate Odoo CRM DB from V6 to V8

By
Mostafa Mohamed Abdelmonam Abdo
on 12/24/15, 4:49 AM 637 views

Hi all


My boss give me a task to migrate a OpenERP V6 DB that have CRM installed on it and have CRM data to migrate it to V8 without any loss of the data

I need to know how to implement something like that or how to move the data and update the database from v6 to v8


update 1 :

i tried to use openupgrade ,, i have downloaded migrate.py and run command python migrate.py --config=[openerp-server.conf] --database=[kamel] --run-migrations=7.0 but i alawys got an error

No user found in configuration 

and here is my openerp-server.conf:

[options]
; This is the password that allows database operations:
admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = odoo
db_password = odoo
addons_path = /Users/mostafa/Documents/odoo-develop/odoo8/addons,/Users/mostafa/Documents/odoo-develop/net2do_work,/Users/mostafa/Documents/odoo-develop/more_net2do,/Users/mostafa/Documents/odoo-develop/freelance_work,/Users/mostafa/Documents/odoo-develop/custom_addons
pg_path= /usr/local/bin

0

Yenthe

--Yenthe--
6676
| 7 7 8
Turnhout, Belgium
--Yenthe--

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

Yenthe
On 12/24/15, 5:09 AM

Hi John,

You have two options here. The first is to buy the upgrade from V6 to V8 from Odoo but you will need to pay extra because you have such an old version. You can find more information about that here: https://upgrade.odoo.com/database/upload

 Your second option is to do the migration yourself. There is an open source alternative to the Odoo upgrades, named OpenUpgrade. With this you should be able to migrate your database from V6 to V7 and then from V7 to V8. For more information see https://github.com/OCA/OpenUpgrade and https://doc.therp.nl/openupgrade/intro.html 

Yenthe

i tried to use openupgrade ,, i have downloade migrate.py and run command python migrate.py --config=[openerp-server.conf] --database=[kamel] --run-migrations=7.0 but i aawys got an error No user found in configuration and here is my config file : [options] ; This is the password that allows database operations: admin_passwd = admin db_host = localhost db_port = 5432 db_user = odoo db_password = odoo addons_path = /Users/mostafa/Documents/odoo-develop/odoo8/addons,/Users/mostafa/Documents/odoo-develop/net2do_work,/Users/mostafa/Documents/odoo-develop/more_net2do,/Users/mostafa/Documents/odoo-develop/freelance_work,/Users/mostafa/Documents/odoo-develop/custom_addons pg_path= /usr/local/bin

Mostafa Mohamed Abdelmonam Abdo
on 12/24/15, 5:49 AM

@John I'd suggest you to create an issue on https://github.com/OCA/OpenUpgrade I'm sure one of the guys will help you further!

Yenthe
on 12/24/15, 5:53 AM

i did and wait for help .. but i'm asking if anyone did it before and face same problem.

Mostafa Mohamed Abdelmonam Abdo
on 12/24/15, 6:07 AM

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)

Stats

Asked: 12/24/15, 4:49 AM
Seen: 637 times
Last updated: 12/24/15, 5:55 AM