Skip to content

Changelog

[0.3.0] - 2026-11-02

Security

New production installs are protected against bots that guess the admin password over XML-RPC, then use a superuser database role to run shell commands. Test and development instances, and instances that are already installed, do not change.

  • XML-RPC and JSON-RPC are blocked in Nginx, except for addresses given with --rpc-allow.
  • The database manager is closed (list_db = False, and /web/database is blocked in Nginx).
  • odoobuddy creates the first database: it asks for its name and country (--db-name, --country), loads no demo data, and shows a generated admin password once.
  • dbfilter limits Odoo to the instance's databases.
  • A database role that already exists loses superuser.

Added

  • odoobuddy db create NAME --instance INSTANCE --country CODE creates a database without the database manager. restore adds a new database to a protected instance's dbfilter.
  • odoobuddy api status|allow|deny shows and changes who may use a protected instance's API.

[0.2.1] - 2026-10-17

Added

  • The install wizard goes step by step: first what the machine has, then a short "How this works" (each answer decides the next questions; nothing is installed until you confirm), each waiting for Enter, then the questions.
  • Each question shows its place, e.g. [3/5]; the total depends on the purpose and leaves out answers given as options. The purpose menu says how many questions each purpose asks.
  • Menus explain the highlighted choice underneath (purpose, edition, how to run Odoo, the review menu), and SSL, firewall and nightly backups get a one-line hint before the question.
  • The review screen ("Review: nothing is installed yet") asks "Ready to install?" with Install now preselected and a separate Dry run (only shows the steps), and marks a setting you just changed with ← changed.
  • After an install, Tab completion is offered with examples of what it does and what it changes (one line in ~/.bashrc); under sudo, odoobuddy says how to turn it on as your user.
  • Welcome screen (odoobuddy alone): a framed header with the odoobuddy logo, and your instances and the main commands in boxes.
  • During long install steps, a small animation (the letters of "odoo" jumping like a wave) shows that odoobuddy is still working; ODOOBUDDY_NO_ANIMATION=1 turns it off.

Changed

  • Menus are easier to read: a blank line between the question and the choices, choice names in their own colour, a ▶ pointer on the highlighted one, and "(↑ ↓ to move, Enter to choose)" instead of "(Use arrow keys)".
  • On a server (no desktop session), Development is no longer offered in the purpose menu; --purpose development still chooses it.
  • The domain question says that Enter skips it. https://, a path or a final dot are removed from what you type, and a wrong domain is explained in red (missing ending, spaces, an IP address) while the question stays open.
  • The install screen is roomier: the machine check in a frame, section lines, indented hints. The command that repeats an install from a script is an option on the review screen.

Fixed

  • Install instructions: pip install fails on Ubuntu 24.04 (externally-managed-environment), so the docs only use pipx, add pipx ensurepath (after pipx install, odoobuddy was "command not found"), and install on servers into /usr/local/bin so sudo odoobuddy works.

[0.2.0] - 2026-10-14

Fixed

  • Server install on Ubuntu 24.04 failed at "Create Python environment" (python-ldap: Python.h: No such file or directory): uv picked the system Python 3.12, which has no headers. Instances now always use a uv-managed Python.
  • Servers without a domain showed http://localhost:PORT after the install and in info, which does not open from your browser. They now show http://SERVER-IP:PORT with the server's detected IP.
  • Installs on a freshly booted server no longer fail while Ubuntu's automatic updates hold apt's lock: odoobuddy waits up to 10 minutes and says what it is waiting for.
  • A step that prints nothing for 2 minutes now says it is probably still working, where the full log is, and that Ctrl+C is safe (running the same command again continues).
  • logs looked stuck: it now says it is following new lines (Ctrl+C to stop) and warns when the log is missing or empty, with the commands to find out why.
  • Choosing an editor that is not installed now says so, shows how to install it, and offers to check again, use it later, or pick another way to run Odoo (the summary no longer calls it "your installed" editor)
  • Server without a domain: Nginx now serves the public port and routes /websocket, so live chat and notifications work with multiple workers (Odoo uses internal ports).
  • Server install: the test installation prints its output instead of writing only to the log file, and the installer checks that the service really answers after starting.
  • A running local instance is detected by its config file when the pid file is missing.
  • Odoo 20: install markdown2, which Odoo uses but does not list in its requirements.
  • Odoo crashed after reloading itself (dev-mode reload, module installs) when its virtual environment was not activated: it restarted with the system Python. Fixed for every launch method, including systemd on servers.

Added

  • The wizard starts by asking what the Odoo is for, and adapts to it:
  • Production asks every question, then a production check points out risky choices (no HTTPS, no backups, firewall off, more workers than the free RAM can hold, low disk space) and can apply the recommended settings in one step.
  • Test / staging follows the production instance on the server (its version, edition and a name like erp-test), uses 2 workers by default and no backups.
  • Development asks only what matters on your computer. The purpose is preselected from where odoobuddy runs, stored with the instance, and shown as a red PRODUCTION, orange TEST or green DEV label in banners and list. --purpose production|test|development does the same from scripts.
  • Before the first question, the install shows what the machine has (OS, CPUs, RAM, free disk), whether Ubuntu is busy installing updates, another web server on port 80, and the instances already there.
  • The install summary offers "Start over", and the odoobuddy install ... --yes command that repeats the same install.
  • doctor warns when a production instance has no nightly backups.
  • After an install, odoobuddy offers to turn on Tab completion (bash, zsh, fish) when it is not on yet; odoobuddy --install-completion still does it by hand.
  • A new welcome screen: framed, with the odoobuddy logo, your instances and the commands to start with.
  • A roomier install screen: the machine check in a frame, "Setup" and "Installing" section lines, hints indented under their question, a grouped summary, and the real server IP in the "without a domain" hint. The command that repeats the install is now a menu choice ("Show the command for scripts"), one option per line, without sudo when you are root.
  • During install steps the letters of "odoo" jump one after another like a wave under the progress line. ODOOBUDDY_NO_ANIMATION=1 turns it off.
  • Nightly backups on servers: the wizard offers them (on by default), and odoobuddy backup NAME --nightly / --no-nightly turns them on or off later. Every database is backed up around 02:30 and the last 7 are kept, in /var/backups/odoobuddy/NAME/. backup also gained --all (every database) and --keep N (delete older backups).
  • odoobuddy's own run logs (/var/log/odoobuddy/, ~/.local/share/odoobuddy/logs/) are deleted after 30 days, so nightly backups do not pile up a log file per night.
  • Before installing, odoobuddy checks free memory and disk space for the new instance and, when they look too small, warns and asks "Install anyway, at your own risk?".
  • The number of workers is limited to what the server's CPU and RAM can run next to its other instances; a larger number is refused.
  • odoobuddy alone shows a welcome screen with your instances and the commands to start with.
  • New commands: status (running or stopped, and the address) and support (documentation, bug reports and contact).
  • odoobuddy -h, odoobuddy help and odoobuddy help COMMAND show the help.
  • Missing editor: the wizard (and odoobuddy open --with) can install Zed with its official installer, and VS Code, VSCodium and PyCharm through snap; for others it shows the download link and waits until the editor is installed
  • Server wizard: when the domain does not point to the server yet, shows the DNS record to add and offers to check again, continue without a domain, or keep it and add SSL later
  • "How do you want to run Odoo?": in an editor, in a terminal (odoobuddy run) or in the background. Editors open automatically after the install and Odoo starts inside them (VS Code family and PyCharm automatically, Zed with one command).
  • "Attach to Odoo": attach a debugger to the running Odoo at any time, also after it reloads itself; each instance has its own debug port.
  • Editors: Cursor, Windsurf, VSCodium and Zed, detected automatically.
  • New commands: run (foreground in this terminal) and open (open or switch editor).
  • pull: copy a production database and filestore over SSH into a local instance, neutralized with Odoo's own neutralize (works with non-odoobuddy servers too).
  • Tab completion for commands and instance names (odoobuddy --install-completion).
  • The summary menu (install / change a setting / cancel) also appears in dry runs, and dry runs show paths under your home folder as ~/....
  • Documentation site, demo GIF, issue and pull request templates, CONTRIBUTING and SECURITY.

Changed

  • Only production instances ask you to type their name before remove, restore and update, and only production is backed up before update; test and development instances ask yes/no. Server instances installed before this version count as production.
  • The wizard's first question "Where are you installing Odoo?" (local or server) is now "What is this Odoo for?"; --mode still works (server = production, local = development).
  • The domain is asked in one question ("Enter" for none) instead of yes/no plus the name.
  • Server instances live in /opt/odoo/NAME (was /opt/odoobuddy/instances/NAME). Existing instances keep their folders and keep working.
  • The install wizard starts with odoobuddy install; odoobuddy alone shows the welcome screen.
  • Yes/no questions wait for Enter, so a mistyped key can be corrected.
  • Colours in the install result and info: links (clickable), folders and files, commands to type, keyboard shortcuts, the master password and section headings each have their own colour
  • Installing from a script (no terminal) now requires --yes.

[0.1.0] - 2026-10-13

Added

  • Interactive install wizard for local and server mode, with a flag for every question.
  • Odoo versions read live from GitHub, and the matching Python installed via uv.
  • Enterprise support with a GitHub token check and fallback to Community.
  • Multiple instances per machine, with automatic port allocation.
  • Server mode: systemd, Nginx (websocket), Let's Encrypt, ufw, log rotation, tuned workers.
  • VS Code and PyCharm debug configurations for local instances.
  • No database is created for you: the install is verified by installing contacts in a temporary database, which is then deleted; create your own in the database manager.
  • Installed IDEs (VS Code, PyCharm) are detected and pre-selected; PyCharm gets a full project.
  • Each instance is self-contained: odoo/odoo, odoo/enterprise, custom/, conf/ in one folder.
  • Custom repositories: cloned during install or later with odoobuddy NAME clone URL [BRANCH], with automatic addons_path and requirements; repos lists them, update pulls them.
  • odoobuddy NAME COMMAND works as well as odoobuddy COMMAND NAME.
  • Commands: list, info, use, start, stop, restart, logs, shell, update, backup, restore, remove, doctor, versions.