This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drupal-1 | 2024-11-27T18:04:16.855076919Z 2024/11/27 18:04:16 [warn] 1173#1173: *29422 a client request body is buffered to a temporary file /var/lib/nginx/tmp/client_body/0000000093, client: 172.18.0.2, server: drupal, request: "POST /media/add/document?element_parents=field_media_document/widget/0&edit%5Bfield_media_of%5D%5Bwidget%5D%5B0%5D%5Btarget_id%5D=1000009364&ajax_form=1&_wrapper_format=drupal_ajax HTTP/1.1", host: "bd-i8-stage.born-digital.com", referrer: "https://bd-i8-stage.born-digital.com/media/add/document?edit%5Bfield_media_of%5D%5Bwidget%5D%5B0%5D%5Btarget_id%5D=1000009364" | |
alpaca-1 | 2024-11-27T18:04:17.208457288Z ERROR 18:04:17.206 [Camel (camel-1) thread #3 - JmsConsumer[islandora-connector-houdini]] (DerivativeConnector) (houdini) Error connecting generating derivative with http://houdini:8000/convert?connectionClose=true&disableStreamCache=true: Connect to review-2024-9-test-fix-18-232-222-17.traefik.me:443 [review-2024-9-test-fix-18-232-222-17.traefik.me/18.232.222.17] failed: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt install make | |
cd /opt | |
git clone https://github.com/islandora-devops/isle-dc.git | |
cd isle-dc | |
cp sample.env .env | |
IP=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address | sed 's/\./-/g') | |
sed -i "s/DOMAIN=.*/DOMAIN=$IP.traefik.me/g" .env | |
make demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
service karaf stop | |
# Back up the data directoyr just in case | |
tar -czvf ~/data.tar.gz /opt/karaf/data | |
rm -rf /opt/karaf/data/* | |
# Temporarily move out the blueprint files and sed them to use | |
# 'broker' instead of 'activemq' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
set -euxo pipefail | |
COLLECTION_NID=`curl -sSf -X POST -u changeme:changeme -H "Content-Type: application/json" -d "{\"title\": [\"Christian Martyrdom\"], \"type\": \"islandora_object\", \"field_model\": [30]}" http://future.islandora.ca/entity/node?_format=json | jq -re '.nid[0].value'` | |
for file in *.jpg; do | |
PAGE_NID=`curl -sSf -X POST -u changeme:changeme -H "Content-Type: application/json" -d "{\"title\": [\"$file\"], \"type\": \"islandora_object\", \"field_member_of\": [$COLLECTION_NID], \"field_model\": [31]}" http://future.islandora.ca/entity/node?_format=json | jq -re '.nid[0].value'` | |
curl -sSf -X PUT -u changeme:changeme -H "Content-Type: image/jpeg" -H "Content-Location: fedora://2020-04/$file" --data-binary @"$file" "http://future.islandora.ca/node/$PAGE_NID/media/image/16" | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update drupal core | |
cd /var/www/html/drupal | |
composer -n update drupal/core webflo/drupal-core-require-dev "symfony/*" --with-dependencies | |
# Update islandora dependencies in composer.json | |
sed -i 's/"islandora\/islandora_defaults": "1.0.0"/"islandora\/islandora_defaults": "1.1.0"/' composer.json | |
sed -i 's/"islandora\/openseadragon": "1.0.0"/"islandora\/openseadragon": "1.1.0"/' composer.json | |
sed -i 's/"islandora\/carapace": "1.0.0"/"islandora\/carapace": "3.0.0"/' composer.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -RiIl 'PasswordAuthentication no' /etc/ssh/sshd_config | xargs sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' | |
service ssh restart | |
grep -RiIl "$1" /var/www | xargs sed -i "s/$1/$2/g" | |
grep -RiIl "$1" /opt | xargs sed -i "s/$1/$2/g" | |
cd /var/www/html/drupal | |
drush -y cset --input-format=yaml islandora.settings gemini_url "http://$2:80/gemini" | |
drush -y cset --input-format=yaml islandora_iiif.settings iiif_server "http://$2:8080/cantaloupe/iiif/2" | |
drush -y cset --input-format=yaml openseadragon.settings iiif_server "http://$2:8080/cantaloupe/iiif/2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur inventory/vagrant/group_vars/all/passwords.yml inventory/sandbox/group_vars/all/passwords.yml | |
--- inventory/vagrant/group_vars/all/passwords.yml 2019-10-31 11:28:11.975058891 -0300 | |
+++ inventory/sandbox/group_vars/all/passwords.yml 2019-11-19 11:47:22.435840282 -0400 | |
@@ -1,20 +1,20 @@ | |
--- | |
# Drupal | |
-drupal_db_password: islandora | |
-drupal_account_pass: islandora | |
+drupal_db_password: ChangeMe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uuid: 017ab87a-6b33-4bc4-85dd-2628db6768f9 | |
langcode: en | |
status: true | |
dependencies: | |
config: | |
- field.storage.media.field_media_file | |
- taxonomy.vocabulary.islandora_media_use | |
content: | |
- 'taxonomy_term:islandora_media_use:bf0edc29-aec8-430b-bfe9-e07715bffed0' | |
module: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daniel@daniel-Latitude-3560:~/Code/Environments/claw-playbook$ diff -ENwbur inventory/vagrant inventory/sandbox | |
diff -ENwbur inventory/vagrant/group_vars/all/passwords.yml inventory/sandbox/group_vars/all/passwords.yml | |
--- inventory/vagrant/group_vars/all/passwords.yml 2018-02-05 09:50:58.353953059 -0400 | |
+++ inventory/sandbox/group_vars/all/passwords.yml 2018-10-29 12:14:03.275311691 -0300 | |
@@ -1,17 +1,17 @@ | |
--- | |
# Drupal | |
-drupal_db_password: islandora | |
-drupal_account_pass: islandora |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/install/core.entity_form_display.node.cat_geographic_location.default.yml b/config/install/core.entity_form_display.node.cat_geographic_location.default.yml | |
index e7c0252..c765cf8 100644 | |
--- a/config/install/core.entity_form_display.node.cat_geographic_location.default.yml | |
+++ b/config/install/core.entity_form_display.node.cat_geographic_location.default.yml | |
@@ -11,9 +11,6 @@ dependencies: | |
- node.type.cat_geographic_location | |
module: | |
- controlled_access_terms | |
- - geolocation | |
- - path |
NewerOlder