I re-cloned Odoo 9, keeping the same config. When I restarted through the start-stop-daemon, Odoo wouldn't start. I commented out each line in the config until it would start to find the offending line. It turns out the data_dir parameter causes odoo not to start.
data_dir = /opt/odoo9-live/.local/share/Odoo
If I comment out the line, the server starts. If I uncomment it, it doesn't. I believe this was a standard line but don't remember, it has been a few months since I installed Odoo 9.
ls -la /opt/odoo9-live/.local/share/Odoo/total 20d
rwx------ 5 root root 4096 Nov 2 16:33 .
drwx------ 3 root root 4096 Nov 2 16:06 ..
drwx------ 3 root root 4096 Nov 2 16:06 addons
drwxr-xr-x 3 root root 4096 Nov 2 16:33 filestore
drwx------ 2 root root 4096 Nov 2 16:33 sessions
I tried changing ownership to odoo_user:odoo_user but that made no difference. Anyone have any ideas about what could cause this data_dir parameter to stop the daemon from starting?