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.

2

How do I upgrade modules on my server?

v7
By
Bruce Letterle
on 2/5/13, 10:47 PM 1,057 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

Alexandre Fayolle - Camptocamp

--Alexandre Fayolle - Camptocamp--
1109
| 5 6 8
Le Bourget-du-Lac, France
--Alexandre Fayolle - Camptocamp--

Alexandre has been working on Odoo at Camptocamp since 2012 as a project manager and technical lead. He is an active actor in the Odoo Community (github projects, mailing lists, IRC...), and wants to build a better ecosystem for Odoo developers. He is a member of the Odoo Community Association board and an active contributor to the OCA projects.

Alexandre Fayolle - Camptocamp
On 2/6/13, 4:08 AM

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.

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