The Odoo.sh platform uses some memory and CPU-usage limits in order to ensure a fair use of server resources. This means that idle Odoo workers may be terminated after a reasonable amount of time and will be automatically re spawned upon the next activity.
Odoo.sh is a platform dedicated solely to the hosting of Odoo based solutions. The use of additional daemonized or long-living processes is not supported by the platform.
Scheduled actions has a limited time of execution for each run and are terminated when reaching the timeout. When reaching the timeout recurrently, they are automatically disabled by the platform and a notification is sent to the project's administrators.
Staging and development builds are restricted to a single worker which is further restrained in terms of concurrent requests and system resources. For those builds, the scheduled actions are only triggered a couple of times a day.
It is not possible to install system packages or to change the configuration
of the system images used in the containers. Also, the
suid bit of executables in the system images
is cleared for security reasons (this includes the
ping binary in older ubuntu releases).
The usage of Odoo.sh is subject to the Odoo Cloud Acceptable Use Policy.
Yes, the containers have a (nearly) unrestricted access to the Internet.
25is (and will stay) closed. If you want to connect to an external SMTP server, you should use ports
- Long-living connections will not survive to worker recycling. We discourage you to implement long-living connections to/from external services as this use-case is not supported by the platform.
Yes ! The platform will automatically detect your addons folders based on the manifest files (
__manifest__.py) of each addon.
This is actually how submodules work: If you add a repository containing Odoo addons as a submodule of your branch, the folder holding the submodule will be detected as an addons folder to include in the addons path of your database.
git submodule allows you to integrate other Git projects into your code, without the need to copy-paste all the code (in short).
Required before starting: a Git repository containing some Odoo modules. It can be some apps from the Odoo Apps store or some community modules.
Github private repositories require a few more steps in order to configure properly your submodules. They ensure that Odoo.sh will be able to fetch your private code.
- Go to your Odoo.sh project Settings then look for the Submodules section.
- Paste the URL of your sub-repository (eg:
firstname.lastname@example.org:USERNAME/REPOSITORY.git) and click on Add.
- Copy the Public key (it should look like
ssh-rsa some...random...characters...here...==). We currently support
- Go to your sub-repository Settings page on Github then look for the Deploy keys tab.
- Click on Add deploy key and paste the public key into the Key field. You can add "Odoo.sh" as title and save.
- Now follow the steps described hereunder for the Public repositories.
Here are the steps to add your sub-repository as a submodule of your Odoo.sh project (you don't need to set up a deploy key for public repositories).
- Let your project "know" that you require a submodule:
git submodule add -b BRANCH email@example.com:USERNAME/REPOSITORY.git PATH.
- Commit this change and push it:
git commit -a && git push -u origin master.
- Wait while Odoo.sh builds your project... and it's done!
You can define
requirements.txt files in your branch holding the python dependencies your project relies on.
These requirements files can be placed in the root of the folders containing your addons.
The platform will then install the dependencies for each build.
It is not possible to install or upgrade system packages in an Odoo.sh instance (e.g. apt packages).
Nevertheless, if the package could be useful for more than one project, we will consider to install it by default in the containers images if the package meets the following requirements:
- there should be not conflict with the rest of the packages
- the software should not run as (or depend on) a long-running service or daemon
- no elevated privileges or additional system users should be required
- the software should not directly or indirectly represent a security attack vector nor favor the infringement of our Acceptable Use Policy.
- the software should run flawlessly in a constrained Linux namespace environment with cgroup limits on memory, processes, threads, files, ... (this excludes greedy VMs such as java)
Please note that accepted system packages will be kept as long as the above conditions are met. Should a conflict arise when the platform is moving to a more recent OS distribution, it may be removed.
PostgreSQL extensions are not supported on Odoo.sh hence it is not possible to install extensions (such as PostGIS, ltree, ...) in an Odoo.sh database.
Third party Odoo modules:
Third party Odoo modules are subject to the same restrictions stated above, but occasionally some modules might be incompatible by design with Odoo.sh for technical reasons. Here is the list of incompatible modules we are currently aware of:
- queue_job causing performance degradation (depending on the amount of workers) that can lead to the infringement of our Acceptable Use Policy.
- odoo_agent (and forks) causing long polling breakage on Odoo.sh
Odoo instances API
Each Odoo build comes with an XML-RPC interface. It allows you to interact from an external application. You can find here the documentation for the Odoo API.
In order to connect to your database, you will need:
- the database URL (eg:
- the port number is
- the database name can be found in the shell by typing the following command: echo $PGDATABASE.
- the login and password for the desired user
If you are looking for an API to interact with the Odoo.sh platform (eg: creating a new project, new branches or requesting a rebuild), this is not planned to be developed for now.
Deleting the Github repository does not delete the project, for the simple reason that an accidental deletion of the repository could potentially drop a production database without any warning.
If you wish to create another project, you must first delete the old one. You can do so by going to the page https://www.odoo.sh/project/<your_project>/settings and follow the deletion procedure at the bottom of the page.
Support for other SCM such as Gitlab, Bitbucket... might land in Odoo.sh at some point in the future but these are currently considered as a low priority in the Odoo.sh features wishlist.
That said, you still have a mean to use a repository hosted by another provider than Github on Odoo.sh by using an intermediate Github repository which links to your repository through a submodule. This is less comfortable than using Gitlab, Bitbucket... directly but this is a workaround you'd want to consider.
Yes, but port
25 is not allowed.
For more information, refer to the question Do I have Internet access on Odoo.sh containers?
Builds are garbage collected after some time to make room for new development builds (production instances are, naturally, excluded from this process).
If you wish to rebuild an instance for an existing branch, you can use the "Rebuild" button on the Builds page.
The platform will automatically lock databases that are expired for more than 3 months. If this was a staging or development build, simply use the "Rebuild" button on the Builds page to have a new one. If you need to salvage the expired database you can still download its dump. If it's a production database, you can start over by drag and dropping the production branch to development and back to production to make a fresh start, or you can contact us if you need it unblocked.
Development branches are always built with demo data installed. Only production branches are created completely empty.
The point of the development branches is to run the unit tests. Currently, in Odoo, these unit tests depends on the demo data.
In the future, if the test data get separated from the demo data, we would then consider the possibility to create development builds without demo data.
Most of this is taken care of by the platform, for all standard integrations.
By default, in the staging environment:
- all outgoing emails are captured automatically (and custom outgoing mail servers are deactivated)
- all scheduled actions (
ir.cronjobs) are deactivated, except the "Garbage Collection" one
ir.loggingentries generated by Odoo.sh are removed
- social integrations are turned off (Push notifications, Facebook, LinkedIn, ...)
- shipment provider configurations are put in test mode or deactivated (DHL, Fedex, UPS,...)
- bank account synchronizations are put in sandbox mode (Yodlee, Ponto, ...)
- seller accounts for marketplaces sync are removed (eBay, Amazon, ...)
- all built-in payment processor credentials are removed (Stripe, Paypal, Ingenico, ...)
- calendar and drive sync tokens are removed (Google Calendar and Google Drive, Microsoft calendar, ...)
- In-App-Purchase (IAP) accounts are removed (Lead enrichment, Invoice OCR, ...)
- localization-related government EDIs (e-Invoice, ...) tokens are removed
/robots.txtwebsite route is disabled to prevent duplicated content SEO penalties
In addition, special environment variables are available if you'd like your code to dynamically adapt to the environment:
ODOO_STAGE: contains the current stage, possible values can be (but are not limited to):
production | staging | dev. Other values, are used for non customer facing internal stages and for support.
ODOO_VERSION: matches the current build's Odoo version (eg:
For Project Managers
- Partners: unlimited trial projects.
- Enterprise customers: You must subscribe to Odoo.sh, meaning your enterprise subscription has to include Odoo.sh.
When creating your project, if you have the error message:
The provided subscription code does not appear to be valid for Odoo.sh
It means your subscription is either not a partnership subscription, either this is an enterprise subscription which does not include Odoo.sh.
A trial project is one activated with a partnership subscription code. It's meant to be used to test and evaluate Odoo.sh. It has access to the full suite of features Odoo.sh offers but is limited to 1 worker, 2 stagings and 1GB of storage per build.
The trial project can be used for 30 days. If you plan to use the project, please get a subscription with the Odoo.sh option and use its code to change the project's activation code in the Settings page.
After the trial period, the production branch will be reset to development, deleting the production database. You will still be able to put it back to production to download a backup during a period of 60 more days after which the trial project will be deleted. But you won't be able to perform any other operation as long as the project remains in trial.
Yes, you can.
If you decide you no longer want your production database to be hosted by Odoo.sh, you can download a dump of your database and import it on your own Odoo server.
You can generate and download a dump of your database in the backups tab of your production branch.
The Odoo releases used by Odoo.sh are the releases you can download and install on your own machines, and which are officially supported to be used as on-premise installation. For that matter, we do not plan to use the saas releases of Odoo, which are not meant to be installed on an on-premise installation.
Odoo.sh allows you to create a project in any of the supported major versions.
Once a version reaches its end of support, projects still using this version will have 2 years to upgrade to any of the supported major versions. After these 2 years, any database still using this version will no longer be available for its users.
For System Administrators
Yes, on production or staging branches under the backups tab you can import a database dump. Make sure it is of the requested format and runs on the same version of Odoo.
Note: Odoo.sh only hosts major Odoo versions, intermediate versions (eg: 14.1, 15.2) are not supported.
In the settings page of your project, under the section "Custom domains", you will be able to add custom domains for your production database.
Once your domain added to this list,
you will have to set the DNS entries in the manager of your domain name registrar.
Perform the following operations:
- Create a CNAME record www.yourdomain.com pointing to <yourdatabase>.odoo.com
- If you want to use the naked domain (e.g. yourdomain.com), you need to redirect yourdomain.com to www.yourdomain.com.
Note: when adding a domain name, the
/robots.txt website route will be disabled for requests reaching
.odoo.com domain in order to avoid SEO duplicated content penalties.
SSL is enabled by default. If the redirection is correctly set up, the platform will automatically generate an SSL certificate with Let's Encrypt within the hour.
It is currently not possible to configure your own SSL certificates on the Odoo.sh platform. We are considering the feature.
You don't have to, the platform does it for you. On a weekly basis, the platform freezes a revision by selecting the last green set of builds for each version on our R&D CI platform and the servers's Odoo repositories (odoo, enterprise, themes) are updated accordingly. On special occasions, this procedure might be triggered a second time during the week in case of major software issue or when an urgent security update is published.
Note: in case of severe security update or hardware/performance problem, we reserve the right to interrupt the service in order to upgrade the platform or restart a server, and this in accordance with our SLA.
Production builds are backuped every 24 hours.
We keep 14 full backups of each Odoo production instance for up to 3 months: 1/day for 7 days, 1/week for 4 weeks, 1/month for 3 months.
We do not backup nor ensure recovery of development and staging builds as those builds are not assumed to be used for persistent data storage
This is not possible because the Odoo hosting platforms (Odoo Online and Odoo.sh) do not expose the postgresql clusters to the internet for security reasons.
If you need to communicate with a third party system/application (E-commerce, BI reporting, ...), you will need to setup the integration at the http layer.
Keep in mind that in case you need to periodically import data into an Odoo.sh database, you should use the #load() method of the model you want to import into (instead of making one rpc request per row to create/update) otherwise the requests might be rate limited.
Odoo.sh uses the following GCP data centers:
- Americas: Council Bluffs, Iowa
- Europe: Saint-Ghislain, Belgium
- Middle East / Southern Asia: Mumbai
- Other Asia: Singapore
- Oceania: Sydney
It is not possible to request to change the region of an Odoo.sh project however this operation can be completed manually by transferring a backup from one project to another.
Please note that the underlying hosting provider and the locations of the data centers within a zone are not contractual and subject to change without notice. Read more about our third party service providers.
An Odoo.sh instance is not bound to a particular server for it's whole lifetime and will be migrated many times
on different servers during OS upgrades, server consolidation, ...
Therefore we do not communicate those varying noncontractual details.
Dedicated servers have static IP addresses, however these can be changed in the event of architecture migration or disaster recovery.
Shared servers are regularily consolidated, hence instances hosted on those servers may be moved from one server to another at any time.
It is indeed possible to transfer the ownership of the repository linked to your Odoo.sh project.
After performing the transfer, the platform will be aware of the ownership and url change when receiving the next commit's webhook. Even an empty commit is sufficient to trigger the update, here is an example of empty commit:
git commit --allow-empty -m "Changed repository ownership"; git push
Note: in case the repository transfer is done from/to a github organisation, you need to have the appropriate permissions. If you don't, a workaround is to transfer the repository to a standard account as a middle step. In case of trouble please read the github repository transfer documentation .