[GeoNetwork-devel] Logos in multi-node geonetwork

Hi List,

In geonetwork 3.2.x in multi-node mode, it seems as if the catalogue logos all share the same upload directory- that for the default node. I am struggling to upload a logo for a non-default node. The first time I try, no error occurs but the logo does not show in the interface for making default. If I try again, I get an upload error and the log files tell me the file exists- and it’s in the directory for the default node. If I look at the default node logo interface I can see the file.

Happy to submit a bug if others can confirm this behaviour.

Jo

···

Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek

Hi Jo

I get not the exactly the same, but similar. Let me describe the case, I have 2 nodes srv and node2:

  1. I upload a logo to node2 → The logo uploads fine and is displayed in the list. Also can be set as default for the node.

  2. I switch to srv node → The logo is not displayed in the list, but if I try to upload it to this node I get an error and in the log file:

java.nio.file.FileAlreadyExistsException: /var/lib/tomcat8/webapps/geonetwork/WEB-INF/data_node2/data/resources/images/harvesting/my-logo.png

Seem the default node tries to use the data directory for node2, this is quite similar to what you describe. Please open a issue in GitHub for this.

I’m using a SNAPSHOT previous to 3.2.1, as I have tried with 3.2.1 installer and also with latest 3.2.x branch and in any of them I’m able to log in the node2 and no error for this in the log. If you can test if works for you in latest 3.2.x branch, just to discard any issue with my current setup.

Regards,
Jose García

···

On Wed, May 31, 2017 at 2:40 PM, Jo Cook <jocook@anonymised.com…> wrote:

Hi List,

In geonetwork 3.2.x in multi-node mode, it seems as if the catalogue logos all share the same upload directory- that for the default node. I am struggling to upload a logo for a non-default node. The first time I try, no error occurs but the logo does not show in the interface for making default. If I try again, I get an upload error and the log files tell me the file exists- and it’s in the directory for the default node. If I look at the default node logo interface I can see the file.

Happy to submit a bug if others can confirm this behaviour.

Jo

Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek


Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18 7RL, UK
t:+44 1372 744 009 w: astuntechnology.com twitter:@astuntech

Register here: https://www.eventbrite.co.uk/e/astun-user-conference-2017-tickets-31457635635?aff=es2
Astun User Conference web page: https://astuntechnology.com/astun-user-conference/

iShare - enterprise geographic intelligence platform
GeoServer, PostGIS and QGIS training
Helpdesk and customer portal

Company registration no. 5410695. Registered in England and Wales. Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no. 864201149.


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


GeoNetwork-devel mailing list
GeoNetwork-devel@…537…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Vriendelijke groeten / Kind regards,

Jose García


Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664

Please consider the environment before printing this email.