Skip to content

Instantly share code, notes, and snippets.

View hardyoyo's full-sized avatar
🕺
husslin'

Hardy Pottinger hardyoyo

🕺
husslin'
View GitHub Profile
@hardyoyo
hardyoyo / vagrant-dspace-error.txt
Created August 11, 2014 18:15
vagrant-dspace error 2014-08-11
pottingerhj@mu-161174 ~/Documents/workspace/vagrant-dspace (master)$ vagrant destroy -f && vagrant up
==> default: [landrush] removing machine entry: dspace.vagrant.dev
==> default: [landrush] there are 1 VMs left, leaving DNS server and static entries
==> default: [landrush] - mospace.vagrant.dev
==> default: Destroying VM and associated drives...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
==> default: Running cleanup tasks for 'shell' provisioner...
@hardyoyo
hardyoyo / input-forms.xml
Created August 15, 2014 05:52
input-forms.xml file for duplicating DS-2104 (and testing DSPR#607)
<?xml version="1.0"?>
<!DOCTYPE input-forms SYSTEM "input-forms.dtd">
<input-forms>
<!-- The form-map maps collection handles to forms. DSpace does not -->
<!-- require a collection name to be unique, not even within a community. -->
<!-- DSpace does however ensure that each collection's handle is unique. -->
<!-- Form-map provides the means to associate a unique collection name -->
@hardyoyo
hardyoyo / docker_fcrepo4.sh
Last active August 29, 2015 14:05
commands required to boot up fcrepo4 in docker, and then map that container's port to the host's port 80
docker pull cbeer/docker-fcrepo4
nohup docker run -p 80:8080 cbeer/docker-fcrepo4 &
@hardyoyo
hardyoyo / omg_one_line_go_docker_go.txt
Last active August 29, 2015 14:05
OMG, a one-line user-data bootstrap
https://get.docker.io
https://gist.githubusercontent.com/hardyoyo/592da7771742d1bec25c/raw/616ee1b6d0493467d0fa0a7ecc71e8f746a1e125/docker_fcrepo4.sh
@hardyoyo
hardyoyo / Vagrantfile
Created September 5, 2014 16:11
Vagrant-DSpace with generic Vagrant-Cachier plugin set up for Maven, attempt 1
# -*- mode: ruby -*-
# vi: set ft=ruby :
####################################
# Vagrantfile for DSpace Development
#
# WARNING: THIS IS A WORK IN PROGRESS. IT DOES NOT YET FULLY INSTALL DSPACE VIA VAGRANT!
#
# DO NOT USE IN PRODUCTION. THIS IS FOR DEVELOPMENT/TESTING PURPOSES ONLY.
#
@hardyoyo
hardyoyo / setenv.sh
Created October 30, 2014 19:33
my setenv.sh script
#! /bin/sh
# ==================================================================
# ______ __ _____
# /_ __/___ ____ ___ _________ _/ /_ /__ /
# / / / __ \/ __ `__ \/ ___/ __ `/ __/ / /
# / / / /_/ / / / / / / /__/ /_/ / /_ / /
#/_/ \____/_/ /_/ /_/\___/\__,_/\__/ /_/
# Multi-instance Apache Tomcat installation with a focus
# on best-practices as defined by Apache, SpringSource, and MuleSoft
@hardyoyo
hardyoyo / testing_pr712.txt
Created November 4, 2014 22:39
testing DSPR#712
[vagrant@dspace dspace-installer (ctu-code-testing)]$ ant update
Buildfile: /home/vagrant/dspace-src/dspace/target/dspace-installer/build.xml
prepare_configs:
[mkdir] Created dir: /home/vagrant/dspace-src/dspace/target/dspace-installer/config-temp
[copy] Copying 1 file to /home/vagrant/dspace-src/dspace/target/dspace-installer/config-temp
[copy] Copying 1 file to /home/vagrant/dspace-src/dspace/target/dspace-installer/config-temp
[copy] Copying 141 files to /home/vagrant/dspace-src/dspace/target/dspace-installer/config-temp
copy_configs_keep:
@hardyoyo
hardyoyo / DRAFT-DSpace5-testathon-announcement.txt
Last active August 29, 2015 14:08
DRAFT: DSpace 5.0 testathon announcement
DSpace 5.0 Testathon begins Nov 10, 2014 -- Users / Feedback wanted
From Hardy Pottinger, DSpace 5.0 Release Team Member
The first Release Candidate for DSpace 5.0 will be made available for testing on November 6, 2014.
Some new features of interest include:
For all UIs:
* Batch import from Zip files uploaded via the admin interface of either UI
@hardyoyo
hardyoyo / localhost_where.txt
Created December 5, 2014 15:55
hunting localhost in vanilla dspace
[vagrant@dspace config]$ grep -ri localhost ./
./dspace.cfg:dspace.hostname = localhost
./dspace.cfg:dspace.baseUrl = http://localhost:8080
./dspace.cfg:dspace.url = http://localhost:8080/xmlui
./dspace.cfg:db.url = jdbc:postgresql://localhost:5432/dspace
./dspace.cfg:mail.allowed.referrers = localhost
./dspace.cfg:#handle.canonical.prefix = http://localhost:8080/xmlui/handle/
./dspace.cfg:handle.canonical.prefix = http://localhost:8080/xmlui/handle/
./dspace.cfg:## webui.feed.logo.url = http://localhost:8080/xmlui/themes/mysite/images/mysite-logo.png
./dspace.cfg:#solr.authority.server=http://localhost:8080/solr/authority
@hardyoyo
hardyoyo / ds-2225-dspr-780-testing.txt
Created December 5, 2014 19:24
DS-2225/DSPR#780 testing
Hmm... I'm testing as suggested, without configuring ORCID at all, and running the index-authority script, and I see this error in dspace.log, after observing on the console the intended error message (*skip to the end):
2014-12-05 19:15:49,384 DEBUG org.dspace.authority.AuthoritySolrServiceImpl @ Solr authority URL: null
2014-12-05 19:15:49,389 ERROR org.dspace.authority.AuthoritySolrServiceImpl @ Authority solr is not correctly configured, check "solr.authority.server" property in the dspace.cfg
java.lang.NullPointerException
at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:150)
at org.apache.solr.client.solrj.impl.HttpSolrServer.<init>(HttpSolrServer.java:141)
at org.dspace.authority.AuthoritySolrServiceImpl.getSolr(AuthoritySolrServiceImpl.java:49)
at org.dspace.authority.AuthoritySolrServiceImpl.isConfiguredProperly(AuthoritySolrServiceImpl.java:93)
at org.dspace.authority.indexer.AuthorityIndexClient.isConfigurationValid(AuthorityInd