Skip to content

v1 Initial RDF migration breaks if persistentUrl contains ipv4 #770

@dennisvang

Description

@dennisvang

description

Using a v1 fdp with GraphDB.

If the persistentUrl config value contains an ipv4 address instead of a fully qualified domain name (fqdn), the initial RDF migration fails with the following error:

ERROR nl.dtls.fairdatapoint.database.rdf.migration.production.Rdf_Migration_0001_Init -
   Transaction handling error: Invalid IRI value

and the fdp service fails to start.

how to reproduce

  1. clone the FAIRDataTeam/compose repo
  2. cd compose/fdp/persistent/v1
  3. temporarily edit the compose.override.yml file to include the following in the fdp.environment:
    INSTANCE_PERSISTENTURL: http://127.0.0.1
  4. docker compose up -d
  5. wait and observe that the fdp fails to start
  6. check logs: docker compose logs fdp
  7. [optional] clean up: docker compose down --volumes

You can also verify that it does work if we specify INSTANCE_PERSISTENTURL: http://localhost (this is actually the default used by persistent/v1, as can be seen in compose/fdp/components/v1/fdp.yml).

workaround

For now, just use a fully qualified domain name instead of an ipv4 address...

notes

  • Does not occur with the ephemeral/v1, which uses an in-memory triple store, so it is probably related to graphdb
  • Haven't tried to reproduce this in v2 yet...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething's wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions