Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:55
    fxprunayre closed #3998
  • 14:46
    DeordD commented #3998
  • 14:33
    gdibw commented #3998
  • 12:09
    fxprunayre milestoned #4004
  • 12:09
    fxprunayre demilestoned #4004
  • 12:09
    fxprunayre milestoned #3998
  • 12:09
    fxprunayre demilestoned #3998
  • 12:09
    fxprunayre milestoned #3996
  • 12:09
    fxprunayre demilestoned #3996
  • 12:09
    fxprunayre milestoned #3979
  • 12:09
    fxprunayre demilestoned #3979
  • 12:09
    fxprunayre milestoned #3930
  • 12:09
    fxprunayre demilestoned #3930
  • 12:09
    fxprunayre demilestoned #3918
  • 12:09
    fxprunayre milestoned #3918
  • 12:09
    fxprunayre milestoned #3882
  • 12:09
    fxprunayre demilestoned #3882
  • 12:09
    fxprunayre milestoned #3869
  • 12:09
    fxprunayre demilestoned #3869
  • 12:09
    fxprunayre milestoned #3836
Florian Hoedt
@gannebamm

I would like to use a reverse proxy with SSL encryption in front of geonetwork. For this I use an Apache on an Ubuntu Server 18.04. The setup is as follows:

https://my.reverse.proxy/ - my proxy

http://my.geonetwork.vm:8080/geonetwork - a vm with tomcat and geonetwork

And the reverse proxy should proxy:

https://my.reverse.proxy/inspire/geonetwork

to

http://my.geonetwork.vm:8080/geonetwork

but for some reason it wont work and tomcat tells The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

Is there some kind of special configuration instruction I should follow?

Juan Luis Rodríguez Ponce
@juanluisrp

this config works for me:

    ServerName my.reverse.proxy

    SSLEngine On
    SSLProxyEngine On

    ProxyRequests Off
    ProxyPreserveHost On

    ProxyPass / http://my.geonetwork.vm:8080/ retry=0
    ProxyPassReverse / http://my.geonetwork.vm:8080/

I can access GN using https://my.reverse.proxy/geonetwork

Florian Hoedt
@gannebamm

Thanks @juanluisrp I will try this.

One difference is that you map the root / to geonetwork root /

Florian Hoedt
@gannebamm

Ok, It did work for

    ProxyPass "/geonetwork/" "http://my.geonetwork.vm:8080/geonetwork/" retry=0
    ProxyPassReverse "/geonetwork/" "http://my.geonetwork.vm:8080/geonetwork/"

But it wont for:

    ProxyPass "/inspire/geonetwork/" "http://my.geonetwork.vm:8080/geonetwork/" retry=0
    ProxyPassReverse "/inspire/geonetwork/" "http://my.geonetwork.vm:8080/geonetwork/"

For some reason the location header in the response will stay /geonetwork/ and not /inspire/geonetwork/ .

Juan Luis Rodríguez Ponce
@juanluisrp
maybe you could add some rule to rewrite the header
have you configured the SiteURL setting in GN settings?
Florian Hoedt
@gannebamm

have you configured the SiteURL setting in GN settings?

no, not yet

Juan Luis Rodríguez Ponce
@juanluisrp
please set it to https://my.reverse.proxy/inspire/geonetwork and try again
François Prunayre
@fxprunayre
Hi, if you want to follow the topics and progress on Elastic migration, we will post updates on the wiki page https://github.com/geonetwork/core-geonetwork/wiki/Elasticsearch-migration-July-2019-codesprint
yuanb
@yuanb

Hi,

I'm working on a project, part of it is using geonetwork to provide geospatial metadata services. I'm wondering what's the best approach to
Extend gn by adding a new maven module for some custom code in geonetwork
-- This module will use a different database from the geonetwork db
-- We want to leverage spring data jpa for this module.
-- How do we inject multiple entitymanagerfactories and persistencecontext(s) that ---dont conflict? One (primary) for geonetwork db and the secondary for our db. We ---want to do this without modifying existing geonetwork core code and spring ------configuration.

Many thanks,

Bill

François Prunayre
@fxprunayre
Hi all, here https://github.com/geonetwork/doc/pull/57/files is a proposal for the 3.8.0 change log. Don't hesitate to review/add.
Juan Luis Rodríguez Ponce
@juanluisrp
Hi
any idea about why accessing to http://localhost:8080/geonetwork/home in master causes this response?
resource_not_foundNo portal found with id 'home'. The list of available portals are: [srv]ResourceNotFoundException
François Prunayre
@fxprunayre
a good enhancement could be to produce an HTML page with the list of portal or redirect to srv if only one. /home is an old URL which does not exist anymore in 3.8.x so it is browser caching this.
Juan Luis Rodríguez Ponce
@juanluisrp
thank you @fxprunayre !
lzhao7812
@lzhao7812
Hi, I created a feature request geonetwork/core-geonetwork#3954, and started working on POC. I tried to push a WIP commit, but failed due to permission. Could you please grant access to me?
Jody Garnett
@jodygarnett
@lzhao7812 I am not part of the project team ... but i wonder why you are not working on your own fork of the project and then issuing a pull request?
lzhao7812
@lzhao7812
@jodygarnett , yes, that's what I am doing now. I forked repo. Thanks
François Prunayre
@fxprunayre
For those who might be interested a summary of the work done during the Elasticsearch migration codesprint is available at https://github.com/geonetwork/core-geonetwork/wiki/Elasticsearch-migration-July-2019-codesprint#summary.
Juan Luis Rodríguez Ponce
@juanluisrp
:+1:
KoalaGeo
@KoalaGeo
Hi, do you know if the official geonetwork docker image comes with postgres bundled in and setup as the default db?
Olivier Guyot
@jahow
hi @/all , was any feature freeze decided for 3.8 yet or is it still time to add stuff in this release? We'd be really interested in implementing the option to use S3 for files storage in Geonetwork
François Prunayre
@fxprunayre
The idea was to make 3.8.0 for FOSS4G so quite soon. Not sure if everybody is fine with this still ?
On my side, I've been making tests and starting deployment on test environment in different projects.
If nobody volunteer and if we still want to make it for FOSS4G, I can make it on Friday ?
François Prunayre
@fxprunayre
I also tried to review all pending PRs attached to the milestone in the last weeks https://github.com/geonetwork/core-geonetwork/pulls?q=is%3Aopen+is%3Apr+milestone%3A3.8.0
Olivier Guyot
@jahow
sure, I'll have a look at the PRs too
guess we will wait for the next release to add S3 support
Jody Garnett
@jodygarnett
Just a reminder, foss4g https://wiki.osgeo.org/wiki/FOSS4G_2019_BirdsOfAFeather schedule is up - if GeoNetwork wants to grab a timeslot.
François Prunayre
@fxprunayre
@/all will update soon translation from transifex so don't hesitate to have a quick look to missing translations. Thanks
François Prunayre
@fxprunayre
@/all release is available on sourceforge. I will need help on updating the website and will send the email to the mailing list this morning.
Jody Garnett
@jodygarnett
congrats :)
François Prunayre
@fxprunayre
Hi @jahow, it looks like Patrick did the work on S3, geonetwork/core-geonetwork#4017 do you have time to review it ?
Olivier Guyot
@jahow
hey François, yep I'll take some time to look at it
Florian Hoedt
@gannebamm

Hi, Anyone encountered this error:

2019-09-17 13:32:32,181 ERROR [geonetwork.datamanager] - WARNING: schematron xslt schematron-rules-iso failed
; SystemID: file:/var/lib/tomcat8/webapps/geonetwork/WEB-INF/data/config/schema_plugins/iso19139/schematron/schematron-rules-iso.xsl; Line#: 683; Column#: -1
net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the first argument of string() (<gco:CharacterString/>, <gco:CharacterString/>)

?

Seems like the loaded Schematron xsl has an error? It is a GeoNetwork 3.8 (says 3.6 snapshot on homepage) in a tomcat on ubuntu 18.04.
and you probably have a record with more than one otherConstraints
and this not(string(gmd:otherConstraints/gco:CharacterString)) is failing
maybe you can replace by something like count(gmd:otherConstraints/gco:CharacterString[. = '']) = 0 ? If you change a sch file you need to restart the app to recompile it to XSL
Florian Hoedt
@gannebamm
thank you @fxprunayre . I will look into my datasets
François Prunayre
@fxprunayre
@/all 3.8.0 was released almost one month ago. Since that, a couple of fixes have been added (some of them fixing blocking issue - atom endpoint, CSW config). I think it would make sense to make a 3.8.1 soon. I could take care of this next week if everyone agree ?
paul van genuchten
@pvgenuchten
+1
Michel Gabriël
@MichelGabriel
+1
François Prunayre
@fxprunayre
@/all I'll review PR list and move those which can not make it for 3.8.1 to 3.8.2. Let me know if any require specific attention.
Antonio Cerciello
@PascalLike
thanks @fxprunayre, I'm reviewing this one geonetwork/core-geonetwork#4052 I'll tell you later if it's for 3.8.1
François Prunayre
@fxprunayre
I'm planing to do testing until Wednesday and make the release Wednesday afternoon or Thursday if no blocking issue.
KoalaGeo
@KoalaGeo
Hi, I have a asset register/metadata catalogue which has been given to me as an xlsx file, that attributes all map to a ISO19115 attribute. They currently have an empty GeoNetwork instance with PostGres backend setup. Could you offer any directions to best get this data into GN? The documentation suggests MEF format, how would I generate this?