Community mailing list archives

community@mail.odoo.com

Re: Updating modules odoo 8

by
John
- 05/27/2015 18:23:52
Ruben said:
(AFAIK, please comment on this if you are reading and know how to uninstall through CLI)
 
As an FYI, from the forum post here (https://www.odoo.com/forum/help-1/question/how-to-uninstall-upgrade-a-module-when-web-page-is-not-accessible-73128):

 psql -c "UPDATE ir_module SET state = 'to remove' WHERE name = 'module_name';"

While it's not exactly from the command line, you can do it in SQL.

~John Walsh




On Wednesday, May 27, 2015 1:14 PM, Rubén <rcabrera@bisnesmart.com> wrote:



<blockquote cite="mid:55645449.2000306@todoo.biz" type="cite">
We are working with oDoo since quite sometimes - and even though we have a support from oDoo… they are not answering ! 

So I am trying support from the community (hopefully might have more luck). 

We are hosting our odoo servers in our own datacenter. 
We are updating servers using standard procedure (for odoo 8) : 

$ git fetch
$ git pull origin 8.0


This is ok for maintaining the repo up to date for main instance… but we need to update some specific modules (web for example). 
We have bought a theme from Indiegogo couple of months ago and have now been granted (at last !) this theme. 

Unfortunately this theme is not working with our current version of Web module… 
So we will need to update the Web module in order to install this theme and use It ! 


Could you please let me know : 

1. how to update a module ? 
<blockquote cite="mid:55645449.2000306@todoo.biz" type="cite">
2. what is the standard procedure to do so ? 

    You should be able to upgrade a module from the GUI. Look for the
    module in the Local Modules list, click on it and then click
    "Upgrade".

If there are python changes, you might need to restart the server. To start the server upgrading the addon, run it with:

$ ./odoo.py -d yourDatabaseName -u yourAddonName

The -d option is required to use the -u (--update) one.

<blockquote cite="mid:55645449.2000306@todoo.biz" type="cite">
3. what are the eventual risks and constraints that one must follow in order for this to happen smoothly ? 



Addons are easy to update, it is a very common task when you are developing and your own. The worst risk is that uninstalling modules is only possible through the GUI (AFAIK, please comment on this if you are reading and know how to uninstall through CLI), so if you really break something with your addon and you can't access the GUI, it's a pain in the neck.

Usually you only get errors when you do something wrong with the code, but a team member had some trouble with google accounts module and SSL, so he got a 500 server error and had what could have been serious trouble.
<blockquote cite="mid:55645449.2000306@todoo.biz" type="cite">
I am very surprised that having bought an official support from odoo : 

1. I can't update my modules using the provided GUI (not really an issue but having a broken GUI is weired) 
2. I still have to deal with this banner saying that I have no support and that I must register (I am a registered client and It does not disapear) !! 
3. Support from odoo really is very very bad… slow and blocking you when you are not in line with their own agenda (SAAS hosted app). 


I am really sorry to hear that, but also very thankful for your post telling us.

I hope it helps.

--

<img src="cid:part1.02010305.08060309@bisnesmart.com" alt="Logo" hspace="5">
Rubén Cabrera
Consultor de software ERP
bisneSmart SC
Las Naves, Espai d'Innovació i Creació · 46024 - Valencia
Tlf: 900 52 56 53 rcabrera@bisnesmart.com · www.bisnesmart.com
  <img src="cid:part4.08060200.02050900@bisnesmart.com" alt="facebook" border="0" height="24" width="24"> <img src="cid:part6.02070408.08020902@bisnesmart.com" alt="twitter" border="0" height="24" width="24">      

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe