When an instance has been migrated and tested, Put into use at the customer (the button at the top of main) delivers it to the customer's staging or test. Never to production.
The wizard shows the progress at the top (Check, Staging, Modules, Database, Follow-up check), and only the step you are on is open. Check before start goes through what could stop you later: customer and Hosting, staging target, GitHub token, and whether the panel has the code for all own modules that are installed. If something is missing, you get a link to fix it.
Connect the agent in step 1. Paste the key from upgrade_panel_agent in the customer's staging. The panel stores it encrypted while the delivery is in progress, and deletes it when you end. Then the panel itself checks the Odoo version, which modules the staging lacks, that the modules are in place after you have fetched them at the provider (“Check the staging”), and the health after the upload. Without an agent you confirm the steps yourself.
- Choose the staging and check the Odoo version. Only targets marked Staging/test on the customer can be chosen. The version is read from the staging (over https, or from the receive script over SSH). If it cannot be read, you confirm it yourself.
- Deliver own modules before the database. As a zip, as a new branch in the customer's repo, or over SSH to the addons folder. The modules are packaged exactly as the instance runs them.
- Delivery repo when the customer has no repo of their own. Choose “Delivery repo at your side” in step 2. The panel creates a private repo for the customer in your GitHub organization (Settings → General), and places the modules on the branch for the Odoo version, for example 20.0. The repo is permanent: new versions of the modules end up on the same branch, and the repo can be transferred to the customer later. Paste the key the provider shows you under “Give read access”, and it can read that one repo and nothing else. It works with everyone who can fetch a private git repo: CloudPepper (git addon), Skysize and Odoo.sh (submodule), own server and others. GITHUB_TOKEN must be able to create repos in the organization (“Administration: write” and “Contents: write”).
- Copy and upload. Choose which database should go up: main as it is now, a staging as it is now, or a backup you took earlier (the comment is shown in the list). The panel gives it a new database ID and neutralizes it before it leaves the panel. Then it is uploaded with database manager or SSH, or you download it and import it following the instructions.
- The checklist is the same as after the production upgrade.
The wizard adapts to the provider under Hosting on the customer:
- Own server, VPS or Coolify: database over SSH or database manager; modules over SSH to addons or as a branch in the repo.
- CloudPepper: database via the agent in the staging (recommended), over SSH or database manager; modules as git repo addon.
- Skysize: database via the agent in the staging, in the dashboard (up to 2 GB) or over SSH; modules in the repo they deploy from.
- Odoo.sh: the panel makes the zip file and shows the instructions for import; modules as a branch in the customer's repo.
- Unknown: the agent, database manager if it is on, otherwise zip and instructions.
Via the agent avoids the provider's upload limit (error 413): the copy is sent in small pieces. Install agent 1.1 in the staging, create a key, open access, tick “This database is a staging/test copy” and press “Allow replace”. The agent replaces the staging's database and keeps the old one under the name <db>_forrige_<tid>. Delete it when the staging is approved.
For modules over SSH the receive script must be version 1.1 or newer, with addons_dir set in /etc/odoo-upgrade-receive.conf. Also set odoo_bin if the panel cannot find the Odoo version.