Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

How to install OpenERP 8 using mod_wsgi?

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
v8installationservermod_wsgi
5 Răspunsuri
21581 Vizualizări
Imagine profil
Jaze

I would like to install OpenERP v8 using mod_wsgi on Apache. It should be accessible on a public domain using port 80. I keep getting 'No handler found'.

I found the instructions on how to install it with Apache/Nginx using proxy, however even openerp:service.wsgi_server.application() indicates that using proxy_mode is a 'fix'.

Has anybody installed OpenERP + Apache + mod_wsgi?

Here are the steps of my installation:

  1. Install the necessary Python libraries for the server:

    sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi

  2. Create the OpenERP user that will own and run the application:

    sudo adduser --system --home=/opt/openerp --group openerp

  3. Install and configure the database server, PostgreSQL:

    sudo apt-get install postgresql

    sudo su - postgres

    createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp

    Password: openerp
    

    exit

  4. Install the OpenERP server:

    wget hppt://nightly.openerp.com/trunk/nightly/src/openerp-8.0dev-latest.tar.gz

    cd /opt/openerp

    sudo tar xvf ~/openerp-8.0dev-latest.tar.gz

    sudo chown -R openerp: *

    sudo cp -a openerp-8.0dev-20140214-000101 server

  5. Install Apache:

    sudo apt-get install apache2

    sudo apt-get install libapache2-mod-wsgi

    sudo nano /etc/apache2/apache2.conf

    ServerName localhost
    
  6. Virtual host configuration:

    sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/example.com.conf

    sudo nano /etc/apache2/sites-available/example.com.conf

    ServerName localhost
    
    WSGIScriptAlias / /opt/openerp/server/openerp-wsgi.py
    WSGIDaemonProcess oe user=openerp group=users processes=2 python-path=/opt/openerp/server/ display-name=apache-openerp
    WSGIProcessGroup oe
    
    <Directory /opt/openerp/server>
        AllowOverride All
        Require all granted
    </Directory>
    

    sudo a2dissite 000-default.conf

    sudo a2ensite example.com.conf

    sudo service apache2 restart

  7. Configuring the OpenERP application:

    sudo nano /opt/openerp/server/openerp-wsgi.py

    conf['logfile'] = '/var/log/openerp/openerp-server.log'
    
    conf['addons_path'] = '/opt/openerp/server/openerp/addons'
    
    conf['db_password'] = 'openerp'
    

    sudo mkdir /var/log/openerp

    sudo chown openerp:root /var/log/openerp

    sudo service apache2 restart

2
Imagine profil
Abandonează
Simplify it!

Hello. Did you make it work?

Mind And Go

Same question, I still stucked because the wsgy script don't recognise openerp : https://www.odoo.com/forum/Help-1/question/OpenERP-8--mod_wsgi--No-module-named-openerp--addon-path-issue-53079 Any advice on the conf file and directory structure?

Imagine profil
Prathmesh Baliram Doiphode
Cel mai bun răspuns

 

please check the link for more information

Deploye WSGI in Odoo.

3
Imagine profil
Abandonează
Imagine profil
Madura
Cel mai bun răspuns

Thank you for the post, It was helped to install and configure the OpenERP v8... :)

0
Imagine profil
Abandonează
Imagine profil
lam nguyen
Cel mai bun răspuns

Hi Casper Madsen,

Could you share how to using uwsgi nginx on v8 trunk?

 

Thanks.

0
Imagine profil
Abandonează
Imagine profil
Christian SONDI
Cel mai bun răspuns

Hi!

What to do at the point 6?

ServerName localhost WSGIScriptAlias / /opt/openerp/server/openerp-wsgi.py WSGIDaemonProcess oe user=openerp group=users processes=2 python-path=/opt/openerp/server/ display-name=apache-openerp WSGIProcessGroup oe <Directory /opt/openerp/server> AllowOverride All Require all granted </Directory>

Need to be the content of the file "example.com.conf" or must be added to the prevew content of the "000-default.com.conf" in "example.com.conf"?

0
Imagine profil
Abandonează
Imagine profil
John Doe
Cel mai bun răspuns

I've successfully installed trunk (v8) with uWSGI / Nginx. Works like a charm.. Here is my config from openerp-wsgi.py - you might be missing db_name?


import openerp openerp.multi_process = True # Nah! openerp.conf.server_wide_modules = ['web'] conf = openerp.tools.config

conf['addons_path'] = '/opt/openerp/blahblah/data/addons/8.0,/opt/openerp/blahblah/server/current/openerp/addons' conf['admin_passwd'] = 'secretpassword' conf['data_dir'] = '/opt/openerp/blahblah/data' conf['db_name'] = 'blahblah' conf['db_host'] = 'localhost' conf['db_user'] = 'secretuser' conf['db_port'] = '5432' conf['db_password'] = 'othersecretpassword' conf['dbfilter'] = '^blahblah$' conf['list_db'] = False conf['logfile'] = '/opt/openerp/blahblah/logs/blahblah.log'

application = openerp.service.wsgi_server.application openerp.service.server.load_server_wide_modules()

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Which server needs for 50 users? Rezolvat
v8 server
Imagine profil
1
mar. 15
4441
Installing Odoo V8 FreeBSD
v8 installation
Imagine profil
0
mar. 15
6536
How to install odoo 8 on ubuntu 14.04? Rezolvat
v8 installation
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
dec. 23
17122
is it possible to automatic updates after installing version 8 trunk
v8 installation
Imagine profil
0
mar. 15
4382
Multiple odoo server sharing same database ? Rezolvat
installation server multicompany
Imagine profil
Imagine profil
1
sept. 24
13426
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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