Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CLAW-vagrant to fcrepo 4.7.0; Address #423. #425

Merged
merged 4 commits into from
Nov 25, 2016
Merged

Update CLAW-vagrant to fcrepo 4.7.0; Address #423. #425

merged 4 commits into from
Nov 25, 2016

Conversation

ruebot
Copy link
Member

@ruebot ruebot commented Nov 18, 2016

See: #423

@whikloj
Copy link
Member

whikloj commented Nov 21, 2016

Update to 4.7.1??? 😃

@ruebot
Copy link
Member Author

ruebot commented Nov 21, 2016

@whikloj are you done cutting it? 😄

@acoburn
Copy link
Contributor

acoburn commented Nov 21, 2016

I didn't think there was a 4.7.1 release. Did I miss something?

@acoburn
Copy link
Contributor

acoburn commented Nov 21, 2016

Or is this just anticipating the 4.7.1 release? (which will have some improved JSON-LD features)

@whikloj
Copy link
Member

whikloj commented Nov 21, 2016

I think it was a typo, but I felt the need to draw attention to it.

@ruebot ruebot added the Vagrant label Nov 22, 2016
@ruebot ruebot changed the title Update CLAW-vagrant to fcrepo 4.7.1; Adress #423. Update CLAW-vagrant to fcrepo 4.7.0; Adress #423. Nov 23, 2016
@ruebot
Copy link
Member Author

ruebot commented Nov 23, 2016

@Natkeeran to test

@ruebot
Copy link
Member Author

ruebot commented Nov 23, 2016

@edf to test as well

@Natkeeran
Copy link
Contributor

Natkeeran commented Nov 23, 2016

@ruebot

I have following vagrant

commit 661d3f2ba1442ea6a3051f30c5e497f28c29b65b
Author: nruest <ruestn@gmail.com>
Date:   Fri Nov 18 12:20:24 2016 -0500

Fetched the PR:

git fetch origin pull/425/head:issue-423

Went to: http://localhost:8080/fcrepo/. It is giving me a HTTP Status 404 - /fcrepo/ error.

solr, fits and bidgata are accessible.

I've attached the catalina.out file:
catalina.txt

@ruebot
Copy link
Member Author

ruebot commented Nov 23, 2016

@Natkeeran were there any errors in the Vagrant build that you can share?

@@ -30,4 +30,6 @@ service tomcat7 restart

sleep 10
cp -v $HOME_DIR/islandora/install/configs/repository.json /var/lib/tomcat7/webapps/fcrepo/WEB-INF/classes/config/minimal-default/repository.json
echo "CATALINA_OPTS=\"\${CATALINA_OPTS} -Dfcrepo.modeshape.configuration=CATALINA_OPTS="${CATALINA_OPTS} -Dfcrepo.modeshape.configuration=classpath:/config/minimal-default/repository.json"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ruebot Doh! @Natkeeran's problem is because this config no longer exists. Modeshape config here needs to be like fcrepo-exts/fcrepo-vagrant@05fcddc

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jared, ever the finder of my facepalms 😃

@ruebot ruebot changed the title Update CLAW-vagrant to fcrepo 4.7.0; Adress #423. Update CLAW-vagrant to fcrepo 4.7.0; Address #423. Nov 23, 2016
@edf
Copy link
Contributor

edf commented Nov 23, 2016

@ruebot FWIW I had the same experience as @Natkeeran

@ruebot
Copy link
Member Author

ruebot commented Nov 24, 2016

@edf was this with the most recent commit; 317447a?

@edf
Copy link
Contributor

edf commented Nov 24, 2016

no, I'll grab the most recent commit and retest

@ruebot
Copy link
Member Author

ruebot commented Nov 24, 2016

Awesome. Thanks @edf!

@Natkeeran
Copy link
Contributor

@ruebot

Same issue with

commit 317447aac0b4ebe6cdf3927b50b800bad20b473b
Author: nruest <ruestn@gmail.com>
Date:   Wed Nov 23 18:23:43 2016 -0500

I don't see any obvious issues from the vagrant output.

==> default: Installing Fedora.
==> default: Downloading Fedora 4 version 4.7.0
==> default: '/home/vagrant/islandora/install/downloads/fcrepo-4.7.0.war' -> '/var/lib/tomcat7/webapps/fcrepo.war'
==> default: '/home/vagrant/islandora/install/configs/repository.json' -> '/var/lib/tomcat7/webapps/fcrepo/WEB-INF/classes/config/file-simple/repository.json'
==> default: Running provisioner: shell...
    default: Running: /tmp/vagrant-shell20161124-19896-72q4lb.sh

I forgot to the pipe it to a file. Have the partial output as attachment.
vagrantout.txt

@ruebot
Copy link
Member Author

ruebot commented Nov 24, 2016

Ok, lots of updates with the most recent commit. I have permission from @dannylamb and @whikloj to go classic ruebot and scope creep this PR. This should also address #417, and make sure islandora is actually installed and enabled which I do not believe was done correctly in #427. This also makes sure Blazegraph is actually up.

So!

screenshot from 2016-11-24 13-58-23

screenshot from 2016-11-24 14-19-33

  • "Update Properties" should contain
PREFIX schema: <http://schema.org/>
PREFIX premis: <http://www.loc.gov/premis/rdf/v1#>
PREFIX bf: <http://id.loc.gov/ontologies/bibframe/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX nt: <http://www.jcp.org/jcr/nt/1.0>
PREFIX pcdm: <http://pcdm.org/models#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX acl: <http://www.w3.org/ns/auth/acl#>
PREFIX pcdmfmt: <http://pcdm.org/file-format-types#>
PREFIX xsi: <http://www.w3.org/2001/XMLSchema-instance>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX mode: <http://www.modeshape.org/1.0>
PREFIX xmlns: <http://www.w3.org/2000/xmlns/>
PREFIX pcdmuse: <http://pcdm.org/use#>
PREFIX xml: <http://www.w3.org/XML/1998/namespace>
PREFIX pcdmwrks: <http://pcdm.org/works#>
PREFIX jcr: <http://www.jcp.org/jcr/1.0>
PREFIX rel: <http://id.loc.gov/vocabulary/relators/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX fedoraconfig: <http://fedora.info/definitions/v4/config#>
PREFIX mix: <http://www.jcp.org/jcr/mix/1.0>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX islandorarelsint: <http://islandora.ca/ontology/relsint#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX cc: <http://creativecommons.org/ns#>
PREFIX image: <http://www.modeshape.org/images/1.0>
PREFIX ore: <http://www.openarchives.org/ore/terms/>
PREFIX sv: <http://www.jcp.org/jcr/sv/1.0>
PREFIX test: <info:fedora/test/>
PREFIX fedoramodel: <info:fedora/fedora-system:def/model#>
PREFIX gn: <http://www.geonames.org/ontology#>
PREFIX pcdmrts: <http://pcdm.org/rights#>
PREFIX islandorarelsext: <http://islandora.ca/ontology/relsext#>
PREFIX dwc: <http://rs.tdwg.org/dwc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX fedora: <http://fedora.info/definitions/v4/repository#>
PREFIX nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#>
PREFIX ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#>
PREFIX ldp: <http://www.w3.org/ns/ldp#>
PREFIX iana: <http://www.iana.org/assignments/relation/>
PREFIX xs: <http://www.w3.org/2001/XMLSchema>
PREFIX exif: <http://www.w3.org/2003/12/exif/ns#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>


DELETE { }
INSERT { }
WHERE { }

screenshot from 2016-11-24 14-20-47

  • islandora should be installed and enabled
$ ls /var/www/html/drupal/modules/islandora

screenshot from 2016-11-24 14-22-30

screenshot from 2016-11-24 14-33-56

@Natkeeran @edf @dannylamb @whikloj can you test again at your convenience?

if [ $(grep -c 'com.bigdata.rdf.sail.webapp' /etc/default/tomcat7) -eq 0 ]; then
echo "JAVA_OPTS=\"\$JAVA_OPTS -Dcom.bigdata.rdf.sail.webapp.ConfigParams.propertyFile=/var/lib/tomcat7/webapps/bigdata/WEB-INF/RWStore.properties\"" >> /etc/default/tomcat7
fi

service tomcat7 restart
sleep 15
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep an eye on this depending on your machinery. It very could not be enough time to do the next steps.

@dannylamb
Copy link
Contributor

vagrant up

@Natkeeran
Copy link
Contributor

@ruebot

I have the following PR:

commit ba9408e326e125cccc697609ed11ea88ed329cdf
Author: nruest <ruestn@gmail.com>
Date:   Thu Nov 24 14:27:23 2016 -0500

    LOTS OF UPDATES

Unfortunately, I am still getting the 404 error for http://localhost:8080/fcrepo/.

http://localhost:8080/solr/ does not have a default collection as well!

blazegraph and fits look ok.

@ruebot
Copy link
Member Author

ruebot commented Nov 25, 2016

@Natkeeran can you clear out fcrepo wars in your downloads directory and vagrant up again? Also, can you share you catalina.out, and any output from vagrant stdout when fcrepo.sh is running?

@dannylamb
Copy link
Contributor

confirmed:
screenshot from 2016-11-25 11-27-52
screenshot from 2016-11-25 11-28-26
screenshot from 2016-11-25 11-29-40
screenshot from 2016-11-25 12-12-11

Copy link
Contributor

@dannylamb dannylamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me from a fresh install. But i'm on ubuntu 16.04 just like @ruebot.

@Natkeeran
Copy link
Contributor

Natkeeran commented Nov 25, 2016

@ruebot you tip to remove the fcrepo from download helped. Fedroa seems to be up and running. The catalina looks clean as well. Other apps look good as well. Solr has its default collection.

(I have a separate issue. I can vagrant ssh, but can not sftp/ssh into it. I think this could be restricted to my environment/setting.)

PREFIX schema: <http://schema.org/>
PREFIX premis: <http://www.loc.gov/premis/rdf/v1#>
PREFIX bf: <http://id.loc.gov/ontologies/bibframe/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX nt: <http://www.jcp.org/jcr/nt/1.0>
PREFIX pcdm: <http://pcdm.org/models#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX acl: <http://www.w3.org/ns/auth/acl#>
PREFIX pcdmfmt: <http://pcdm.org/file-format-types#>
PREFIX xsi: <http://www.w3.org/2001/XMLSchema-instance>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX mode: <http://www.modeshape.org/1.0>
PREFIX xmlns: <http://www.w3.org/2000/xmlns/>
PREFIX pcdmuse: <http://pcdm.org/use#>
PREFIX xml: <http://www.w3.org/XML/1998/namespace>
PREFIX pcdmwrks: <http://pcdm.org/works#>
PREFIX jcr: <http://www.jcp.org/jcr/1.0>
PREFIX rel: <http://id.loc.gov/vocabulary/relators/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX fedoraconfig: <http://fedora.info/definitions/v4/config#>
PREFIX mix: <http://www.jcp.org/jcr/mix/1.0>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX islandorarelsint: <http://islandora.ca/ontology/relsint#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX cc: <http://creativecommons.org/ns#>
PREFIX image: <http://www.modeshape.org/images/1.0>
PREFIX ore: <http://www.openarchives.org/ore/terms/>
PREFIX sv: <http://www.jcp.org/jcr/sv/1.0>
PREFIX test: <info:fedora/test/>
PREFIX fedoramodel: <info:fedora/fedora-system:def/model#>
PREFIX gn: <http://www.geonames.org/ontology#>
PREFIX pcdmrts: <http://pcdm.org/rights#>
PREFIX islandorarelsext: <http://islandora.ca/ontology/relsext#>
PREFIX dwc: <http://rs.tdwg.org/dwc/terms/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX fedora: <http://fedora.info/definitions/v4/repository#>
PREFIX nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#>
PREFIX ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#>
PREFIX ldp: <http://www.w3.org/ns/ldp#>
PREFIX iana: <http://www.iana.org/assignments/relation/>
PREFIX xs: <http://www.w3.org/2001/XMLSchema>
PREFIX exif: <http://www.w3.org/2003/12/exif/ns#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>


DELETE { }
INSERT { }
WHERE { }

@ruebot
Copy link
Member Author

ruebot commented Nov 25, 2016

@Natkeeran thanks! Feel free to document your separate issue in another ticket if you'd like.

@dannylamb I think we're good to go?

@ruebot
Copy link
Member Author

ruebot commented Nov 25, 2016

...then I suppose I'll merge this with #407 once this gets merged.

@dannylamb
Copy link
Contributor

@Natkeeran is it a port issue for sftp? does it run on 22 as well? we map ours to port 2222 i believe, so that might be something.

@dannylamb dannylamb merged commit 66fc3c7 into Islandora:master Nov 25, 2016
@edf
Copy link
Contributor

edf commented Nov 25, 2016

The vagrant up I started at 1152 Eastern now has functioning fits, fedora, solr, blazegraph, tomcat admin, and Islandora. vagrant ssh works but ssh -p 2222 vagrant@localhost does not however creating a new user on the virtual machine did work (i.e. ssh -p 2222 newuser@localhost). My host for this test for a fully updated Ubuntu 14.04 Desktop

@ruebot ruebot deleted the issue-423 branch November 25, 2016 17:52
@ruebot
Copy link
Member Author

ruebot commented Nov 25, 2016

@edf ah, right. we need to update the README file for ssh. I'll create an issue.

@ruebot
Copy link
Member Author

ruebot commented Nov 25, 2016

Here is the issue: #437

I think @jyobb had similar problems.

@jyobb
Copy link

jyobb commented Nov 25, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants