2022 m. spalio 13 d., ketvirtadienis

Odoo 15 fresh server install

Automated odoo github script:

https://github.com/Yenthe666/InstallScript

odoo conf file:

/etc/odoo-server.conf

Custom addons:

/odoo/odoo-server/custom_addons
It there is problems with enterprise module, you can create your own system service script:
Default systemd odoo-server service is changed to odoo.

///odoo.service - filename
[Unit] Description=odoo [Service] Type=simple Restart=always RestartSec=1 User=odoo ExecStart=python3 /odoo/odoo-server/odoo-bin -c /etc/odoo-server.conf Environment="ODOO_HTTP_SOCKET_TIMEOUT=30" [Install] WantedBy=multi-user.target


# Enable autostart when server is restarted

sudo systemctl enable odoo.service


Restart odoo server by:

sudo service odoo restart


Killing odoo server:

sudo service odoo stop #NEWLY CREATED SERVICE
sudo pkill -f odoo-server #OLD DEFAULT  GITHUB INSTALLATION