Reputation: 1026
I am run my odoo server using this command python odoo.py -s -c conf
, according to the odoo command line document -s means saves the server configuration to the current configuration file -c means provide an alternate configuration file to a path.
On windows this command is okay to save a conf file with many parameter. But on my ubuntu machine, it only saves an empty file named "conf".
So how can I save my conf file successfully so that I could modify it in the future?
Upvotes: 1
Views: 2759
Reputation: 26768
Use only python odoo.py -s
, the saved file should be $HOME/.openerp_serverrc
In you case you give a alternative configuration file, so odoo
should have permission to write to that file:
sudo chown odoo: conf
Upvotes: 1