Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
11000 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 18
4635
2
thg 3 15
5891
1
thg 1 25
23147
1
thg 2 19
3224
3
thg 12 16
3396