if by chance addons-path is missing, it crashes the databse
Bug #373176 reported by
Shah Japan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If by mistake server is started without addons-path or with wrong addons-path
then it crashes the modules status, and unable to get back to the original state of the modules.
I tried --update all, it works sometimes but not for all the cases.....
tags: | added: addons-path |
Changed in openobject-server: | |
status: | New → Confirmed |
To post a comment you must log in.
here is one basic solution, if someone is facing the similar problem,
make a list of modules that you have installed previously and don't forget to add dependent modules of each module, in the list too...
and update the state of listed modules to 'installed' from postgres database
,go to the backend - postgres through your postgresql client
e.g.
psql db_name
update ir_module_module set state = 'installed' where name in ('base' ,'product' ,'sale' ); ,etc...
and start the server with --update all --database db_name