[GeoNetwork-users] Export Problems of Metadata

Hi,
I am currently transferring metadata from our old GN 3.12.11 to our new GN 4.4.
I get a 502 error when I try to export old files in a zip-File in certain groups. I plan the export by group, so some groups are fine and some aren't. I dug through the log and it seems, that there is soemthing not valid with the metadata. Also the predefined thesaurus is throwing an error. I attached the logfiles, it would be nice if you could provide me with some feedback about the errors I get. Also can I somehow link the metadata mentioned in the log file with the mentioned ID to the corresponding UUID or something to identify which metadata entry is affected/meant?
Many thanks and kind regards
Andreas

(attachments)

custom-rdm-geonetwork_web-intern.log (117 KB)

Hi,

It could be related to metadata schema plugins used in previous GeoNetwork versions. Go to Admin Console -> Statistics and Status -> Information and in the Catalog Information tab check the values of Data Directory, Thesaurus Folder and Standard Folder. If the Standard Folder is inside the Data Directory GeoNetwork doesn't copy the new versions of the schemas to that location. I see two options:

* Copy the $WEBAPP_FOLDER/WEB-INF/data/config/schema_plugins schemas to the location inside the data directory, or

* Add a new Java Property to the Tomcat configuration to use the schemas distributed in the WAR file:

 \-Dgeonetwork\.schema\.dir=/usr/local/tomcat/webapps/geonetwork/WEB\-INF/data/config/schema\_plugins

https://docs.geonetwork-opensource.org/4.2/install-guide/customizing-data-directory/#advanced-data-directory-configuration

Best regards,

Juan Luis.

https://www.geocat.net

Juan Luis Rodriguez Ponce

E-mail: juanluisrp@anonymised.com

https://www.geocat.net

Veenderweg 13

6721 WD Bennekom

The Netherlands

Tel: +31318416664

#

---- On Tue, 04 Jun 2024 15:35:57 +0200 Andreas Böhme via GeoNetwork-users <geonetwork-users@lists.sourceforge.net> wrote ---

Hi,
I am currently transferring metadata from our old GN 3.12.11 to our new
GN 4.4.
I get a 502 error when I try to export old files in a zip-File in
certain groups. I plan the export by group, so some groups are fine and
some aren't. I dug through the log and it seems, that there is soemthing
not valid with the metadata. Also the predefined thesaurus is throwing
an error. I attached the logfiles, it would be nice if you could provide
me with some feedback about the errors I get. Also can I somehow link
the metadata mentioned in the log file with the mentioned ID to the
corresponding UUID or something to identify which metadata entry is
affected/meant?
Many thanks and kind regards
Andreas

_______________________________________________
GeoNetwork-users mailing list
mailto:GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Thanks Juan for the suggestions. It is indeed like you said, but on purpose. I had the issue with former updates of GN and the schemata, that with the new schemata the editor diid not schow the metadata for existing records. I still tried your approach but with no success. I still get the same errors and eventually our container crashes. Any further suggestions would be much appreciated.
Regards
Andreas

Am 04.06.2024 um 17:02 schrieb Juan Luis Rodriguez Ponce:

Hi,

It could be related to metadata schema plugins used in previous GeoNetwork versions. Go to /Admin Console/ -> /Statistics and Status/ -> /Information/ and in the /Catalog Information/ tab check the values of /Data Directory/, /Thesaurus Folder/ and /Standard Folder/. If the Standard Folder is inside the Data Directory GeoNetwork doesn't copy the new versions of the schemas to that location. I see two options:

* Copy the $WEBAPP_FOLDER/WEB-INF/data/config/schema_plugins schemas to the location inside the data directory, or
* Add a new Java Property to the Tomcat configuration to use the schemas distributed in the WAR file:
-Dgeonetwork.schema.dir=/usr/local/tomcat/webapps/geonetwork/WEB-INF/data/config/schema_plugins

https://docs.geonetwork-opensource.org/4.2/install-guide/customizing-data-directory/#advanced-data-directory-configuration

Best regards,
Juan Luis.

<https://www.geocat.net>

Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...
https://www.geocat.net

Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664

<#>

---- On Tue, 04 Jun 2024 15:35:57 +0200 *Andreas Böhme via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>* wrote ---

    Hi,
    I am currently transferring metadata from our old GN 3.12.11 to
    our new
    GN 4.4.
    I get a 502 error when I try to export old files in a zip-File in
    certain groups. I plan the export by group, so some groups are
    fine and
    some aren't. I dug through the log and it seems, that there is
    soemthing
    not valid with the metadata. Also the predefined thesaurus is
    throwing
    an error. I attached the logfiles, it would be nice if you could
    provide
    me with some feedback about the errors I get. Also can I somehow link
    the metadata mentioned in the log file with the mentioned ID to the
    corresponding UUID or something to identify which metadata entry is
    affected/meant?
    Many thanks and kind regards
    Andreas

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

--
--------------------------------------------------------------------------------------------
            
Andreas Böhme
Techniker/Technician
Abteilung Landschaftsökologie/Department Computational Landscape Ecology
        
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Helmholtz Centre for Environmental Research GmbH - UFZ
Permoserstraße 15, 04318 Leipzig, Germany
Phone +49 341 6025 1058
andreas.boehme@...181...,www.ufz.de

Sitz der Gesellschaft/Registered Office: Leipzig
Registergericht/Registration Office: Amtsgericht Leipzig
Handelsregister Nr./Trade Register Nr.: B 4703
Vorsitzende des Aufsichtsrats/Chairwoman of the Supervisory Board: MinDirig'in Oda Keppler
Wissenschaftlicher Geschäftsführer/Scientific Managing Director:
Prof. Dr. Rolf Altenburger
Administrative Geschäftsführerin/Administrative Managing Director:
Dr. Sabine König

Vermeiden Sie unnötige Ausdrucke./Think before printing.

--------------------------------------------------------------------------------------------

Hi Juan,
is it possible, that the export size for attachments can result in problems? I could not find anything specific in the MEF documentation. But it seems, that when I try to export records with large attachments the system crashs (container crashs and restarts). Is there a configuration for export file size?
Thanks and regards
andreas

Am 04.06.2024 um 17:02 schrieb Juan Luis Rodriguez Ponce:

Hi,

It could be related to metadata schema plugins used in previous GeoNetwork versions. Go to /Admin Console/ -> /Statistics and Status/ -> /Information/ and in the /Catalog Information/ tab check the values of /Data Directory/, /Thesaurus Folder/ and /Standard Folder/. If the Standard Folder is inside the Data Directory GeoNetwork doesn't copy the new versions of the schemas to that location. I see two options:

* Copy the $WEBAPP_FOLDER/WEB-INF/data/config/schema_plugins schemas to the location inside the data directory, or
* Add a new Java Property to the Tomcat configuration to use the schemas distributed in the WAR file:
-Dgeonetwork.schema.dir=/usr/local/tomcat/webapps/geonetwork/WEB-INF/data/config/schema_plugins

https://docs.geonetwork-opensource.org/4.2/install-guide/customizing-data-directory/#advanced-data-directory-configuration

Best regards,
Juan Luis.

<https://www.geocat.net>

Juan Luis Rodriguez Ponce
E-mail: juanluisrp@...444...
https://www.geocat.net

Veenderweg 13
6721 WD Bennekom
The Netherlands
Tel: +31318416664

<#>

---- On Tue, 04 Jun 2024 15:35:57 +0200 *Andreas Böhme via GeoNetwork-users <geonetwork-users@lists.sourceforge.net>* wrote ---

    Hi,
    I am currently transferring metadata from our old GN 3.12.11 to
    our new
    GN 4.4.
    I get a 502 error when I try to export old files in a zip-File in
    certain groups. I plan the export by group, so some groups are
    fine and
    some aren't. I dug through the log and it seems, that there is
    soemthing
    not valid with the metadata. Also the predefined thesaurus is
    throwing
    an error. I attached the logfiles, it would be nice if you could
    provide
    me with some feedback about the errors I get. Also can I somehow link
    the metadata mentioned in the log file with the mentioned ID to the
    corresponding UUID or something to identify which metadata entry is
    affected/meant?
    Many thanks and kind regards
    Andreas

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

--
--------------------------------------------------------------------------------------------
            
Andreas Böhme
Techniker/Technician
Abteilung Landschaftsökologie/Department Computational Landscape Ecology
        
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Helmholtz Centre for Environmental Research GmbH - UFZ
Permoserstraße 15, 04318 Leipzig, Germany
Phone +49 341 6025 1058
andreas.boehme@...181...,www.ufz.de

Sitz der Gesellschaft/Registered Office: Leipzig
Registergericht/Registration Office: Amtsgericht Leipzig
Handelsregister Nr./Trade Register Nr.: B 4703
Vorsitzende des Aufsichtsrats/Chairwoman of the Supervisory Board: MinDirig'in Oda Keppler
Wissenschaftlicher Geschäftsführer/Scientific Managing Director:
Prof. Dr. Rolf Altenburger
Administrative Geschäftsführerin/Administrative Managing Director:
Dr. Sabine König

Vermeiden Sie unnötige Ausdrucke./Think before printing.

--------------------------------------------------------------------------------------------