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 update Addons Apps in Ubuntu 12.04 OpenERP v7?

By
Marko Happonen
on 3/18/14, 5:47 PM 2,913 views

Hello, I need to update couple of community modules directly at the server for my own v7 installation. This due to the 3 user limitation of the easy installation via the web client, I have 4 users... = (. So how to do this the easy way? I found "OpenERP Community Repositories Installer" but cannot judge whether that is the best option available even if it looks feasible. Are there other ways to get this done (with step-by-step instructions)?

Here the link: launchpad.net/openerp-community-repo-installer

Your support is highly appreciated.

1
Bart Criel
On 3/19/14, 12:20 PM

If you have access to the server (e.g. FTP): you can try the following steps.

In a terminal on your server:

  1. Download the community modules
  2. Copy the module folders to the addon folder of the OpenERP folder
  3. If necessary, correct the owner and the authorizations for those module folders (chown and chmod commands)
  4. Restart openerp server with sudo service openerp-server restart

In a web browser:

  1. Log in to OpenERP as administrator
  2. Go to Settings - Modules - Update Module List and click on Update
  3. Go to Settings - Modules - Installed Modules
  4. Locate your module. If required, remove the filter 'Installed' in the topright corner.
  5. Open the module and click Upgrade
  6. Repeat step 4 and 5 for all modules that need updating

Good luck.

Bart

Thanks for the reply. Reg. steps 1-2, could you kindly instruct how exactly to carry out the these steps i.e. which commands to use. As you see, I'm Linux newbie...

Sprint IT, Marko Happonen
on 3/19/14, 1:10 PM

I am a Linux 'tourist' as well. This is my preferred way of working: (1) download the addons on your regular machine (2) transfer them (e.g. with Filezilla or another FTP app) to your Linux server, e.g. to the home directory of your Linux user. In my case, the files are put in /home/admin (3) open a terminal to your Linux server (4) use the command 'sudo cp /home/admin/<name_of_the_module_dir> <complete_path_to_your_addon_dir>. On my server, I have 'cp /home/admin/<example> /opt/openerp/server/openerp/addons' (5) restart OpenERP server 'sudo service openerp-server restart' (6) continue in web

Bart Criel
on 3/19/14, 1:40 PM

Thanks Bart. Still some challenges to get there. How do you download e.g. module "tr_barcode" i.e. repository "lp:stock-logistic-barcode/7.0" to your own laptop/PC? I cannot find any 'download' option when checking from code.launchpad.net/stock-logistic-barcode. I have the step 2 Filezilla working so I would be able to transfer the files to my OpenERP server.

Sprint IT, Marko Happonen
on 3/25/14, 5:24 PM

Check this: https://www.openerp.com/apps/7.0/tr_barcode/. I get all addons from this source (regular download, no launchpad stuff)

Bart Criel
on 3/27/14, 9:21 AM

Thanks again! Worked fine. Soon to the next steps...

Sprint IT, Marko Happonen
on 3/27/14, 12:16 PM

Hello. Finally I had possibility to test above. And it worked out! Couple of things I had to do on top of above: 1) had to change the user rights via chmod -R 777 command 2) In the frontend application update the modules list before installing it. Again, thanks for the help!

Sprint IT, Marko Happonen
on 5/9/14, 6:10 AM
1

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 3/19/14, 11:14 AM

Hi;

You can do the update for the community modules by this way, but don't miss to follow the instructions provided in the "README.rst" file, especially the following:

Edit /etc/openerp/openerp-server.conf and add this line::

    addons_path = OFFICIAL_PATH,/opt/openerp-community-repo-installer/addons

Remember to replace ``OFFICIAL_PATH`` with the path to your official addons
(Usually ``/usr/lib/pymodules/python2.7/openerp/addons``).

Foe marko: The answer above, is just to tell that this update method can be used ...

But personnaly, i find that the easy and recommended way for updating modules in OpenERP is by using "Bazaar Explorer", and to not update branches directly in the .../openerp/addons/... folder, but create a folder for each branch somewhere (eg. /home/your user/addons-update/your branche name/.

Copy (only) the needed modules to your ../openerp/addons/.... folder, Update Modules List and install the module you want.

Before any update (just in case ...), backup you addons folder (or at least the folder of the module you want to update).

Thanks for the reply. One more question related to the 'readme' file. At rows 84-128 you have lengthy explanation about repos and users, can that be ignored or if not what is that section for?

Sprint IT, Marko Happonen
on 3/19/14, 1:22 PM

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

1 follower(s)

Stats

Asked: 3/18/14, 5:47 PM
Seen: 2913 times
Last updated: 3/16/15, 8:10 AM