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 'vagrant' to work with new submodule structure after #257 #264

Merged
merged 6 commits into from
May 25, 2016
Merged

Update 'vagrant' to work with new submodule structure after #257 #264

merged 6 commits into from
May 25, 2016

Conversation

ruebot
Copy link
Member

@ruebot ruebot commented May 25, 2016

See: #258

I have the following commented out because it is looking for the jars on maven central. Haven't figured out why yet. We can leave it like that, and merge if everything else is satisfactory, or I can try harder to sort out.

  #config.vm.provision :shell, :path => "./scripts/islandora-karaf-components.sh", :args => home_dir
  #config.vm.provision :shell, :path => "./scripts/config.sh", :args => home_dir

Crayfish looks to be working fine.

[nruest@gorila:install] (git)-[issue-258]-$ curl -i "http://localhost:8282/islandora/resource"
vagrHTTP/1.1 200 OK
Date: Wed, 25 May 2016 02:37:45 GMT
Server: Apache/2.4.7 (Ubuntu)
Link: <http://www.w3.org/ns/ldp#Resource>;rel="type"
Link: <http://www.w3.org/ns/ldp#Container>;rel="type"
Link: <http://www.w3.org/ns/ldp#BasicContainer>;rel="type"
Accept-Patch: application/sparql-update
Accept-Post: text/turtle,text/rdf+n3,text/n3,application/rdf+xml,application/n-triples,multipart/form-data,application/sparql-update
Allow: MOVE,COPY,DELETE,POST,HEAD,GET,PUT,PATCH,OPTIONS
Preference-Applied: return=representation
Vary: Prefer,Accept,Range,Accept-Encoding,Accept-Language
Content-Length: 1749
Cache-Control: no-cache
Content-Type: text/turtle; charset=UTF-8

@prefix premis: <http://www.loc.gov/premis/rdf/v1#> .
@prefix image: <http://www.modeshape.org/images/1.0> .
@prefix sv: <http://www.jcp.org/jcr/sv/1.0> .
@prefix test: <info:fedora/test/> .
@prefix nt: <http://www.jcp.org/jcr/nt/1.0> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsi: <http://www.w3.org/2001/XMLSchema-instance> .
@prefix mode: <http://www.modeshape.org/1.0> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix fedora: <http://fedora.info/definitions/v4/repository#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix jcr: <http://www.jcp.org/jcr/1.0> .
@prefix ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .
@prefix xs: <http://www.w3.org/2001/XMLSchema> .
@prefix fedoraconfig: <http://fedora.info/definitions/v4/config#> .
@prefix mix: <http://www.jcp.org/jcr/mix/1.0> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .


<http://localhost:8080/fcrepo/rest/> a ldp:RDFSource , ldp:Container , ldp:BasicContainer ;
    fedora:writable "true"^^<http://www.w3.org/2001/XMLSchema#boolean> ;
    a fedora:RepositoryRoot , fedora:Resource , fedora:Container ;
    fedora:numberOfChildren "0"^^<http://www.w3.org/2001/XMLSchema#long> .

<http://localhost:8080/fcrepo/rest/fcr:export?format=jcr/xml> dc:format <http://fedora.info/definitions/v4/repository#jcr/xml> .

<http://fedora.info/definitions/v4/repository#jcr/xml> rdfs:label "jcr/xml"^^<http://www.w3.org/2001/XMLSchema#string> .

<http://localhost:8080/fcrepo/rest/> fedora:exportsAs <http://localhost:8080/fcrepo/rest/fcr:export?format=jcr/xml> ;
    fedora:hasTransactionProvider <http://localhost:8080/fcrepo/rest/fcr:tx> .

@ruebot
Copy link
Member Author

ruebot commented May 25, 2016

@whikloj @DiegoPino @br2490 @bryjbrown ready for review when y'all have time.

@br2490
Copy link

br2490 commented May 25, 2016

Early during provision, PPA Error:

==> default: Cannot add PPA: 'ppa:ondrej/php'.
==> default: Please check that the PPA name or format is correct.

(sorry for poor GISTing)

https://gist.github.com/br2490/ed8176a112183a7baed0bb4c15debc68

@DiegoPino
Copy link
Contributor

@br2490 @ruebot not sure, but ppa failure maybe related to this:
http://askubuntu.com/questions/452595/cannot-add-ppa-behind-proxy-ubuntu-14-04
But i suspect it's more related to this here:
oerdnj/deb.sury.org#56

@br2490 can you post a bit more of the output you are getting?
Or what happens if you run https://github.com/Islandora-CLAW/CLAW/blob/9056d2775f5ebce5eea1095765dbd817f7099e02/install/scripts/bootstrap.sh#L21 directly?

Also on your gist, please check that Karaf and all the fcrepo-camel stuff are running correctly (/opt/karaf/bin/client and check installed features and the logs), and that your settings YAML file is pointing to the correct place fedora and blaze graph paths, since 50x type of errors mean a service is down(or not found) (could be a mix of both).

@ruebot
Copy link
Member Author

ruebot commented May 25, 2016

Weird, the ppa is working on my end:

vagrant@islandora-deux:~$ php -version
PHP 5.6.21-9+donate.sury.org~trusty+1 (cli) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

repo-add file:/home/vagrant/Alpaca/karaf/target/classes/features.xml
feature:install islandora-basic-image-service
Copy link
Member

Choose a reason for hiding this comment

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

This the 7.x-2.x camel image service, we don't use this anymore and so it probably shouldn't be here at all.

@ruebot
Copy link
Member Author

ruebot commented May 25, 2016

Delete issues with PDX dependant on: #266

@DiegoPino DiegoPino merged commit 49c9373 into Islandora:master May 25, 2016
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.

4 participants