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

How to upgrade database v8.0 from saas versions

By
Lucas Huber
on 7/9/14, 12:46 PM 3,797 views

After upgrading to the 8.0 stable version, I have troubles to  update the database.

I found this post for V7, but somehow I have a general problem to commit any command.

https://www.odoo.com/forum/Help-1/question/How-to-upgrade-database-v7-12587

./openerp-server --update=all -d name_of_database --addons-path=/path_to_addons,/path_to_web_addons

Is there somwehre a actual tutorial about updatig the dabase or how to commit comands? So far I found only this in the docs:
https://doc.openerp.com/install/linux/updating/
But for, instances, I don't find any "openerp-server.py" but an "odoo.py" file on my system?

My system is a Ubuntu 14.4 with the odoo installation done by this script:
https://github.com/aschenkels-ictstudio/openerp-install-scripts/blob/master/odoo-v8/ubuntu-14-04/odoo_install.sh
Thank you

As saas versions you mean for example saas-5 here https://github.com/odoo/odoo/tree/saas-5 ? I currently have an installation on saas-5 and probably I'll soon need a way to upgrade to 8.0. So I'd really like to see your question answered. It may help if you can rephrase it a little making it more clear. E.g. what exactly do you mean that you cannot 'commit any command'? From the link that you posted ( https://doc.odoo.com/install/linux/updating/ ) I wonder which is the section that really fits our situation: Going to a newer minor release (in this case we can upgrade) or Going to a newer magor release (in this case we need a full migration) Actually I'll start a new question on whether we can really do an upgrade or we need a full migration.

George Rodopoulos
on 7/17/14, 4:57 PM
Hi George,


In the meantime I have some more informations and bit of experience.
The fact is that updating database in any version of odoo 8.0 is still a tricky thing.
There is no official release yet.

I have setup all my saas-5 instance fresh with new 8.9rc1 instances. But even with this version I have a broken instance that I can't update any more. -> see attached logfile and error description.
Maybe a solution could be to to use the upgrade version https://github.com/OpenUpgrade, but since I'm not so experienced I rather would hire a profi to do this job.
I have a contact to an indian software company who could do this job.      

To you question, I think upgrading of sass and RC releases don't follow any official policy, because upgrading has not yet been tested.

P.S.
I did post a new question about this: https://www.odoo.com/forum/help-1/question/how-to-upgrade-database-v8-0-57922

Best regards

Lucas

--------------------------------------------------------------------------------------------------------------------------------------
ORG-IT, Organisations und IT Beratung
Lucas C. Huber | +41 (0)52 366 66 90 | Mobiltelefon:+41 (0)79 702 50 72
lucas.huber@org-it.ch | Dickbuch 482 | CH-8354 Hofstetten | Switzerland
--------------------------------------------------------------------------------------------------------------------------------------

Am 17.07.2014 22:56, schrieb George Rodopoulos:
<blockquote cite="mid:1405630603.737874984741211.048052575542360-openerp-56832-forum.post@openerp.v7.openerp.com" type="cite">

As saas versions you mean for example saas-5 here https://github.com/odoo/odoo/tree/saas-5 ? I currently have an installation on saas-5 and probably I'll soon need a way to upgrade to 8.0. So I'd really like to see your question answered. It may help if you can rephrase it a little making it more clear. E.g. what exactly do you mean that you cannot 'commit any command'? From the link that you posted ( https://doc.odoo.com/install/linux/updating/ ) I wonder which is the section that really fits our situation: Going to a newer minor release (in this case we can upgrade) or Going to a newer magor release (in this case we need a full migration) Actually I'll start a new question on whether we can really do an upgrade or we need a full migration.

--
George Rodopoulos Sent by OpenERP S.A. using Odoo. Access your messages and documents in Odoo
Lucas Huber
on 7/20/14, 12:03 PM
1
Lucas Huber
On 7/20/14, 11:44 AM

I the meantime I could update the database with the following command: sudo -u odoo /opt/odoo/odoo-server/openerp-server -d "DB-NAME" -u all  --config=/etc/odoo-server.conf It takes quite a while and in the log file I can find a long list of errors generated from the update process. And, the updated database is still somehow corrupt. Not very much promising so far.

Generally SaaS versions are not upgradable. But the link below shows a workaround.

resolved here : https://github.com/odoo/odoo/issues/1110

Lucas Huber
on 8/8/14, 10:56 AM
1

Luke Branch

--Luke Branch--
1531
| 6 7 8
Mui Wo, Lantau, Hong Kong
--Luke Branch--

...

Luke Branch
On 7/18/14, 12:19 AM

I'd recommend taking a look at this project:

https://github.com/OpenUpgrade

This may be able to help you, although due to the dynamic nature of the current 8.0 branch (ie. RC1) you may want to wait until the actual official master release of 8.0.

From my understanding however this project focuses on upgrades between major versions (eg. 6.1 > 7.0, 7.0 > 8.0), i'm not sure if it would work with SaaS-5 > 8.0. You may want to open an issue on the github page for the project in regards to this.

0
Zahin
On 8/8/14, 12:38 PM

First of all create github account & setup properly in linux server and then via github download all modules.

Now configure openerp properly & test it.

FIRST BACKUP,
THEN UPGRADE CODE OF ODOO/OPENERP,
THEN UPGRADE EVERY DATABASE,

I like to share some guideline form article:
http://goo.gl/KGmvKz

 

 

0
nick2474
On 11/19/14, 1:17 AM

Anyone has experience migrating from saas3 to odoo v8?
Whats the best way to do or if any docs where to start, thanks in advance.

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

2 follower(s)

Stats

Asked: 7/9/14, 12:46 PM
Seen: 3797 times
Last updated: 3/16/15, 8:10 AM