Odoo Help


3 Answers

Yannick Vaucher Switzerland

--Yannick Vaucher--

| 5 7 11
Lausanne, Switzerland
--Yannick Vaucher--

Yannick Vaucher Switzerland
2/28/13, 3:43 PM

Using the lp:anybox.recipe.openerp to deploy our openerp instances, we firstly started to use a daemon launcher before we droped it to use supervisor in our buildout recipe. So at that time, I created a merge proposal to add an init.d launcher on anybox recipe.

Here to start with something, you can find 2 templates used to generate the init.d file:

It should be easy for you to replace the variables to have a static daemon launcher.

Something like:

PYTPATH= /usr/bin/python
DAEMON= <project_path>/server/openerp-server
CONFIG= <config_path>/instance.ini
1 Comment
Camptocamp SA Switzerland
3/8/13, 8:53 AM

Just a little comment about gunicorn. It is only useful for version v6.1. In v7.0 you can use he built-in multicorn launched by default.


Cyril Gaspard (GEM) France

--Cyril Gaspard (GEM)--
| 6 6 10
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Rank #1 on first OpenERP forum

OpenERP award "Top Contributor" 2011, for my actions on forum

Odoo forum moderator

Cyril Gaspard (GEM) France
3/1/13, 10:04 PM


"Failed to load server-wi$ The web module is provided by the addons found in the openerp-web project.

Maybe you forgot to add web addons in your addons_path in your openerp-server.conf file.

effectively your web addons are not loaded.

I think you used bazaar to download branch launchpad server addons and web, in this case, in your server config file, in options add line option in not yet done addons_path and add path to your web/addons and restart openerrp server.

example : addons_path = absolute_path/addons,absolute_path/web/addons Hope this will help.


Peter Seng China
2/28/13, 10:31 PM

Copy OpenERP configuration file to /etc

sudo cp /opt/openerp/v7/server/install/openerp-server.conf  /etc/openerp-server.conf

Change the file permissions and file ownership to the openerp user.

sudo chown openerp: /etc/openerp-server.conf

sudo chmod 640 /etc/openerp-server.conf

You can download this edited copy with the following command

sudo wget http://www.altinisik.net/openerp/openerp-server -O /etc/init.d/openerp-server

edit it.

vi /etc/init.d/openerp-server

And we just need to change the location of the daemon.

Make the init script executable.

sudo chmod +x /etc/init.d/openerp-server

have a test

sudo /etc/init.d/openerp-server stop

sudo /etc/init.d/openerp-server start
Datenpol gmbh, tlauber Austria
3/4/13, 7:59 AM

do not forget to add the addons_path in openerp-server.conf

Cyril Gaspard (GEM) France
3/8/13, 4:48 PM

@Peter Seng's , to be very complete, where is the command update-rc.d for boot sequencing? Bye

Ask a Question
Keep Informed
0 follower(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 E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now