Odoo Help

2

How do I upgrade modules on my server?

v7
By
Bruce Letterle
on 2/5/13, 10:47 PM 1,341 views

I installed version 7 on an Ubuntu server two weeks ago and want to upgrade the modules on the server. I have attempted to use Settings->Updates, but it just spins on the screen and gives Server Error windows. Any suggestions?

what is displayed in the server error dialog? How is you instance deployed (from bzr checkouts or from a package)?

Camptocamp France SAS, Alexandre Fayolle - Camptocamp
on 2/6/13, 4:04 AM

I deployed from a package and followed instructions from http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/. I'll post the server dialog box text next.

Bruce Letterle
on 2/6/13, 8:35 AM

File "/home/odoo/source/openerpcustom7.0/loempia/loempia2.py", line 508, in computemodulestoinstall assert len(mids) == len(set(requestedmods)), 'Unknown modules requested: %r' % requested_mods AssertionError: Unknown modules requested: [u'']

Bruce Letterle
on 2/6/13, 8:40 AM

Is the purpose of the Settings->Updates and pressing the Update All button to download and update all the modules on my server?

Bruce Letterle
on 2/6/13, 8:42 AM

the error message you're reporting makes it sound like a bug. You should probably report is as such on launchpad. BTW, I've upvoted your question so that you get enough karma to edit it by yourself to add the information in a clearer way that in comments.

Camptocamp France SAS, Alexandre Fayolle - Camptocamp
on 2/6/13, 9:35 AM

So, my only options at this point are to report the bug and manually upgrade my installation? To manually upgrade, can I just grab the latest distro at http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz and copy it up to my OE directory? Will that upgrade modules?

Bruce Letterle
on 2/6/13, 5:16 PM
3

I usually deploy from source, using a buildout recipe. In that case, upgrading the modules is simply a matter of:

  • updating the source with bzr or buildout
  • stopping the server
  • starting the server with -u all to upgrade all installed modules

See also this question for the way I'd like to be able to use.

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/5/13, 10:47 PM
Seen: 1341 times
Last updated: 3/16/15, 8:10 AM