ITILITIUpgrade Panel
Guide/Instances

Data and code from main

On the staging: fetch fresh data from main, and see whether the code equals main.
On the staging: fetch fresh data from main, and see whether the code equals main.

Fresh data from main, like when you drag main down onto a staging in Odoo.sh. There are three ways:

  • Drag the main tile on main's Staging tab down onto a staging.
  • Press Fetch data here next to the staging in the list on main.
  • Press Fetch data from main on the staging itself, or in the purple stripe at the top.

The database and files are replaced with a fresh copy and neutralized again, while the staging's code, repos and settings are kept. If the code differs from main, the modules are updated afterwards. A backup of the staging is taken first (“Before data from main” under Backups). If something stops after the data has been replaced, the staging is left stopped, so it never runs with data that is not neutralized. A staging that has been upgraded to a newer version than main cannot get data directly. Create a new staging and upgrade it then.

Modules not working in a staging? See the box Code from main. It shows whether repos, commits, uploaded modules or the configuration differ from main, and the purple stripe says so too. Fetch code from main fixes it and restarts the staging, without touching the database. Code you have put only in the staging to test it is replaced.