FAIRDataTeam / FAIRDataPoint

https://www.fairdatapoint.org
MIT License
60 stars 37 forks source link

docker-compose with fairdatapoint:1.17.1 and fairdatapoint-client:1.17.0 -> "Unable to get data." #548

Open byte-for-byte opened 1 month ago

byte-for-byte commented 1 month ago

What components are related to the issue?

Other (specify in text)

Which FDP are you using?

My local instance

Version

1.17.1

What happened?

Hello, I am trying to set up the system on a linux box, using the latest package versions.

After git clone https://github.com/FAIRDataTeam/FAIRDataPoint.git and using this in docker-compose.yaml (only relevant part shown):

version: '3'
services:
  fdp:
    image: fairdata/fairdatapoint:1.17.1
    volumes:
      - ./application.yml:/fdp/application.yml:ro

  fdp-client:
    image: fairdata/fairdatapoint-client:1.17.0
    ...

and doing docker-compose up, the home screen greets with the message "Unable to get data."

Querying http://localhost:8080/blazegraph/#query directly shows, that the blazegraph DB is in deed empty.

Can you pls assist in what I am missing out?

Thanks in advance

Relevant log output

fairdatapoint-blazegraph-1  | ERROR: BigdataServlet.java:338: REST-API-TASK-ERROR: task=com.bigdata.rdf.sail.webapp.QueryServlet$SparqlUpdateTask{namespace=test,timestamp=0, updateStr=[INSERT DATA
fairdatapoint-blazegraph-1  | {
fairdatapoint-blazegraph-1  |     GRAPH <http://localhost:8080> {
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.re3data.org/schema/3-0#Repository> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/dcat#Resource> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://purl.org/dc/terms/title> "My FAIR Data Point"^^<http://www.w3.org/2001/XMLSchema#string> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://www.w3.org/2000/01/rdf-schema#label> "My FAIR Data Point"^^<http://www.w3.org/2001/XMLSchema#string> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://www.w3.org/ns/dcat#version> "1.0"^^<http://www.w3.org/2001/XMLSchema#float> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <https://w3id.org/fdp/fdp-o#metadataIssued> "2024-05-28T11:08:51.208816571Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <https://w3id.org/fdp/fdp-o#metadataModified> "2024-05-28T11:08:51.209013343Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://purl.org/dc/terms/license> <http://rdflicense.appspot.com/rdflicense/cc-by-nc-nd3.0> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://purl.org/dc/terms/description> "Duis pellentesque, nunc a fringilla varius, magna dui porta quam, nec ultricies augue turpis sed velit. Donec id consectetur ligula. Suspendisse pharetra egestas massa, vel varius leo viverra at. Donec scelerisque id ipsum id semper. Maecenas facilisis augue vel justo molestie aliquet. Maecenas sed mattis lacus, sed viverra risus. Donec iaculis quis lacus vitae scelerisque. Nullam fermentum lectus nisi, id vulputate nisi congue nec. Morbi fermentum justo at justo bibendum, at tempus ipsum tempor. Donec facilisis nibh sed lectus blandit venenatis. Cras ullamcorper, justo vitae feugiat commodo, orci metus suscipit purus, quis sagittis turpis ante eget ex. Pellentesque malesuada a metus eu pulvinar. Morbi rutrum euismod eros at varius. Duis finibus dapibus ex, a hendrerit mauris efficitur at."^^<http://www.w3.org/2001/XMLSchema#string> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://purl.org/dc/terms/conformsTo> <https://www.purl.org/fairtools/fdp/schema/0.1/fdpMetadata> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://purl.org/dc/terms/language> <http://id.loc.gov/vocabulary/iso639-1/en> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <https://w3id.org/fdp/fdp-o#metadataIdentifier> <http://localhost:8080#identifier> .
fairdatapoint-blazegraph-1  | <http://localhost:8080#identifier> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/spar/datacite/Identifier> .
fairdatapoint-blazegraph-1  | <http://localhost:8080#identifier> <http://purl.org/dc/terms/identifier> "http://localhost:8080"^^<http://www.w3.org/2001/XMLSchema#string> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://www.re3data.org/schema/3-0#repositoryIdentifier> <http://localhost:8080#identifier> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://purl.org/dc/terms/accessRights> <http://localhost:8080#accessRights> .
fairdatapoint-blazegraph-1  | <http://localhost:8080#accessRights> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/dc/terms/RightsStatement> .
fairdatapoint-blazegraph-1  | <http://localhost:8080#accessRights> <http://purl.org/dc/terms/description> "This resource has no access restriction"^^<http://www.w3.org/2001/XMLSchema#string> .
fairdatapoint-blazegraph-1  | <http://localhost:8080> <http://purl.org/dc/terms/publisher> <http://localhost:8080#publisher> .
fairdatapoint-blazegraph-1  | <http://localhost:8080#publisher> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Agent> .
fairdatapoint-blazegraph-1  | <http://localhost:8080#publisher> <http://xmlns.com/foaf/0.1/name> "Default Publisher"^^<http://www.w3.org/2001/XMLSchema#string> .
fairdatapoint-blazegraph-1  |  }
fairdatapoint-blazegraph-1  | }; ]},cause=java.util.concurrent.ExecutionException: org.openrdf.repository.RepositoryException: org.openrdf.sail.SailException: com.bigdata.rdf.sail.webapp.DatasetNotFoundException: namespace=test