Hi all,
OS: NethServer-7.6.1810 same as Centos-7.6.1810 // updated as of today.
Running under VirtualBox: Version 6.0.4 r128413 (Qt5.6.2)
- User: odoo
personnal folder: /opt/odoo
- Odoo version: 12
- Installation path: /opt/odoo/odoo-12
- Service name: odoo12
- DataBase: Odoo-12
Everything is working correctly
I want to update:
# systemctl stop odoo12
# su - odoo
$ whoami
odoo
$ cd /opt/odoo/odoo12
$ pwd
/opt/odoo/odoo12
$ git fetch origin 12.0
remote: Enumerating objects: 1459, done.
remote: Counting objects: 100% (1459/1459), done.
remote: Compressing objects: 100% (580/580), done.
remote: Total 867 (delta 710), reused 333 (delta 285), pack-reused 0
Receiving objects: 100% (867/867), 1.88 MiB | 137.00 KiB/s, done.
Resolving deltas: 100% (710/710), completed with 487 local objects.
From https://github.com/odoo/odoo
* branch 12.0 -> FETCH_HEAD
$ git reset --hard origin/12.0
HEAD is now at c545783 [FIX] account: communication size
$ exit
AS USER ROOT:
# systemctl restart odoo12 -u all -d Odoo-12
invalid option -- 'u'
I ALSO TRIED:
# usermod -aG wheel odoo
# visudo
...
## Allows people in group wheel to run all commands
%wheel ALL=(ALL) ALL
...
# su - odoo
$ sudo systemctl restart odoo12 -u all -d Odoo-12
[sudo] password for odoo: ODOO PASSWORD
systemctl: invalid option -- 'u'$
What am I missing?
Any suggestions appreciated,
Michel-André