From 54bcdf1ee06ee16baa2a70d6788bc4b59053ccce Mon Sep 17 00:00:00 2001 From: Björn Mattsson Date: Tue, 1 Aug 2023 13:17:27 +0200 Subject: Move ExtrenalEnties into DB to not get memoryproblems --- metadata/scripts/update-and-validate.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/metadata/scripts/update-and-validate.sh b/metadata/scripts/update-and-validate.sh index 628a2f0b..4cd286b2 100755 --- a/metadata/scripts/update-and-validate.sh +++ b/metadata/scripts/update-and-validate.sh @@ -27,9 +27,11 @@ update() # Cleanup Pending-queue docker exec swamid-metadata-sp php /var/www/scripts/cleanupPending.php + + # to be able to show non-swamid entities on web-page + wget -qO swamid-2.0.xml https://mds.swamid.se/md/swamid-2.0.xml + docker exec swamid-metadata-sp php /var/www/scripts/updateExternalEntities.php } cd /opt/metadata || exit 1 update -# to be able to show non-swamid entities on web-page -wget -qO swamid-2.0.xml https://mds.swamid.se/md/swamid-2.0.xml -- cgit v1.2.3