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
- clone the FAIRDataTeam/compose repo
cd compose/fdp/persistent/v1
- temporarily edit the
compose.override.yml file to include the following in the fdp.environment:
INSTANCE_PERSISTENTURL: http://127.0.0.1
docker compose up -d
- wait and observe that the
fdp fails to start
- check logs:
docker compose logs fdp
- [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...
description
Using a v1 fdp with GraphDB.
If the
persistentUrlconfig value contains an ipv4 address instead of a fully qualified domain name (fqdn), the initial RDF migration fails with the following error:and the
fdpservice fails to start.how to reproduce
cd compose/fdp/persistent/v1compose.override.ymlfile to include the following in thefdp.environment:INSTANCE_PERSISTENTURL: http://127.0.0.1docker compose up -dfdpfails to startdocker compose logs fdpdocker compose down --volumesYou can also verify that it does work if we specify
INSTANCE_PERSISTENTURL: http://localhost(this is actually the default used bypersistent/v1, as can be seen incompose/fdp/components/v1/fdp.yml).workaround
For now, just use a fully qualified domain name instead of an ipv4 address...
notes
ephemeral/v1, which uses an in-memory triple store, so it is probably related to graphdb