Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Kov
    • Nábytek
    • Jídlo
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • IT hardware a podpora
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Odoo service NOT running after upgrade to Ubuntu 24.04.1 LTS

Odebírat

Get notified when there's activity on this post

This question has been flagged
serverubuntulxmlService17.0+e
3 Odpovědi
4343 Zobrazení
Avatar
Peskie

Please help if you are able.

I have upgraded to Ubuntu 24.04.1 LTS

Running Odoo 17 Enterprise

After upgrade Odoo service wont run as per the following

Ubuntu 24.04.1 LTS

The following is present (ignore the xxxxxxxxxxxxxxxx)

-----------------------------------------------------------------------------------------

x service odoo status

× odoo.service - Odoo Open Source ERP and CRM

Loaded: loaded (/usr/lib/systemd/system/odoo.service; enabled; preset: ena>

Active: failed (Result: exit-code) since Sat 2024-10-05 00:16:14 AWST; 7h >

Duration: 1.807s

Main PID: 8798 (code=exited, status=1/FAILURE)

CPU: 1.807s


Oct 05 00:16:14 xxxxxxxxxxxxxxxx odoo[8798]:   File "/usr/lib/python3/dist-packages/odoo/tools/misc.py", line 44, in

Oct 05 00:16:14 xxxxxxxxxxxxxxxx odoo[8798]:     from lxml import etree, objectify

Oct 05 00:16:14 xxxxxxxxxxxxxxxx odoo[8798]: ModuleNotFoundError: No module named 'lxml'

Oct 05 00:16:14 xxxxxxxxxxxxxxxx systemd[1]: odoo.service: Main process exited, code=exited, status=1/FAILURE

Oct 05 00:16:14 xxxxxxxxxxxxxxxx systemd[1]: odoo.service: Failed with result 'exit-code'.

Oct 05 00:16:14 xxx systemd[1]: odoo.service: Consumed 1.807s CPU time.


------------------------------------------------------------------------------------------------------

lxml was installed. I uninstalled it, reinstalled, downgraded all with the same error arising.


0
Avatar
Zrušit
Avatar
milan m
Nejlepší odpověď

Facing the same issues with odoo17 on premise, when i upgraded to ubuntu 24. Is it related to upgraded python version ? HELP ..

0
Avatar
Zrušit
Manish Bohra

milan, kindly review my answer maybe helpful for you.

Avatar
Niyas Raphy (Walnut Software Solutions)
Nejlepší odpověď

Hi,
From the shared traceback it seems there is missing package: lxml

try installing this package and try restarting odoo service and see how it goes


Thanks

0
Avatar
Zrušit
Peskie
Autor

Hi Niyas
Yes I tried this but it did not work but thanks for your input.
Kind Regards

Avatar
Manish Bohra
Nejlepší odpověď

Hello Peskie, 

First of all the check the python version is support to odoo17 or not. 

Odoo 17 support python version : 3.10

In that case you need to create python 3.10 venv and run odoo based on venv. 

For the venv you can use the following commands 

sudo add-apt-repository ppa:deadsnakes/ppa

sudo apt-get update

sudo apt install python3.10

Now install venv i.e

sudo apt-get install python3.10-venv python3.10-dev

python3.10 -m venv odoo-venv

Thanks,

0
Avatar
Zrušit
Peskie
Autor

Hi Manish
In the end I had 2 x Odoo Python experts work on this issue for a total of about 8 hours. In the end the resolution of this was made by your above advice but also a great deal more other errors being resolved as they arose. No matter what was done more errors were produced and in particular "lxml" was not recognized as being installed although it was. Upgrading downgrading and python version changes did not work alone. What did work was not using the .deb package installer to upgrade Odoo. The person whom fixed the issue in the end needed to download the source code (Using the tar.gz file from the Odoo download page for 17 Enterprise)and replace the current files to update as the modules wouldn't load correctly. He reinstalled multiple files and resolved multiple errors. He commented that when the Ubuntu upgrade took place it updated the python version create dramatic conflict with my version of Odoo. My advise is DON'T UPGRADE UBUNTU without the expectation of a Odoo lockout and meltdown - Get an expert to do the upgrade to Ubuntu 24.04.1 LTS if you have Odoo 17 Installed.
Thanks Manish for your assistance.
Kind Regards

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

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
ModuleNotFoundError: No module named 'lxml' tried everithing
server error lxml
Avatar
Avatar
Avatar
Avatar
4
čvc 24
9273
How to allow users to connect your project on ubuntu 24.10?
server ubuntu ubuntuserver
Avatar
Avatar
1
pro 23
2773
Trouble installing Odoo 13.0 in Ubuntu 18.04LTS
ubuntu lxml Odoo13.0
Avatar
Avatar
Avatar
2
čvn 23
5476
How to add "wkhtmltopdf" as a sytem parameter in OpenERP? Vyřešeno
server ubuntu wkhtmltopdf
Avatar
Avatar
Avatar
Avatar
Avatar
11
říj 24
73730
Opererp server crashing serveral time per day, Is there any way to start two openerp debian package in one Ubuntu server
service server ubuntu
Avatar
0
bře 15
4887
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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