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

Enable developer features in a Docker container (--dev all)

Abonare

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

Această întrebare a fost marcată
containerDocker
2 Răspunsuri
11753 Vizualizări
Imagine profil
Douwe Van Loenen

Hi there,

I'm running Odoo 14 via Docker on an Ubuntu server. Everything is working well. However, I'm unable to get the developer features working. I'm able to ssh into the docker container and then enter the command

    $ odoo -c odoo.conf --dev all


Then everything seems to work well until I get the following error (complete log below):

    OSError: [Errno 98] Address already in use

Does anyone have any idea on how to solve this?

Cheers, Douwe


Full terminal output:

odoo@fc989dd14a92:/etc/odoo$ odoo -c odoo.conf --dev all

2020-12-10 08:09:43,262 396 INFO ? odoo: Odoo version 14.0-20201208 

2020-12-10 08:09:43,262 396 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf 

2020-12-10 08:09:43,263 396 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/var/lib/odoo/.local/share/Odoo/addons/14.0', '/mnt/extra-addons'] 

2020-12-10 08:09:43,263 396 INFO ? odoo: database: odoo@db:5432 

2020-12-10 08:09:43,529 396 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf 

2020-12-10 08:09:43,883 396 INFO ? odoo.service.server: Watching addons folder /usr/lib/python3/dist-packages/odoo/addons 

2020-12-10 08:09:43,884 396 INFO ? odoo.service.server: Watching addons folder /var/lib/odoo/.local/share/Odoo/addons/14.0 

2020-12-10 08:09:43,885 396 INFO ? odoo.service.server: Watching addons folder /mnt/extra-addons 

2020-12-10 08:09:44,241 396 INFO ? odoo.service.server: AutoReload watcher running with watchdog 

Exception in thread odoo.service.httpd:

Traceback (most recent call last):

  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner

    self.run()

  File "/usr/lib/python3.7/threading.py", line 865, in run

    self._target(*self._args, **self._kwargs)

  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 441, in http_thread

    self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app)

  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 150, in __init__

    handler=RequestHandler)

  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 577, in __init__

    self.address_family), handler)

  File "/usr/lib/python3.7/socketserver.py", line 452, in __init__

    self.server_bind()

  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 165, in server_bind

    super(ThreadedWSGIServerReloadable, self).server_bind()

  File "/usr/lib/python3.7/http/server.py", line 137, in server_bind

    socketserver.TCPServer.server_bind(self)

  File "/usr/lib/python3.7/socketserver.py", line 466, in server_bind

    self.socket.bind(self.server_address)

OSError: [Errno 98] Address already in use


0
Imagine profil
Abandonează
Imagine profil
Dave LOWPER
Cel mai bun răspuns

Hello,
If I understand correctly, you are running odoo in a container, attaching a shell to it and run "odoo .. --dev all" inside the container.
If so, "Address already in use" is quite normal : you are launching a new odoo server inside a container already running odoo (on the same address/port).

I'd suggest (at least during your dev sessions), that you  append "--dev all" in the command line or docker-compose you are using to initailly launch your odoo instance.


3
Imagine profil
Abandonează
Kilian Melcher

How can you append that in a docker-compose file?

Imagine profil
Douwe Van Loenen
Autor Cel mai bun răspuns

Yes, awesome! That works perfectly. Changed to:

docker run -v /config:/etc/odoo -v /addons:/mnt/extra-addons -p 8069:8069 --name odoo --link db:db -t odoo --dev=all

Also works by adding command: --dev=all to the .yml file 

Cheers, Douwe


3
Imagine profil
Abandonează
Faris Fathurrahman

hello, can you tell me precisely where did you put the command inside your .yml file?

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
how to Install odoo 15 with docker? Rezolvat
Docker
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
dec. 23
47630
where is the POS Odoo logo located on Odoo installed on Docker? - Odoo 16 Community version
Docker
Imagine profil
Imagine profil
1
ian. 23
4468
How to setup odoo project using Odoo doodba ?
Docker
Imagine profil
Imagine profil
1
mar. 24
7653
Docker Odoo
Docker
Imagine profil
1
feb. 21
3417
Odoo on Docker: how to change environment variables
Docker
Imagine profil
0
dec. 20
5743
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