Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
7147 Weergaven

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.

Avatar
Annuleer
Beste antwoord

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).

Avatar
Annuleer
Auteur

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?

Beste antwoord

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

Avatar
Annuleer
Auteur

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...

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

Auteur

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.

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

Auteur

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

Auteur

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!

Gerelateerde posts Antwoorden Weergaven Activiteit
3
dec. 22
13655
3
jan. 24
17927
0
mrt. 15
4290
1
jun. 24
10828
1
aug. 24
3100