Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Odoo service NOT running after upgrade to Ubuntu 24.04.1 LTS

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
serverubuntulxmlService17.0+e
3 Besvarelser
4335 Visninger
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
Kassér
Avatar
milan m
Bedste svar

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

0
Avatar
Kassér
Manish Bohra

milan, kindly review my answer maybe helpful for you.

Avatar
Niyas Raphy (Walnut Software Solutions)
Bedste svar

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
Kassér
Peskie
Forfatter

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

Avatar
Manish Bohra
Bedste svar

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
Kassér
Peskie
Forfatter

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!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
ModuleNotFoundError: No module named 'lxml' tried everithing
server error lxml
Avatar
Avatar
Avatar
Avatar
4
jul. 24
9269
How to allow users to connect your project on ubuntu 24.10?
server ubuntu ubuntuserver
Avatar
Avatar
1
dec. 23
2766
Trouble installing Odoo 13.0 in Ubuntu 18.04LTS
ubuntu lxml Odoo13.0
Avatar
Avatar
Avatar
2
jun. 23
5467
How to add "wkhtmltopdf" as a sytem parameter in OpenERP? Løst
server ubuntu wkhtmltopdf
Avatar
Avatar
Avatar
Avatar
Avatar
11
okt. 24
73724
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
mar. 15
4885
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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