Asqatasun v4 - Upgrade from Asqatasun v4.0.3 to v4.1.0
TL;DR
- Export data from host with v4.0.3
- Install on another host a fresh v4.1.0
- Import data from v4.0.3
- Update SQL schema
- Enjoy
1. Export data from v4.0.3
- Stop Apache
- Stop Tomcat
- Then export DB with
mysqldump \
--user=asqatasun \
-p \
--databases asqatasun
--result-file=SAVE_DB_asqatasun.sql
2. Install Asqatasun v4.1.0
- Pre-requisites: Ubuntu 18.04, OpenJDK8
- Follow Asqatasun Installation
3. Import data from v4.0.3
mysql --user=asqatasun -p -e "drop database asqatasun;"
mysql --user=asqatasun -p <SAVE_DB_asqatasun.sql
4. Update SQL schema
Grab the two following file:
And apply the following (order in important):
mysql --user=asqatasun -p asqatasun <asqatasun-40-update-from-4.0.3-to-4.1.0.sql
mysql --user=asqatasun -p asqatasun <tgol-40-update-from-4.0.3-to-4.1.0.sql
5. Use Asqatasun 4.1.0
- Accounts, credentials and projects have been imported, so you can use your usual login / password