Migrate Armadillo 4 to Armadillo 5
MOLGENIS Armadillo v5.x.y depends on Java 21, support for all older versions of Java are dropped, so if your Armadillo instance is not running on Java 21 yet, you'll have to update. To do so:
1. Get the update script
# Change the version number v5.x.y then run command
wget https://raw.githubusercontent.com/molgenis/molgenis-service-armadillo/v5.x.y/scripts/install/armadillo-check-update.sh
Make the script runnable
2. Run the update script
Once the script has completed, you can verify that the Armadillo JAR file has been downloaded by checking the directory:
3. Make backup of system config
We make a backup into the same v5x.y
directory but that is not strictly needed.
4. Stop Armadillo
5. Update Java
6. Link new version
# List application files
ls -l /usr/share/armadillo/application/
# Remove the linked file
rm /usr/share/armadillo/application/armadillo.jar
# Attach new linked file and dont forget to change the version number v5.x.y
ln -s /usr/share/armadillo/application/armadillo-5.x.y.jar /usr/share/armadillo/application/armadillo.jar
# Check result
ls -l /usr/share/armadillo/application/