This question has been flagged
1 Reply
5116 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?

Avatar
Discard

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

Author

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.

Author

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'']

Author

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

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.

Author

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?

Best Answer

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.

Avatar
Discard