Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm trying to update from Odoo 7 to Odoo 8 trunk on a linux Centos 6.4 server.
I was using Python 2.6 with Odoo 7, but updated to Python 2.7 for Odoo 8.
My problem is that when I run 'service openerp start' I receive the following message:
$ service openerp start
Starting OpenERP Server Daemon (openerp-server): [ OK ]
$ Traceback (most recent call last):
File "/usr/bin/openerp-server", line 4, in <module>
File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 2603, in <module>
"""Split a string or iterable thereof into (section,content) pairs
File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 666, in require
for callback in self.callbacks:
File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 565, in resolve
I noticed that the traceback above is referencing files at /usr/lib/python2.6/site-packages/ which is where Odoo 7 was originally installed. However Python 2.7 and Odoo 8 was installed at /usr/local/lib/python2.7/site-packages/
How do I make Odoo run out of /usr/local/lib/python2.7/site-packages/ instead of /usr/lib/python2.6/site-packages/ ?
I've updated my openerp-server.conf file to include the following addons path, but it doesn't make any difference.
addons_path = /usr/local/lib/python2.7/site-packages/openerp-8.0dev_20140416_230101-py2.7.egg/openerp/addons
Please help, I've been trying to install and use Odoo 8 for 6hrs now and am going around in circles.
Nevermind I just worked this out.
I needed to change some permissions using chown openerp:openerp on the following files:
And then change to the openerp user and start openerp while specifying the openerp-server.conf file.
sudo su openerp
openerp-server -c /etc/openerp-server.conf
Finally a working Odoo 8! Time to have some fun.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/22/14, 11:40 AM|
|Seen: 2365 times|
|Last updated: 7/27/15, 9:44 PM|