On-premise installations give you full control over your Odoo environment, infrastructure, and data. Odoo supports several installation methods: official distribution packages for Linux and Windows, a source code install for maximum flexibility, and Docker images for containerized deployments. All methods support both the Community (free) and Enterprise editions.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/odoo/documentation/llms.txt
Use this file to discover all available pages before exploring further.
Choosing an Installation Method
Packaged Installers
Official
.deb (Debian/Ubuntu) and .rpm (Fedora/RHEL) packages, plus a Windows installer. The fastest way to get a working Odoo service.Source Install
Run Odoo directly from the GitHub source. Ideal for module developers and for running multiple Odoo versions on the same machine.
Docker
Use the official Odoo Docker image for containerized deployments in development or production.
Windows
A Windows installer is available for testing or single-user local instances. Production deployments on Windows are discouraged.
Packaged Installers
Official Community nightly packages are available on the nightly server. Both Community and Enterprise packages can be downloaded from the Odoo download page.Downloading Enterprise packages requires a paid on-premise subscription or Odoo partner account.
Prerequisites
Odoo requires a PostgreSQL server.- Debian / Ubuntu
- Fedora / RHEL
Install via Repository (Community Edition)
- Debian / Ubuntu
- Fedora
sudo apt-get upgrade.Install via Distribution Package
Download the.deb or .rpm package from the Odoo download page, then install it:
- Ubuntu
- Fedora
- Windows
Source Install
Running Odoo from source gives you full control and is the preferred setup for developers. It requires Python 3.10 or later.Fetch the source code
Clone the Community (and optionally Enterprise) repositories from GitHub:
The Enterprise repository only contains extra add-ons — the core server is in the Community repository. Both repositories are required for an Enterprise installation.
Docker
Use the official Odoo Docker image from Docker Hub. A typicaldocker-compose.yml pairs the Odoo container with a PostgreSQL container:
Registering Your Database
After installing Odoo Enterprise, register your database by entering your subscription code in the banner displayed on the app dashboard. A successful registration turns the banner green and shows the database expiration date.Common Registration Errors
Registration Error
Registration Error
If you see a registration error:
- Verify your subscription is In Progress on your Odoo Account.
- Make sure no other database is already linked to this subscription code (one database per subscription).
- Check that no databases share the same UUID by reviewing your Odoo Contract. If duplicates exist, manually change the UUID or open a support ticket.
- Ensure your firewall allows outbound connections: Odoo 18.0+ requires
services.odoo.com:80; Odoo 17.0 and earlier requiresservices.openerp.com:80.
Too Many Users Error
Too Many Users Error
If your database has more users than your subscription allows, you have 30 days to act before the database expires. To resolve:
- Click Upgrade your subscription in the message to pay for additional users, or
- Deactivate users and reject the upsell quotation.
Database Expired Error
Database Expired Error
If your subscription expired before renewal, click Renew your subscription in the error banner. Credit card payments are processed immediately; wire transfers may take a few days.
Duplicating a Database
Duplicate your database by visiting<odoo-server>/web/database/manager. Check the neutralize option when prompted to create a testing duplicate — this executes all neutralize.sql scripts for every installed module, disabling outgoing emails and other external actions.
Switching from Community to Enterprise
Back up your Community database
Use the database manager at
/web/database/manager to download a backup.Install the Enterprise package
Using a Using source code: Update the
.deb package (installs over the Community package):--addons-path parameter in your launch command to include the Enterprise addons directory.On Windows, uninstall Odoo Community first (PostgreSQL will remain), then run the Odoo Enterprise installer. Update the database using the command prompt from the Odoo installation directory.