Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4949 Visualizzazioni

When you update a module, but there's an unhandled error, then you can't do anything because the queue of modules to install still tries to install the module, so unless you correct the error you can't do anything in the database.

I remember reading an answer, maybe in this site, in which one person had a problem updating a module, and an answerer gave him a sql command to manually cancel the update of the module in the meantime. I think it was a table that had a field that indicated that the module was to be updated.

I can't for the life of me find this command again nor I haven't been able to find by searching the schema the table and field which did the trick. Anyone knows it?

Avatar
Abbandona
Risposta migliore

Hi, Open the postgres sql and open the table ir_module_module, then in that table find the row corresponding to your module and update the state field of that module to uninstalled from to upgrade. Or you can run the SQL query as update ir_module_module set state='uninstalled' where name='your_module_name';.

Avatar
Abbandona
Autore

Thanks that worked!

Post correlati Risposte Visualizzazioni Attività
1
mar 15
4978
1
mar 20
3049
2
apr 18
4749
1
mar 18
4633
2
feb 17
8880