Hello list,
I have a fresh Geonetwork 4.2.2 install running on Windows Server with ES 7.17.8 and Kibana 7.17.8 configured. There is an Apache2 instance in front running as a proxy/reverse proxy.
I have noticed an issue with missing attachments linked to a metadata record. Thumbnails are uploaded according the method outlined in the docs [1] and are uploaded and appear in the public folder of the external data directory. However, while the metadata record is available through https://server.angus.gov.uk/geonetwork/srv/eng/catalog.search#/metadata the thumbnail image is being served from http://localhost:8080/geonetwork/srv/api/records/. I need to edit the XML to correct the path to make the image display.
Have I misconfigured something somewhere? Should Geonetwork be writing the correct server name to the metadata record? Should the Apache2 reverse proxy be rewriting the resource URL?
I've come across several other mentions of similar problems but with old versions of Geonetwork [2] and when harvesting records in 2016 [3], 2017 [4] and more recently [5]. I've not found a resolution to the problem other than manually editing each record with the correct path.
Thanks in advance
Ross
[1] https://www.geonetwork-opensource.org/manuals/trunk/eng/users/user-guide/associating-resources/using-filestore.html#uploading-attachments
[2] https://sourceforge.net/p/geonetwork/mailman/geonetwork-users/thread/CAOvRMtwbSmi27Uh%3DFGvC2w6%2BAHBr3PQvGqsGm2mKz_h0u2t_yw%40mail.gmail.com/
[3] https://github.com/geonetwork/core-geonetwork/issues/1730
[4] https://github.com/geonetwork/core-geonetwork/issues/1951
[5] https://github.com/geonetwork/core-geonetwork/issues/4851
Ross McDonald | Geo-evangelist | Angus Council | 01307 49 22 39 | mcdonaldr@anonymised.com<mailto:mcdonaldr@anonymised.com> | www.angus.gov.uk<http://www.angus.gov.uk/>
Follow us on Twitter<https://twitter.com/anguscouncil>
Visit our Facebook<https://en-gb.facebook.com/AngusCouncil> page
Check out Location Data Scotland<https://www.locationdatascotland.com/> for a network of organisations championing spatial data in Scotland.