Updated: 4 November 2026 · Applies to: Odoo 20 on Ubuntu 24.04 LTS (package installation)
The Odoo master password protects the Database Manager, the page at /web/database/manager where databases are created, backed up, restored, duplicated and deleted. It is not the password of your Odoo users. It is stored in the configuration file as admin_passwd. If you lost it, you can reset it from the server. You need SSH access with sudo.
Where the master password lives
On a package installation (see How to install Odoo 20 Community on Ubuntu 24.04?) the file is /etc/odoo/odoo.conf. Odoo stores the password there as a hash that starts with $pbkdf2-sha, so you cannot read the old password from it; you replace it.
Reset the master password
- Open the configuration file:
sudo nano /etc/odoo/odoo.conf
- Find the line that begins with
admin_passwd =. Replace everything after the equals sign with a temporary plain password, for example:admin_passwd = temporary-Password-2026
Change the value; do not put a semicolon in front of the line. Odoo's documentation stresses this: commenting the line out would leave the database manager open until you set a new password. If the line does not exist, add it below[options]. - Save the file and restart Odoo:
sudo systemctl restart odoo
- In your browser open
https://YOUR-ODOO-ADDRESS/web/database/manager(orhttp://SERVER-IP:8069/web/database/manager). - Click Set Master Password. Enter the temporary password in Master Password and your new, strong password in New Master Password, then click Continue.
- Odoo now stores a hashed version of the new password in the configuration file. Check it:
sudo grep admin_passwd /etc/odoo/odoo.confshould show a value starting with$pbkdf2-sha. Store the new password in a password manager.
If the database manager is disabled (list_db = False) or blocked in your proxy, the page does not open. Enable it for the few minutes you need, then turn it off again.
Keep the Database Manager safe
Odoo's documentation warns that the Database Manager is a development and demo tool and that it is strongly recommended to disable it on any internet-facing system. On a production server:
- Set the database name and a filter in
/etc/odoo/odoo.conf:db_name = yourdatabase dbfilter = ^yourdatabase$ list_db = False
- Restart Odoo:
sudo systemctl restart odoo - Do administration tasks such as backups from the command line (How to back up and restore an Odoo database and filestore?).
Never leave admin_passwd at its old default admin. A default master password lets anyone who can open the page delete or download your databases.
Frequently asked questions
Is the master password the same as my Odoo administrator password?
No. The administrator password belongs to a user inside a database. To reset that, use the login page's password reset link or change it as another administrator.
I do not see the Database Manager at all.
Either list_db = False is set (by design), or your Nginx blocks /web/database.
The restart fails after editing the file.
Check the log with sudo tail -n 50 /var/log/odoo/odoo-server.log; a typing error in the configuration file is the usual cause.
Official documentation: Odoo 20 documentation: Deploying Odoo, Database Manager Security.
Need a server for Odoo, or a hand with the setup?
- Odoo hosting: cloud, VPS or dedicated servers for Odoo.
- KVM VPS with NVMe storage: full root access to install Odoo yourself.
Prefer a hand with the setup? Our engineers can do it for you: Hire an Expert, or use our on-demand server management.