Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

ERROR with .deb install

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
installaddons8.08.0rc1
2 Antwoorden
14280 Weergaven
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
Annuleer
Avatar
Fabian Tribrunner
Beste antwoord

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
Annuleer
Avatar
momo
Beste antwoord

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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
How to remove addons from database ? Opgelost
install addons
Avatar
Avatar
Avatar
3
dec. 22
15269
Error when installing "G.C.C - Arabic/English" 'l10n_gcc_invoice' or "K.S.A - Invoice" 'l10n_sa_invoice' Opgelost
error install addons
Avatar
Avatar
1
aug. 24
4672
Custom addons installation
installation install addons
Avatar
Avatar
1
feb. 24
5631
Why community modules don't try to install in /opt/openerp/addons
module install addons
Avatar
1
mrt. 15
8964
How to update Addons Apps in Ubuntu 12.04 OpenERP v7?
install addons update
Avatar
Avatar
Avatar
2
mrt. 15
8702
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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