---
title: "Self-hosting Odoo: Community, Enterprise or Odoo.sh · CloudSat"
description: "Odoo 20 shipped in September 2026. Weigh Community, Enterprise and Odoo.sh, then run Odoo on Ubuntu 24.04 with sized workers, a proxy and hardened settings."
url: https://cloudsat.io/learn/self-host-odoo-community-or-enterprise
updated: 2026-11-18T12:00:00Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Self-hosting](https://cloudsat.io/learn/topic/self-hosting)

# Self-hosting Odoo: Community, Enterprise or Odoo.sh

Odoo 20 shipped in September 2026. Weigh Community, Enterprise and Odoo.sh, then run Odoo on Ubuntu 24.04 with sized workers, a proxy and hardened settings.

CloudSat team November 18, 2026 7 min read

Odoo is a set of business apps (CRM, sales, inventory, invoicing, purchase, website, projects and many more) that share one PostgreSQL database. Installing it takes an afternoon. The decisions that cost money come later: which edition you run, who hosts it, and how you will move to the next major version, because Odoo ships one every year. Version 19 arrived in September 2025 and version 20 in September 2026. Settle those decisions first, then build the server.

## Editions and hosting models

|  | Community, self-hosted | Enterprise, self-hosted | Enterprise on Odoo.sh | Odoo Online |
| --- | --- | --- | --- | --- |
| License | LGPL-3.0, free | Subscription (Custom plan) | Subscription (Custom plan), hosting billed separately | Subscription (free one-app plan, Standard or Custom) |
| Custom modules | Yes | Yes | Yes, deployed from Git branches | No custom code |
| Who runs the servers | You | You | Odoo | Odoo |
| Major upgrades | Your job | With Odoo's upgrade service | With Odoo's upgrade service | Handled by Odoo |

Odoo's pricing makes the hosting choice explicit: the free one-app plan and the Standard plan run only on Odoo Online, while the Custom plan is the one that covers Odoo.sh and on-premise installs, together with Studio, multi-company setups and the external API.

### What Community leaves out

Community is the open core. It covers CRM, sales, purchase, inventory, manufacturing, invoicing, website, e-commerce, projects and more, all under LGPL-3.0. Enterprise adds proprietary apps and features on top, including Studio (the no-code customizer), full Accounting rather than Invoicing, Helpdesk, Sign, Documents and Planning. Many gaps can be filled with free modules from the Odoo Community Association (OCA), but each one is code you will have to carry through upgrades.

### The real cost is the upgrade

Each major version changes data models, so moving from one to the next means migrating the database, not just updating packages. Enterprise subscribers use Odoo's upgrade service. Community users rely on OpenUpgrade, the OCA's migration scripts, which follow each release with a delay, or pay a partner. Every custom or third-party module must also be ported. Before you commit, decide how often you will upgrade and who will do it.

## Who Odoo fits, and who it does not

Odoo earns its keep when one order touches several departments: a quote becomes a sales order, the order reserves stock, the warehouse ships it, accounting invoices it, and everyone sees the same record. Companies that today glue five SaaS tools together with spreadsheets and automations gain the most.

It fits poorly in three cases. A business that needs only one function, such as invoicing or a CRM, gets a simpler tool elsewhere. A business that wants Odoo reshaped around unusual processes pays for that customization again at every upgrade. And a business with nobody to own the system ends up with a server that nobody patches. The safest approach is to adopt Odoo's standard flows first, configure before you customize, and give every customization a named owner.

## Install Odoo 20 Community on Ubuntu 24.04

Odoo's packages for version 20 target Ubuntu 24.04 LTS, and the default configuration expects PostgreSQL on the same server. The nightly repository carries Community only; Enterprise packages come from Odoo's download page for paying customers.

```bash
sudo apt update && sudo apt install -y postgresql
wget -q -O - https://nightly.odoo.com/odoo.key | sudo gpg --dearmor -o /usr/share/keyrings/odoo-archive-keyring.gpg
echo 'deb [signed-by=/usr/share/keyrings/odoo-archive-keyring.gpg] https://nightly.odoo.com/20.0/nightly/deb/ ./' | sudo tee /etc/apt/sources.list.d/odoo.list
sudo apt-get update && sudo apt-get install -y odoo
```

The package creates an `odoo` service, a configuration file at `/etc/odoo/odoo.conf` and an HTTP listener on port 8069. Visit it once through an SSH tunnel to create your production database, then lock the setup down.

## Size the workers from Odoo's own rules

Odoo's deployment guide gives two rules. Workers: `(CPU cores × 2) + 1`, with one worker serving roughly six concurrent users. Memory: assume 20% of requests are heavy, at about 1 GB per worker, and 80% light, at about 150 MB.

On 2 vCPUs that means 5 workers, enough for around 30 people working at the same moment (not 30 accounts). Memory works out to 5 × (0.2 × 1,024 + 0.8 × 150), about 1.6 GB for Odoo, before PostgreSQL and the operating system. A 4 GB server fits; give PostgreSQL the rest.

## Harden the configuration

Edit `/etc/odoo/odoo.conf` and keep the generated database settings. Add or change these lines:

```ini
[options]
admin_passwd = REPLACE_WITH_A_LONG_RANDOM_STRING
list_db = False
dbfilter = ^erp$
proxy_mode = True
http_interface = 127.0.0.1
workers = 5
max_cron_threads = 1
limit_memory_soft = 629145600
limit_memory_hard = 1677721600
limit_time_cpu = 600
limit_time_real = 1200
```

Each line has a reason:

- `admin_passwd` protects the database manager, and Odoo's docs say it must be changed from its default.
- `list_db = False` disables the database manager entirely, which the docs strongly recommend for any internet-facing system. Create the database before you set it.
- `dbfilter` pins the instance to one database; it is mandatory once a server hosts several production databases, especially with the website app.
- `proxy_mode = True` trusts forwarding headers, so enable it only behind a reverse proxy.
- `http_interface = 127.0.0.1` keeps Odoo off the public interface, leaving the proxy as the only way in.
- The limits recycle workers that leak memory or hang, using the values from Odoo's sample configuration.

Restart with `sudo systemctl restart odoo`.

## Put Nginx in front, websocket included

Odoo serves live features such as chat and notifications over a websocket on port 8072, which a basic proxy config forgets. This follows the structure of Odoo's sample:

```nginx
upstream odoo { server 127.0.0.1:8069; }
upstream odoochat { server 127.0.0.1:8072; }
map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

server {
    listen 443 ssl;
    server_name erp.example.com;
    ssl_certificate     /etc/letsencrypt/live/erp.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/erp.example.com/privkey.pem;
    client_max_body_size 64m;
    proxy_read_timeout 720s;

    proxy_set_header X-Forwarded-Host $http_host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Real-IP $remote_addr;

    location /websocket {
        proxy_pass http://odoochat;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
        proxy_set_header X-Forwarded-Host $http_host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
    }

    location / {
        proxy_redirect off;
        proxy_pass http://odoo;
    }
}
```

The headers are repeated inside `/websocket` because Nginx drops inherited `proxy_set_header` lines in any block that sets its own.

On CloudSat, [Odoo is a one-click app](https://cloudsat.io/apps/deploy-odoo), and a 2 vCPU, 4 GB Cloud VPS at $11.58/mo matches the five-worker example above.

## Back up the database and the filestore

Odoo keeps attachments outside PostgreSQL, in a filestore directory. A backup needs both, taken together:

```bash
sudo -u postgres pg_dump -Fc erp > /backup/erp-$(date +%F).dump
sudo tar -czf /backup/erp-filestore-$(date +%F).tar.gz -C /var/lib/odoo/.local/share/Odoo/filestore erp
```

Copy both off the server every night, and restore them on a test server before each major upgrade. That test copy is also where you rehearse the upgrade itself.

## A four-week pilot before you decide

1. **Week 1**: install Community on a test server and import a slice of real data (products, customers, open orders) from CSV.
2. **Week 2**: run one end-to-end flow with the people who will use it, from quote to delivery to invoice.
3. **Week 3**: list every gap and sort it into three piles: an Enterprise app, an OCA module, or a process change.
4. **Week 4**: choose the edition and the hosting model, and write down how the next major upgrade will happen and who pays for it.

## FAQ

### Can I move from Community to Enterprise later?

Yes. Enterprise is built on the same base, and Odoo documents a switch from a Community database to Enterprise once you hold a subscription. Going the other way is harder, because data in Enterprise-only apps has nowhere to go.

### Does Odoo 20 install on Ubuntu 22.04?

Odoo's version 20 packages currently target Ubuntu 24.04 LTS, so start there. Older releases are better served by an Odoo version that matches them, or by a source install you maintain yourself.

### Is Odoo.sh worth it over my own server?

Odoo.sh suits teams that develop custom modules and want staging branches, builds and hosting run by Odoo, without a system administrator. It requires the Custom plan, with hosting billed on top. A self-hosted server costs less but puts patching, backups and upgrades on you.

**Run it on CloudSat.** Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. [See plans](https://cloudsat.io/plans) or [deploy a server](https://dash.cloudsat.io/console/deploy).

## Keep reading

[All guides in Self-hosting](https://cloudsat.io/learn/topic/self-hosting)

- [Self-hosted helpdesk and live chat software compared](https://cloudsat.io/learn/self-hosted-helpdesk-and-live-chat): Self-hosting Self-hosted helpdesk and live chat software compared 6 min read
- [Self-hosted Airtable alternatives: five tools compared](https://cloudsat.io/learn/airtable-alternatives-you-can-self-host): Self-hosting Self-hosted Airtable alternatives: five tools compared 6 min read
- [Anaconda on a server: licensing, Miniforge, uv and pixi](https://cloudsat.io/learn/anaconda-licensing-and-server-alternatives): DevOps Anaconda on a server: licensing, Miniforge, uv and pixi 6 min read
- [Open-source ERP for a small business: pick by process](https://cloudsat.io/learn/open-source-erp-for-a-small-business): Self-hosting Open-source ERP for a small business: pick by process 7 min read
