Q: Can't modify metadata through FDP-web-UI when Dgraphdb.external-url is set
@a-tassoni, @sdvr
Extension part overall
The Question
Hi all,
not sure if I'm now at the right place to ask this, I originally posted this on https://github.com/ejp-rd-vp/FiaB/issues/4 and then @markwilkinson said I should rather ask here. Maybe I'm just overlooking something trivial, I'm thankful for any hints.
For exact steps for reproduction please check this original issue, will not duplicate entire description of FiaB here. So to explain in short:
We are running a FAIR Data Point with
- fairdata/fairdatapoint:1.15.0
- fairdata/fairdatapoint-client:1.15.0
- ontotext/graphdb:10.1.2
We are using apache2 as reverse proxy, minimal exemplar configuration:
<VirtualHost *:80>
ServerName localhost
ErrorLog /var/log/apache2/error_log
TransferLog /var/log/apache2/access_log
<LocationMatch /fairdatapoint-ctsr>
ProxyPass http://localhost:7070
ProxyPassReverse http://localhost:7070
</LocationMatch>
<LocationMatch /graphdb-ctsr>
ProxyPass http://localhost:7200
ProxyPassReverse http://localhost:7200
</LocationMatch>
</VirtualHost>
If we want graphdb-web-ui to correctly render, then we need to set
command: ["-Dgraphdb.home=/opt/graphdb/home -Dgraphdb.external-url=http://localhost/graphdb-ctsr"] for the graphdb-container
see also https://github.com/ejp-rd-vp/FiaB/issues/2
But as soon as we do that, we can no longer edit any data inside FDP - not through API nor through FDP web interface. We can see that the query reaches the graphdb-container but it just never terminates and runs for minutes.
When we disable command: ["-Dgraphdb.home=/opt/graphdb/home -Dgraphdb.external-url=http://localhost/graphdb-ctsr"] for the container, then again we can edit data inside FDP both through API and through FDP web interface.
Many thanks!
Dagmar