Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • होटल
    रियल एस्टेट
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    कंसल्टिंग
    • अकाउंटिंग फ़र्म
    • Odoo पार्टनर
    • मार्केटिंग एजेंसी
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • टेक्सटाइल
    • Metal
    • फ़र्नीचर
    • फ़ूड
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    अन्य
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    डेमो देखें
  • कीमत
  • सहायता

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • सीआरएम
  • e-Commerce
  • लेखांकन
  • इन्वेंटरी
  • PoS
  • प्रोजेक्ट
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

ERROR with .deb install

Subscribe

Get notified when there's activity on this post

This question has been flagged
installaddons8.08.0rc1
2 Replies
14273 Views
Avatar
Sebastian Bollatti

After a fresh install of Debian 7 Wheezzy Gnome2 64 bits and doing "todays" .deb install of 8.0 got this error:

:~$ openerp-server stop
Traceback (most recent call last):
  File "/usr/bin/openerp-server", line 5, in <module>
    openerp.cli.main()
  File "/usr/lib/python2.7/dist-packages/openerp/cli/__init__.py", line 58, in main
    for m in module.get_modules():
  File "/usr/lib/python2.7/dist-packages/openerp/modules/module.py", line 348, in get_modules
    plist.extend(listdir(ad))
  File "/usr/lib/python2.7/dist-packages/openerp/modules/module.py", line 343, in listdir
    return map(clean, filter(is_really_module, os.listdir(dir)))
OSError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/addons'

 

...i checked the folder and doesn't exist. So... and now?

I tried to create one with mkdir on root user and then:

:~$ openerp-server stop

and seems to work but when I start again I get:

admin@Admin:~$ odoo.py -c /opt/odoo/addons/odoo.conf -s
ERROR: couldn't write the config file cos' i am not odoo user and don't have permision, OK
2014-09-19 14:33:29,462 19145 INFO ? openerp: OpenERP version 8.0-29e08a2
2014-09-19 14:33:29,462 19145 INFO ? openerp: addons paths: ['/home/admin/.local/share/Odoo/addons/8.0', u'/usr/lib/python2.7/dist-packages/openerp/addons', u'/usr/lib/python2.7/dist-packages/addons']
2014-09-19 14:33:29,462 19145 INFO ? openerp: database hostname: localhost
2014-09-19 14:33:29,462 19145 INFO ? openerp: database port: 5432
2014-09-19 14:33:29,462 19145 INFO ? openerp: database user: admin  <=== HERE IS 1st PROBLEM User should be: odoo and password ??? i don't know, tryed with "admin" or "odoo" or "False" but no way
2014-09-19 14:33:29,793 19145 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069

 

I think it's easy to reboot and will work flawlessly. I also want addons of "country localization" of other unsupported addons, so it shows 3 path for that:

1) /home/admin/.local/share/Odoo/addons/8.0

2) /usr/lib/python2.7/dist-packages/openerp/addons

3) /usr/lib/python2.7/dist-packages/addons

Which one?

...i tryed on these 3 of them and it was not possible to see an extra-addons on shinnig brand new odoo final release!

What am I doing wrong?

Regards and thanks in advance!

0
Avatar
Discard
Avatar
Fabian Tribrunner
Best Answer

hi,

there should be a config file in /etc/odoo-server.conf

if not it is in /path/to/odoo-server/debian/openerp-server.conf 
cp it to /etc/ (odoo-Default: /etc/openerp-server.conf)

the conf.file contains:
---------------------------------------------------
[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
#you might have an other db user
db_user = odoo 
db_password = False
#for more addons path use "," between
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons, /opt/odoo/mycustomaddons
---------------------------------------------------

starting the server with ./path to your odooserver/openerp-server

this also may help: https://www.odoo.com/forum/help-1/question/what-is-the-full-list-of-command-line-options-for-odoo-59139

I prefer the install with a shell-script via github. more of control ;-)

regards
fabian 

 

0
Avatar
Discard
Avatar
momo
Best Answer

Hello here are my findings with the nightly DEB

Running odoo.py , will run the server with the user ownership instead of odoo.

To Run Odoo Server as "odoo"

sudo -H -u odoo odoo.py

It should work but you would get the previously mentioned error

OSError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/addons'

It means odoo is loading a "default" configuration file from "somewhere" (still haven't found where it is yet).

To enforce using the correct config file rerun the command providing the "correct" config file

sudo -H -u odoo odoo.py --config=/etc/odoo/openerp-server.conf

Hope it did some problem solving, but still scaffolding and other command tend to fail due to the "default configuration file that exists somewhere".

You should be probably be good by just creating an addon folder in the meantime

'/usr/lib/python2.7/dist-packages/addons'

 

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How to remove addons from database ? Solved
install addons
Avatar
Avatar
Avatar
3
दिस॰ 22
15262
Error when installing "G.C.C - Arabic/English" 'l10n_gcc_invoice' or "K.S.A - Invoice" 'l10n_sa_invoice' Solved
error install addons
Avatar
Avatar
1
अग॰ 24
4655
Custom addons installation
installation install addons
Avatar
Avatar
1
फ़र॰ 24
5625
Why community modules don't try to install in /opt/openerp/addons
module install addons
Avatar
1
मार्च 15
8952
How to update Addons Apps in Ubuntu 12.04 OpenERP v7?
install addons update
Avatar
Avatar
Avatar
2
मार्च 15
8696
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

Odoo की सबसे बड़ी खासियत है कि यह इस्तेमाल करने में बहुत आसान है और यह पूरी तरह से इंटिग्रेट किया हुआ है.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now