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
    • Umělá inteligence
    • 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
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • 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
    Procházet všechna odvětví
  • 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
    • Služby pro partnery
    • Registrujte svou účetní firmu
    • Referral Program
    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
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 14 on Ubuntu 24.04?

Odebírat

Get notified when there's activity on this post

This question has been flagged
developmentperformancesetup
1 Odpovědět
1267 Zobrazení
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
Zrušit
Codesphere Tech

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

Avatar
Hugues Henrion
Nejlepší odpověď

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
Zrušit
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
Odoo JSONRPC - Aggregate Data
development performance
Avatar
0
pro 24
1632
Speeding up Odoo v8 development
development performance
Avatar
0
srp 15
5501
Moving a Fresh Odoo Online (SaaS 19.2) to Odoo.sh (Stable 19.0) Vyřešeno
development setup system
Avatar
Avatar
2
dub 26
1250
How to solve QR orders not linking properly?
performance setup function
Avatar
0
led 25
2215
Database selector for on-premises instance first setup
development setup database
Avatar
0
dub 22
109
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 Svenska ภาษาไทย 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