Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Artificial Intelligence
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Property Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Referral Program
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Odoo 14 on Ubuntu 24.04?

Naroči se

Get notified when there's activity on this post

This question has been flagged
developmentperformancesetup
1 Odgovori
1276 Prikazi
Avatar
tula103

Current situation:

We are currently running Odoo 14 on Ubuntu 20.04 in our production environment.

Planned change:

We are considering migrating to Azure; however, Azure VMs only provide Ubuntu 24.04 by default, and we would prefer not to use a custom image of Ubuntu 20.04.

Question:

Is Odoo 14 compatibled with Ubuntu 24.04? Are there any potential issues we need to face when doing so?

0
Avatar
Opusti
Codesphere Tech

Hello,
You can check AWS option for this if feasible for you.

Avatar
Hugues Henrion
Best Answer

What you need to make sure of if you want to transfer your current odoo "install" from one environment with U20.04 to one with U24.04 is the compatibility of the python environments and the packages used. 

You should check what python version is currently used by Odoo 14 on your production env with 

python3 --version

As well as list/freeze all the current packages installed in the python environment and save them in a requirements.txt file (used later)

pip freeze > requirements.txt

Now on the U24.04 environment, you should also check the python version with python3 --version to see if it corresponds to the old one and use 

pip list > packages.txt

It is possible that your python environment on U20.04 is not similar to the one pre-installed on the Azure VM's with U24.04. The goal is to make sure you have the same python version + packages on the destination environment to ensure a smooth transition. It could possibly work with different python versions but the minimum should be to have the same packages (and version).

Once you have the same python version installed on the U24.04 environment, make sure to attribute that version as the one use by the python3 command. 

For example if Odoo 14 is using Python 3.08 on your production, and you have Python 3.13 and Python 3.08 installed on the U24.04, you need to make sure that running the command "python3" on U24.04

python3 --version 

will actually return 3.08 and not 3.13. If this is not the case, you can either create a virtual env that uses the right python version OR by changing the environment variable for python3 globally (recommended if the U24.04 VM is only used for running Odoo 24.04). Either of these solution can be done with pyenv (used to easily managed different python environment with different version if needed) or by changing the environment variable (alias) if you want to used a default python version for the environment of the U24.04 VM or using 

update-alternatives

 Once this is done. You now have the same python versions, you can install pip, then use

pip install -r requirements.txt

to install the same packages that you had on U20.04.

Once this is done, you can transfer you can install Odoo 14 on the U24.04 VM, make sure to transfer/copy any custom Addons in the addons folder, make sure to transfer/copy the odoo.conf file and any other custom files you had on the U20.04 machine to the the U24.04 VMs. 

Then you can export/import the databases (including the assets / static files). As a precaution, I would also ensure that the same postgresql versions are present and used on both machines (although postgresql is more resilient to version change and this should not cause issue unless you would jump several versions of postgresql). Dont forget to check your pg_hba.conf file on U24.04 is configured the one on U20.04 if there specific rules that were setup for Odoo 14 on the production environment. This file is located in 

/etc/postgresql/<version>/main/

Hope this helped,

Best of luck

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Odoo JSONRPC - Aggregate Data
development performance
Avatar
0
dec. 24
1645
Speeding up Odoo v8 development
development performance
Avatar
0
avg. 15
5506
Moving a Fresh Odoo Online (SaaS 19.2) to Odoo.sh (Stable 19.0) Solved
development setup system
Avatar
Avatar
2
apr. 26
1264
How to solve QR orders not linking properly?
performance setup function
Avatar
0
jan. 25
2218
Database selector for on-premises instance first setup
development setup database
Avatar
0
apr. 22
109
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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