Closed clemens-tolboom closed 9 months ago
Steps are not correct when having the newer install scripts available on https://github.com/molgenis/molgenis-service-armadillo/tree/master/scripts/install
--cleanup
instead to have all reinstalled?~ ==>
NO ... as data is deleted tooSteps are not correct when having the newer install scripts available on https://github.com/molgenis/molgenis-service-armadillo/tree/master/scripts/install
- [ ] Should we use the
--cleanup
instead to have all reinstalled?- [ ] Is the armadillo-check-update.sh script installed and added to cron ... which we still are not sure we want
I don't think we want to use --cleanup
, as I believe this throws away the data as well.
Steps are missing the version intended
Download files from your version located in
/scripts/install/armadillo-check-update.sh
/application.template.yml
diff --side-by-side /etc/armadillo/application.yml v4.1.1/application.template.yml
./v4.1.1/armadillo-check-update.sh
Updater version: 0.1.0
Mode : prd
Auto install : n
Armadillo home : /usr/share/armadillo
Current version: 3.4.0
Current version is not upgradeable. It must be higher then 3.9999.0
What armadillo versions are available on your system
ls -l /usr/share/armadillo/application
systemctl stop armadillo
systemctl status armadillo
cd /usr/share/armadillo/application/
ls -l
rm armadillo.jar
ln -s /usr/share/armadillo/application/armadillo-4.1.1.jar armadillo.jar
ls -l
systemctl start armadillo
systemctl status armadillo
docker volume ls
# Where located
docker volume inspect ca0e9a34466a7543e42624421a332fc10266f23d0a809eb8f20933c8b15f0e9c
# Same list as above
ls -l /var/lib/docker/volumes/
# How much (seems only in kilobytes)
du -h -s /var/lib/docker/volumes/*
docker volume prune
ls -l /var/log/armadillo/
ls -l /usr/share/armadillo/
less /var/log/armadillo/armadillo.log
tail -f /var/log/armadillo/*
This lead to PR #629 which got merged and released.
Are you ready for Rock only
datashield/rock-base:latest
ordatashield/rock-dolomite-xenon:latest
are compatible with your needs.Upgrade to v4 latest (pre) release
docker pull
beforehandapplication.template.yml
data/system/profiles.json
SPRING_CONFIG_ADDITIONAL_LOCATION
ie in the service config ie/etc/systemd/system/armadillo.service
/#/profiles
aredatashield/rock-base:latest
ordatashield/rock-dolomite-xenon:latest
Clean up docker containers/images