Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
13947 Widoki

I have installed Odoo 10.0 on Ubuntu 16.04 with Odoo's package installer, according to Odoo's original installation documentation: https://www.odoo.com/documentation/10.0/setup/install.html#packaged-installers.

How can I run Odoo from the command line in this setup? All advices found in the Internet do not work.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

The command to execute Odoo 10.0 from the command line with a package install on Ubuntu is simply

ubuntu@ip-192-168-xxx-xxx:~$ odoo

but the command must be executed as the user odoo which was set up by the package installer as non-shell non-login user for security reasons.

In order to execute the command odoo as the odoo user, use the following command with your regular Ubuntu user from anywhere (the first odoo is the user odoo, the second odoo is the command odoo):

ubuntu@ip-192-168-xxx-xxx:~$ sudo -H -u odoo odoo 

Use any command line option you like as described in the documentation, for example:

ubuntu@ip-192-168-xxx-xxx:~$ sudo -H -u odoo odoo -c /etc/odoo/odoo.conf -u all

Enjoy!

Cost me quite some efforts to find out, so I thought to share it for other desparate non-Linux-professionals :-)


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
paź 19
7004
0
sty 18
4348
1
maj 17
8853
1
mar 23
5675
3
gru 19
9403