This question has been flagged
5 Replies
7386 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

Avatar
Discard

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.

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
Author Best Answer

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.

Avatar
Discard
Author

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

Best Answer

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.

Avatar
Discard
Best Answer

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.

Avatar
Discard
Best Answer

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

 

 

Avatar
Discard