Skip to content

Instantly share code, notes, and snippets.

View br2490's full-sized avatar

Benjamin Rosner br2490

View GitHub Profile
@br2490
br2490 / paginationImage
Last active September 9, 2019 19:52
9-9-19 Pagination Update
Update for Islandora pagination
@br2490
br2490 / solr.log
Created March 15, 2019 15:18
Solr classloader issues?
3/14/2019, 3:05:48 AM
WARN
SolrResourceLoader
Can't find (or read) directory to add to classloader: ../../../contrib/extraction/lib (resolved as: /usr/local/fedora/solr/collection1/../../../contrib/extraction/lib).
3/14/2019, 3:05:48 AM
WARN
SolrResourceLoader
Can't find (or read) directory to add to classloader: ../../../dist/ (resolved as: /usr/local/fedora/solr/collection1/../../../dist).
3/14/2019, 3:05:48 AM
WARN
time="2018-09-27T22:55:55Z" level=info msg="Using TOML configuration file /etc/traefik/traefik.toml"
time="2018-09-27T22:55:55Z" level=info msg="Traefik version v1.7.0 built on 2018-09-24_09:57:21AM"
time="2018-09-27T22:55:55Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/basics/#collected-data\n"
time="2018-09-27T22:55:55Z" level=debug msg="Global configuration loaded "
time="2018-09-27T22:55:57Z" level=debug msg="Add certificate for domains isle.localdomain"
time="2018-09-27T22:55:57Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:0xc0002cc900 Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0006bca20} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2018-09-27T22:55:57Z" level=info msg="Preparing server https &{Address::443 TLS:0xc0000103f0 Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:fa
time="2018-09-27T21:34:14Z" level=info msg="Using TOML configuration file /etc/traefik/traefik.toml"
time="2018-09-27T21:34:14Z" level=info msg="Traefik version v1.7.0 built on 2018-09-24_09:57:21AM"
time="2018-09-27T21:34:14Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/basics/#collected-data\n"
time="2018-09-27T21:34:14Z" level=debug msg="Global configuration loaded "
time="2018-09-27T21:34:15Z" level=debug msg="Add certificate for domains isle.localdomain"
time="2018-09-27T21:34:15Z" level=info msg="Preparing server https &{Address::443 TLS:0xc0002bf200 Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc000705b20} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2018-09-27T21:34:15Z" level=debug msg="Add certificate for domains isle.localdomain"
time="2018-09-27T21:34:15Z" level=info msg="Preparing server traefik &{Address::808
INFO 2018-03-27 15:47:23.859 [localhost-startStop-1] (Server) Post-Initializing org.fcrepo.server.storage.lowlevel.akubra.AkubraLowlevelStorageModule
INFO 2018-03-27 15:47:23.859 [localhost-startStop-1] (Server) Post-Initializing org.fcrepo.server.validation.DOObjectValidatorModule
INFO 2018-03-27 15:47:23.859 [localhost-startStop-1] (Server) Post-Initializing org.fcrepo.server.security.DefaultAuthorization
INFO 2018-03-27 15:47:23.859 [localhost-startStop-1] (PolicyFinderModule) Loading repository policies...
INFO 2018-03-27 15:47:23.859 [localhost-startStop-1] (PolicyFinderModule) Generating backend policies...
INFO 2018-03-27 15:47:23.871 [localhost-startStop-1] (SimplePolicyLoader) Loading policy: /usr/local/fedora/server/fedora-internal-use/fedora-internal-use-backend-service-policies/callback-by_default.xml
INFO 2018-03-27 15:47:23.872 [localhost-startStop-1] (SimplePolicyLoader) Loading policy: /usr/local/fedora/server/fedora-internal-use/fedora-internal-use-backend-service-policies/callback-by_fedoraI
#!/bin/bash
## Place this script in the directory containing mkdocs.yml.
## It assumes the docs are in the docs directory, greps all the files, and concats to one large file.
# ## Check for and install Pandoc
# if ! which pandoc; then
# echo 'Installing pandoc.'
# sleep 2s;
# sudo apt-get update -y;
# sudo apt-get install pandoc -y;
#!/bin/bash
pandoc ./index.md ./about.md ./Glossary.md ./System_Requirements.md ./00Host_Server/Host_Server_Setup.md ./00Host_Server/Host_Server_Ubuntu.md ./00Host_Server/Host_Server_CentOS.md ./00Host_Server/Host_Server_Setup_Ansible.md ./01_Installation_Migration/01_0_Installation.md ./01_Installation_Migration/01_1_testsite_guide.md ./01_Installation_Migration/01_2_testsite_user_story.md ./01_Installation_Migration/01_3_new_site_guide.md ./01_Installation_Migration/01_4_newsite_user_story.md ./01_Installation_Migration/Migration_Guide.md ./01_Installation_Migration/Migration_User_Story.md ./01_Installation_Migration/migration_export_checklist.md ./01_Installation_Migration/migration_merge_checklist.md ./Isle_Containers_Description.md ./1_system_process_overview/summary.md ./1_system_process_overview/mvpspecs.md ./1_system_process_overview/1_3_system_overview/systemoverview.md ./1_system_process_overview/1_3_system_overview/supported-specification-matrix-table.md ./1_system_process_overview/1_3_system_overv
@br2490
br2490 / docker-compose.yml
Last active February 13, 2018 16:53
Barnard College ISLE docker-compose.yml - alpha version, in dev - Example migration of existing islandora stack -> docker stack environment.
version: '2'
# ISLE Alpha 2, for Development and Testing.
# Usernames and passwords to login to tomcat on services fedora and solr is: admin,ild_tc_adm_2018 - this is specified in the default tomcat-users.xml and can be replaced if you desire (SHOULD BE IN PROD)
services:
# PHPMyAdmin is a MySQL administration GUI. It's helpful for me!
# Connect to this container @ http://0.0.0.0:8081 - the sql host is "mysql" and user is "root" with password set in the mysql service ENV.
myadmin:
image: phpmyadmin/phpmyadmin:latest
container_name: phpmyadmin
@br2490
br2490 / docker-compose.yml
Created January 9, 2018 02:51
This is a networking issue - docker-compose "on build" doesn't respect the network defined and build on the default bridge. So, first you'll see networks below where I define just a default bridge called "isle-stacknetwork" (it will pickup ISLE from the foldername) and that was either unsuccessful or I didn't pay attention to the error apache th…
version: '2'
#labels:
# org.label-schema.version: "ISLE Alpha 2.0"
# org.label-schema.description: "ISLE Base Image with sample site isle.localdomain docker-compose.yml for non-production usage."
# org.label-schema.license: "Apache-2.0"
# org.label-schema.vcs-url: "git@github.com:Islandora-Collaboration-Group/ISLE.git"
# org.label-schema.vendor: "Islandora Collaboration Group (ICG) - islandora-consortium-group@googlegroups.com"
# org.label-schema.schema-version: "1.0"
services:
"Women college students", 101,
"Education", 88,
"Commencement ceremonies", 85,
"College buildings", 81,
"Student activites", 80,
"Student activities", 23,
"Theater", 22,
"Students' songs", 9,
"Suffragists", 7,