auon0q
Last Updated: March 02, 2016
·
9.264K
· benwah
Dab3070687bb065a7d43df70c9651375

How to install OpenERP 8.0 Alpha on a fresh Debian / Ubuntu server.

I noted all the steps I used to install OpenERP 8.0 Alpha for the purpose of testing its ecommerce and CMS features. This might be useful for some of you. The steps could possibly be improved, but this should be pretty clean. Note! Use only if you want to test OpenERP 8.0, it's not stable!!

Assumptions:

  • You have a fresh Debian / Ubuntu server with root access. (I used Ubuntu in this Case, but it might also work with Debian).
  • Server can be reached via a hostname of some sort.

Warning:

  • On lines 2-6 I'm blocking all incoming ports except 22 and 80 via ubuntu firewall (ufw). If your SSH session is not on port 22, make sure to allow that port too. If you are running debian, ufw is not installed by default (I think).


$ sudo apt-get install python-dev build-essential postgresql libpq-dev uwsgi nginx bzr git graphviz ghostscript postgresql-client libxml2-dev libxslt1-dev libjpeg62-dev zlib1g-dev python-virtualenv python-pip gettext libldap2-dev libsasl2-dev uwsgi-plugin-python
$ sudo ufw allow 80 22
$ editor /etc/ufw/ufw.conf
ENABLED=yes

$ sudo service ufw restart
$ sudo mkdir /var/www
$ sudo chown www-data:www-data /var/www
$ cd /srv
$ sudo mkdir openerp
$ sudo chown MY_USERNAME openerp
$ cd openerp
$ bzr branch lp:openerp-web
$ bzr branch lp:openobject-server
$ bzr branch lp:openobject-addons
$ sudo -u postgres -s createuser openerp -P

ENTER DESIRED DB PASSWORD

$ sudo -u postgres -s createdb openerptest -O openerp
$ virtualenv --no-site-packages env
$ source env/bin/activate
$ pip install pypdf
$ cd openobject-server
$ python setup.py develop
$ sudo ln -s /srv/openerp/openerp-web/addons/* /srv/openerp/openobject-server/openerp/addons/
$ sudo ln -s /srv/openerp/openobject-addons/* /srv/openerp/openobject-server/openerp/addons/
$ mkdir config
$ editor wsgi.py
import openerp
openerp.multi
process = True # Nah!

openerp.conf.serverwidemodules = ['web']

conf = openerp.tools.config
conf['addonspath'] = '/srv/openerp/openobject-server/openerp/addons'
conf['db
name'] = 'openerptest'
conf['db
host'] = 'localhost'
conf['dbuser'] = 'openerp'
conf['db
port'] = 5432
conf['dbpassword'] = 'MYDB_PASSWORD'

application = openerp.service.wsgiserver.application
openerp.service.server.load
serverwidemodules()

$ editor tmp.conf
[options]
addonspath=/srv/openerp/openobject-server/openerp/addons
db
name=openerptest
db
host=localhost
dbuser=openerp
db
port=5432
dbpassword=MYDB_PASSWORD

$ editor config/uwsgi.ini
[uwsgi]
chdir=/srv/openerp/openobject-server/
uid=www-data
gid=www-data
virtualenv=/srv/openerp/env
socket=/srv/openerp/uwsgi.sock
wsgi-file=wsgi.py
master=True
vacuum=True
max-requests=5000
buffer-size=32768

$ sudo ln -s /srv/openerp/openobject-server/config/uwsgi.ini /etc/uwsgi/apps-enabled/openerp.ini
$ editor config/nginx.conf
server {
listen 80;
servername MYHOSTNAME;
clientmaxbodysize 50M;
keepalive
timeout 120;

location / {
include uwsgi_params;
uwsgi_read_timeout 300;
uwsgi_pass unix:/srv/openerp/uwsgi.sock;
}

}

$ sudo ln -s /srv/openerp/openobject-server/config/nginx.conf /etc/nginx/sites-enabled/openerp
$ sudo editor /etc/nginx/nginx.conf
uncomment servernameshashbucketsize 64

$ sudo chown -R www-data:www-data /srv/openerp
$ sudo su www-data
$ cd /srv/openerp/openobject-server/
$ source ../env/bin/activate
$ ./openerp-server -c tmp.conf -d openerp_test -u all --stop-after-init

LOGOUT WWW-DATA (ctrl-D)

$ sudo service uwsgi restart
$ sudo service nginx restart
</pre>

Now visit site, login using admin:admin
Also demo user: demo:demo

Say Thanks
Respond

17 Responses
Add your response

13480

I've setup follow this article, but there have an error in /var/log/uwsgi/app/openerp.log:
ImportError: No module named lxml
and I've install lxml by:
sudo apt-get install python-lxml
the error still there.

over 1 year ago ·
13481
Dab3070687bb065a7d43df70c9651375

Ok maybe i've missed a step, try:

$ sudo su www-data
$ bash
$ cd /srv/openerp/openobject-server
$ source ../env/bin/activate
$ pip install lxml

Does that seem to fix it?

over 1 year ago ·
13483
Dab3070687bb065a7d43df70c9651375

By the way, you might want to

$ apt-get remove python-lxml

Just to avoid conflicts with lxml installed in the virtualenv.

over 1 year ago ·
13484

yes the www-data user's shell is a bug, I use:<br/>
sudo su www-data -s /bin/bash</code> but I have another problem with my Ubuntu Server 13.10, I can ping network like 'pypi.python.org', but when wget or pip install, I get:<br/> Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement lxml in /usr/lib/python2.7/dist-packages</code>This confuse me. I try to fix it by dns, no way.

over 1 year ago ·
13485

How should I do without virtualenv?Thanks.

over 1 year ago ·
13486

I get it. just comment virtualenv in uwsgi.ini!

over 1 year ago ·
13487

Thanks for your detail tutorial, benwah.

over 1 year ago ·
13488
Dab3070687bb065a7d43df70c9651375

Strange, I just tried to "pip install lxml" now in a virtualenv and it works as expected.

Are you in China? Can you try with a Chinese mirror? Try to install this way:

pip install --index-url http://pypi.tuna.tsinghua.edu.cn/simple lxml

Also regarding virtualenv:

  • Even if you don't use virtualenv, you will need to install via pypi or a pypi mirror
  • For python projects like this, most likely the apt-get install python-[package] will not get the needed version.
  • virtualenv is recommended because you can "isolate" your python environment to avoid conflicts, but you're right, it's not necessary. As you said, you can remove virtualenv in uwsgi, and install packages system-wide (use either pip or easy_install).

Good luck!

over 1 year ago ·
13497

My network trouble is't about pypi site, but because the router in my house,. I've build a ubuntu mirror in my server, I can visit internet in my Windows PC. I'll test the virtualenv after this weekend when I return my office.</p>

Thanks again anyway. And forgive my poor Chinglish please :).</p>

The strange trouble of my Ubuntu server is, I can download by</p>

wget -4 url</code></pre>but when </p>wget url</code></pre>I got a fail. I'm not familiar to Linux, even though I search internet for 2 days, I disabled the Ipv6 feature in Ubuntu, but this problem still existing. I don't know how to enforce apt-get or pip or some else similar tools using wget to perform connection via Ipv4 but not Ipv6.</p>
over 1 year ago ·
13498
Dab3070687bb065a7d43df70c9651375

I may be completely wrong, and i'm not a routing expert but:

Ubuntu has a wrapper around network connections: network-manager. If you are running Ubuntu server, this wrapper is not really necessary, but it's useful if your home server is connected using wifi.

If your server is connected using rj45 cable, you can try.. maybe to sudo apt-get remove network-manager

Then you manually configure your /dev/eth0 interface, here's a typical ipv4 configuration (in /etc/network/interfaces )

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.101 # Your server's local IP address.
        network 192.168.0.0
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.0.1 # Router's IP
        dns-nameservers 192.168.0.1 # Router's IP, if router doesn't forward DNS, then you can specify your ISP's DNS server addresses.
over 1 year ago ·
13920
0f416957bfcf3458d495fba30a133651

Thanks for detailed tutorial and kind help.
1. How do I update OpenERP if I have followed this tutorial?
2. How do I install Addon/Plugins from third party repo?

Thanks again!

over 1 year ago ·
13972
0f416957bfcf3458d495fba30a133651

How to I enable Live Chat / Instant Messaging functionality inside ERP?

over 1 year ago ·
13996
0f416957bfcf3458d495fba30a133651

I did rm -fr /srv/openerp/openobject-addons
But Now when I'm trying
cd openerp bzr branch lp:openobject-addons
/srv/openerp/openobject-addons directory is Blank

I'm totally frustrated but not able to get addons using bzr.

Please Help!

over 1 year ago ·
14002
Dab3070687bb065a7d43df70c9651375

Hi,

How do I update OpenERP if I have followed this tutorial? How do I install Addon/Plugins from third party repo?

Updating OpenERP is not easy, OpenERP recommends to pay them so that they update it for you. I have thought of some possiblities by using SQLAlchemy or Django ORM Database inspector, but I am not sure it's viable.

How to I enable Live Chat / Instant Messaging functionality inside ERP?

Not sure.. one of the plugins I guess.

I did rm -fr /srv/openerp/openobject-addons But Now when I'm trying cd openerp bzr branch lp:openobject-addons /srv/openerp/openobject-addons directory is Blank

Technically cloning the bzr repository should just work.. are you sure that it finished getting the repo? (It takes a really long time) send me an email I might be able to help further: bclennett (at) caravan.coop

over 1 year ago ·
14029
0f416957bfcf3458d495fba30a133651

Well, Thank you for your kind help, but I managed to solve all those problem except chat one.

1] If I do bzr update on addon's directory then it updates modules/code. I have automated it by daily cron job. Do you think that will help to get me updates?

2] Chat plugin takes option such as

$ openerp-server --gevent

and by default it run on port number 8072

Any idea, how do I provide it's configuration in config files to that it will work?

Thanks again..

over 1 year ago ·
14038
0f416957bfcf3458d495fba30a133651

Hi,
When I run following command:

./openerp-server -c tmp.conf -d openerpdb -u all --stop-after-init

OUTPUT:

/srv/openerp/openerpenv/local/lib/python2.7/site-packages/pkg_resources.py:1054: UserWarning: /var/www/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
  warnings.warn(msg, UserWarning)
2014-04-14 05:35:08,048 3699 INFO ? openerp: OpenERP version 8.0alpha1
2014-04-14 05:35:08,049 3699 INFO ? openerp: addons paths: ['/var/www/.local/share/OpenERP/addons/8.0', u'/srv/openerp/server/openerp/addons', '/srv/openerp/server/openerp/addons']
2014-04-14 05:35:08,049 3699 INFO ? openerp: database hostname: localhost
2014-04-14 05:35:08,049 3699 INFO ? openerp: database port: 5432
2014-04-14 05:35:08,049 3699 INFO ? openerp: database user: openerp
2014-04-14 05:35:08,191 3699 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-04-14 05:35:08,211 3699 INFO ? openerp.modules.loading: init db
2014-04-14 05:35:09,149 3699 INFO openerpdb openerp.modules.loading: loading 1 modules...
2014-04-14 05:35:09,235 3699 INFO openerpdb openerp.modules.module: module base: creating or updating database tables
2014-04-14 05:35:09,928 3699 INFO openerpdb openerp.osv.orm: Computing parent left and right for table ir_ui_menu...
2014-04-14 05:35:12,671 3699 INFO openerpdb openerp.osv.orm: Computing parent left and right for table res_partner_category...
2014-04-14 05:35:14,072 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'report_file'
2014-04-14 05:35:14,073 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'wkf_model_name'
2014-04-14 05:35:14,073 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'crud_model_name'
2014-04-14 05:35:14,074 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'global'
2014-04-14 05:35:14,074 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'web_icon_data'
2014-04-14 05:35:14,075 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'web_icon_hover_data'
2014-04-14 05:35:14,075 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'needaction_enabled'
2014-04-14 05:35:14,075 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'menus_by_module'
2014-04-14 05:35:14,311 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'reports_by_module'
2014-04-14 05:35:14,448 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'views_by_module'
2014-04-14 05:35:14,586 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'logo_web'
2014-04-14 05:35:14,589 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'email'
2014-04-14 05:35:14,592 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'phone'
2014-04-14 05:35:14,594 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'display_name'
2014-04-14 05:35:14,596 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'image_medium'
2014-04-14 05:35:14,597 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'image_small'
2014-04-14 05:35:14,598 3699 INFO openerpdb openerp.osv.orm: storing computed values of fields.function 'commercial_partner_id'
2014-04-14 05:35:14,605 3699 INFO openerpdb openerp.modules.loading: module base: loading base_data.xml
2014-04-14 05:35:14,878 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_currency_data.xml
2014-04-14 05:35:16,350 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_country_data.xml
2014-04-14 05:35:17,620 3699 INFO openerpdb openerp.modules.loading: module base: loading security/base_security.xml
2014-04-14 05:35:17,741 3699 INFO openerpdb openerp.modules.loading: module base: loading base_menu.xml
2014-04-14 05:35:17,871 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_security.xml
2014-04-14 05:35:17,909 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_config.xml
2014-04-14 05:35:17,940 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res.country.state.csv
2014-04-14 05:35:18,119 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_actions.xml
2014-04-14 05:35:18,471 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_config_parameter_view.xml
2014-04-14 05:35:18,530 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_cron_view.xml
2014-04-14 05:35:18,606 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_filters.xml
2014-04-14 05:35:18,685 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_mail_server_view.xml
2014-04-14 05:35:18,746 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_model_view.xml
2014-04-14 05:35:19,125 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_attachment_view.xml
2014-04-14 05:35:19,190 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_rule_view.xml
2014-04-14 05:35:19,259 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_sequence_view.xml
2014-04-14 05:35:19,380 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_translation_view.xml
2014-04-14 05:35:19,450 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_ui_menu_view.xml
2014-04-14 05:35:19,512 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_ui_view_view.xml
2014-04-14 05:35:19,636 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_values_view.xml
2014-04-14 05:35:19,749 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/osv_memory_autovacuum.xml
2014-04-14 05:35:19,757 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_model_report.xml
2014-04-14 05:35:19,768 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_logging_view.xml
2014-04-14 05:35:19,833 3699 INFO openerpdb openerp.modules.loading: module base: loading ir/ir_qweb.xml
2014-04-14 05:35:19,852 3699 INFO openerpdb openerp.modules.loading: module base: loading workflow/workflow_view.xml
2014-04-14 05:35:20,199 3699 INFO openerpdb openerp.modules.loading: module base: loading module/module_view.xml
2014-04-14 05:35:20,354 3699 INFO openerpdb openerp.modules.loading: module base: loading module/module_data.xml
2014-04-14 05:35:20,431 3699 INFO openerpdb openerp.modules.loading: module base: loading module/module_report.xml
2014-04-14 05:35:20,445 3699 INFO openerpdb openerp.modules.loading: module base: loading module/wizard/base_module_import_view.xml
2014-04-14 05:35:20,467 3699 INFO openerpdb openerp.modules.loading: module base: loading module/wizard/base_module_update_view.xml
2014-04-14 05:35:20,500 3699 INFO openerpdb openerp.modules.loading: module base: loading module/wizard/base_language_install_view.xml
2014-04-14 05:35:20,532 3699 INFO openerpdb openerp.modules.loading: module base: loading module/wizard/base_import_language_view.xml
2014-04-14 05:35:20,564 3699 INFO openerpdb openerp.modules.loading: module base: loading module/wizard/base_module_upgrade_view.xml
2014-04-14 05:35:20,633 3699 INFO openerpdb openerp.modules.loading: module base: loading module/wizard/base_module_configuration_view.xml
2014-04-14 05:35:20,650 3699 INFO openerpdb openerp.modules.loading: module base: loading module/wizard/base_export_language_view.xml
2014-04-14 05:35:20,685 3699 INFO openerpdb openerp.modules.loading: module base: loading module/wizard/base_update_translations_view.xml
2014-04-14 05:35:20,719 3699 INFO openerpdb openerp.modules.loading: module base: loading module/wizard/base_module_immediate_install.xml
2014-04-14 05:35:20,734 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_company_view.xml
2014-04-14 05:35:20,910 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_request_view.xml
2014-04-14 05:35:20,969 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_lang_view.xml
2014-04-14 05:35:21,037 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_partner_report.xml
2014-04-14 05:35:21,052 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_partner_view.xml
2014-04-14 05:35:24,353 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_bank_view.xml
2014-04-14 05:35:24,512 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_country_view.xml
2014-04-14 05:35:24,621 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_currency_view.xml
2014-04-14 05:35:24,718 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_users_view.xml
2014-04-14 05:35:24,973 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_partner_data.xml
2014-04-14 05:35:25,013 3699 INFO openerpdb openerp.modules.loading: module base: loading res/ir_property_view.xml
2014-04-14 05:35:25,076 3699 INFO openerpdb openerp.modules.loading: module base: loading security/base_security.xml
2014-04-14 05:35:25,389 3699 INFO openerpdb openerp.modules.loading: module base: loading security/ir.model.access.csv
2014-04-14 05:35:26,031 3699 INFO openerpdb openerp.modules.loading: module base: loading base_demo.xml
2014-04-14 05:35:26,152 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_partner_demo.xml
2014-04-14 05:35:27,209 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_partner_demo.yml
2014-04-14 05:35:28,631 3699 INFO openerpdb openerp.modules.loading: module base: loading res/res_partner_image_demo.xml
2014-04-14 05:35:29,237 3699 INFO openerpdb openerp.modules.loading: updating modules list
2014-04-14 05:35:30,168 3699 ERROR openerpdb openerp.addons.report.models.report: You need wkhtmltopdf to print a pdf version of the reports.
2014-04-14 05:35:30,206 3699 WARNING openerpdb openerp.addons.website_event.controllers.main: Please install GeoIP python module to use events localisation.
2014-04-14 05:35:30,227 3699 INFO openerpdb openerp.http: HTTP Configuring static files
2014-04-14 05:35:30,964 3699 INFO openerpdb openerp.modules.loading: loading 1 modules...
2014-04-14 05:35:31,080 3699 INFO openerpdb openerp.modules.loading: loading 13 modules...
2014-04-14 05:35:31,081 3699 INFO openerpdb openerp.modules.module: module web_tests: creating or updating database tables
2014-04-14 05:35:31,093 3699 INFO openerpdb openerp.modules.module: module report: creating or updating database tables
2014-04-14 05:35:31,272 3699 INFO openerpdb openerp.modules.loading: module report: loading views/layouts.xml
2014-04-14 05:35:31,362 3699 INFO openerpdb openerp.modules.loading: module report: loading views/views.xml
2014-04-14 05:35:31,497 3699 INFO openerpdb openerp.modules.loading: module report: loading data/report_paperformat.xml
2014-04-14 05:35:31,520 3699 INFO openerpdb openerp.modules.loading: module report: loading security/ir.model.access.csv
2014-04-14 05:35:31,550 3699 INFO openerpdb openerp.modules.module: module web: creating or updating database tables
2014-04-14 05:35:31,551 3699 INFO openerpdb openerp.modules.loading: module web: loading views/webclient_templates.xml
2014-04-14 05:35:31,643 3699 INFO openerpdb openerp.modules.module: module base_import: creating or updating database tables
2014-04-14 05:35:32,140 3699 INFO openerpdb openerp.modules.loading: module base_import: loading security/ir.model.access.csv
2014-04-14 05:35:32,257 3699 INFO openerpdb openerp.modules.module: module process: creating or updating database tables
2014-04-14 05:35:32,603 3699 INFO openerpdb openerp.modules.loading: module process: loading security/ir.model.access.csv
2014-04-14 05:35:32,645 3699 INFO openerpdb openerp.modules.loading: module process: loading process_view.xml
2014-04-14 05:35:32,900 3699 INFO openerpdb openerp.modules.module: module web_calendar: creating or updating database tables
2014-04-14 05:35:32,910 3699 INFO openerpdb openerp.modules.module: module web_diagram: creating or updating database tables
2014-04-14 05:35:32,919 3699 INFO openerpdb openerp.modules.module: module web_gantt: creating or updating database tables
2014-04-14 05:35:32,928 3699 INFO openerpdb openerp.modules.module: module web_graph: creating or updating database tables
2014-04-14 05:35:32,937 3699 INFO openerpdb openerp.modules.module: module web_kanban: creating or updating database tables
2014-04-14 05:35:32,946 3699 INFO openerpdb openerp.modules.module: module web_view_editor: creating or updating database tables
2014-04-14 05:35:32,955 3699 INFO openerpdb openerp.modules.module: module web_kanban_gauge: creating or updating database tables
2014-04-14 05:35:32,965 3699 INFO openerpdb openerp.modules.loading: loading 13 modules...
2014-04-14 05:35:32,968 3699 INFO openerpdb openerp.modules.loading: loading 13 modules...
2014-04-14 05:35:32,970 3699 INFO openerpdb openerp.modules.loading: loading 13 modules...
2014-04-14 05:35:33,143 3699 INFO openerpdb openerp.modules.loading: Modules loaded.
2014-04-14 05:35:33,147 3699 INFO openerpdb openerp.osv.orm: Computing parent left and right for table ir_ui_menu...
2014-04-14 05:35:33,198 3699 INFO openerpdb openerp.osv.orm: Computing parent left and right for table res_partner_category...
2014-04-14 05:35:33,209 3699 INFO openerpdb openerp.service.server: Initiating shutdown
2014-04-14 05:35:33,209 3699 INFO openerpdb openerp.service.server: Hit CTRL-C again or send a second signal to force the shutdown.

1] why ERROR: openerp.addons.report.models.report: You need wkhtmltopdf to print a pdf version of the reports. Where as I have done pip install wkhtmltopdf

2] why WARNING: openerp.addons.website_event.controllers.main: Please install GeoIP python module to use events localisation. Even when I have installed python-goip already.

3] my pip freeze > requirements.txt file output

Babel==1.3
Jinja2==2.7.2
Mako==0.9.1
MarkupSafe==0.19
Pillow==2.4.0
PyChart==1.39
PyWebDAV==0.9.4
PyYAML==3.11
Werkzeug==0.9.4
argparse==1.2.1
docutils==0.11
feedparser==5.1.3
gdata==2.0.18
gevent==1.0
gevent-psycopg2==0.0.3
greenlet==0.4.2
lxml==3.3.4
mock==1.0.1
-e bzr+http://bazaar.launchpad.net/~openerp/openobject-server/trunk/@5178#egg=openerp-8.0alpha1-py2.7-dev_r5178
psutil==2.1.0
psycogreen==1.0
psycopg2==2.5.2
pyPdf==1.13
pydot==1.0.28
pyparsing==1.5.7
pyserial==2.7
python-dateutil==1.5
python-ldap==2.4.15
python-openid==2.2.5
pytz==2014.2
pyusb==1.0.0b1
qrcode==4.0.4
reportlab==3.0
requests==2.2.1
simplejson==3.4.0
six==1.6.1
unittest2==0.5.1
vatnumber==1.1
vobject==0.8.1c
wkhtmltopdf==0.2
wsgiref==0.1.2
xlwt==0.7.5
yolk==0.4.3

Do you think this can be some bug or Am I doing something wrong?

Thanks for your time & kind help.

over 1 year ago ·
15992
Bc4cce2a12233f4a0339c1b9a28e6e0a

Hi, I was following instructions but I have problem.

ddexu@Debian-76-wheezy-64-LAMP:/srv/openerp/openobject-server# ./openerp-server -c tmp.conf -d openerpdb -u all --stop-after-init
Traceback (most recent call last):
File "./openerp-server", line 2, in <module>
import openerp
File "/srv/openerp/openobject-server/openerp/init.py", line 70, in <module>
import cli
File "/srv/openerp/openobject-server/openerp/cli/init.py", line 5, in <module>
from openerp import tools
File "/srv/openerp/openobject-server/openerp/tools/init.py", line 27, in <module>
from convert import *
File "/srv/openerp/openobject-server/openerp/tools/convert.py", line 36, in <module>
from yamlimport import convertyamlimport
File "/srv/openerp/openobject-server/openerp/tools/yaml
import.py", line 13, in <module>
import yamltag
File "/srv/openerp/openobject-server/openerp/tools/yaml
tag.py", line 1, in <module>
import yaml
ImportError: No module named yaml

I installed python3-yaml.
Please Help.

over 1 year ago ·