-
Notifications
You must be signed in to change notification settings - Fork 17
How to upgrade XPRESSO to v20.12
jatinbajaj1 edited this page Dec 7, 2020
·
16 revisions
Steps to upgrade:
- Go to xpresso base directory and remember your DB password in env/database.env
git pull- After git pull, use the old DB password everywhere else
- Make sure xpresso_admin password is the same across all these files
- env/databases.env
- initializers/docker-entrypoint-initdb.d/1-user.sql
- initializers/settings.yml
- etc/mgmt_settings.py
- Run script to upgrade database and migrate data
./migrate202012.sh
- After Xpresso is up, if you update configurations or change any settings at
initializers/settings.yml, you need to updatedocker-compose.ymlundermanagementservice and setFORCE_UPDATE: 'True'and restart the management servicedocker-compose restart management, in order to reflect the changes.
Notes:
- If you first install XPRESSO after December 2020, you don't need to run above steps.
- If you installed XPRESSO before December 2020 and want to upgrade to see our new feature, please follow above steps.
What's included in this upgrade
- Upgrade MySQL version from 5.6 to 8.0
- New upload service and result service which provide faster result uploading and viewing experience.
- A bunch of new features, you can check "What's New in this Release" portion in documentation for details.
Fallback steps:
- If you encounter any issue during the upgrade, you can run
./fallback_to_5.6.shin base folder to recover previous version. - After running the script, change the TAG to v20.6 in .env. i.e.
TAG=v20.6and rundocker-compose up -dto bring up the container - After restoration, you can run steps to upgrade again.