Odoo Aide


5 Answers

Atul Arvind

--Atul Arvind--
| 4 3 7
Vadodara, Inde
--Atul Arvind--


I am odoo Enthusiast/Developer from Vadodara, India. Working with odoo from v5 to v11 and other opensource technology since 5+ years. Having Strong Expertise in

Odoo Development

Odoo Customization

Odoo Training

Odoo Integration

Server Administration

Odoo Migration


Here is my StackOverflow profile.  you can also find me on LinkedIn.

Contact: atul.surficle@gmail.com.

Atul Arvind
10/12/2015 02:05

If you have installed odoo using guides available on internet and have created system user "odoo" first you need tooo change the user using 

sudo su - odoo -s /bin/bash
Then you can restart/start/stop the server without any error. 
Hope this helps.

Axel Mendoza

--Axel Mendoza--
| 8 8 10
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza
10/12/2015 00:14


Odoo needs to be run it by an user different that root. I you are running it on localhost you could use your own user, but if you are running it on a server you need to create an user just to run Odoo.

This is how you could create a new user named odoo on the server:

adduser --system --group odoo

Depending of what you are using for manage the Odoo server you need to configure the new user as the own for run the Odoo server.

For upstart like services using start-stop-daemon, check that the line that execute Odoo have the --chuid specified like:

start-stop-daemon --start --quiet --pidfile ${PIDFILE} --chuid ${USER} --background --make-pidfile --exec ${DAEMON} -- ${DAEMON_OPTS}

For systemd services, check that the user to run the service is specified like:

Description=Odoo Open Source ERP and CRM
After=network.target postgresql.service
ExecStart={service_bin} {service_args}

For supervisor services, check that the user to run the service is specified like:

directory = {base_path}/{instance}
command = {service_bin} {service_args}
stdout_logfile = {base_path}/logs/{instance}/{proy_name}/supervisor-out.log
stderr_logfile = {base_path}/logs/{instance}/{proy_name}/supervisor-err.log

1 Commentaires
Axel Mendoza
10/12/2015 17:19

You accept my answer but forget to upvote it too, :)

Shivam Dudhat
11/12/2015 05:33

it has also ask for odoo password where i can find it 

when i was use sudo su - odoo -s /bin/bash  command 

Axel Mendoza
11/12/2015 23:12

that is the password for the new user odoo created, you could change it with this command
passwd odoo

Laxicon Solution, Shivam Dudhat
11/12/2015 23:50

when i was install any app or library at that time it will give me an erro like odoo@ACRVCRSERVER1:~$ apt-get install postgresql E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? odoo@ACRVCRSERVER1:~$ sudo apt-get install postgresql [sudo] password for odoo: odoo is not in the sudoers file. This incident will be reported. odoo@ACRVCRSERVER1:~$ both way i was try but not successfully execute

Atul Arvind
15/12/2015 00:50

you need to add odoo user in sudoers file. this will help you http://askubuntu.com/a/113416/85015.

Poser une question
Keep Informed
1 Abonné(e)s
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now