Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi I'm developing a module and constantly making changes to the module.
To stop and start the deb Openerp server I use
sudo /etc/init.d/openerp stop and
sudo /etc/init.d/openerp start
However I've noticed its not very consistent! More often than not, errors are not cleared
I'm having do a
sudo reboot to make sure , but this is very time consuming!
Does anyone know of a better way? OR is their another service I need to stop?
EDIT The behavior is ....I'll right some bad code (I'm good at this) transfer the module to the addons folder restart the openerp server and I'll get some error message (openerp obviously runs through the addons code to check and validate it), Then I'll remove the module, restart the server, but the error wont clear until I reboot.
THOUGHTS Could it be a python or postgresql service?
If if I use
ps -Al to list running services then
sudo /etc/init.d/openerp stop followed by `
ps -Al again, I can identify that
openerp-server is stopped by this command!
Sometimes it happens that there is a deadlock in postgresql. You can see such situations if you see
waiting postgres processes when you execute
ps ax .
For a complete restart perform:
service openerp-server stop
service postgresql restart
service openerp-server start
(I assume that you have the required scripts in /etc/init.d)
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/4/13, 8:45 PM|
|Seen: 39699 times|
|Last updated: 1/21/17, 6:57 AM|