I have reduced my scope, still with no success: I am now trying to upgrade from 3.2.1 to 3.2.2 only.
The exact process I am following for the update is at https://1drv.ms/w/s!AnSnLykEGGAmrXSgsC8Wifr_Oy2y
I found in the geonetwork Users Archive significant discussion over the past year about adapting to XSRF-TOKEN security, which is introduced in GN3.2.2. I followed the note by Jose Garcia, suggesting to delete the two wro4j files in my external data structure, and then attempting the upgrade. The PostGIS metadata database gets updated to 3.2.2, and I get the GeoNetwork title so there is access, but the GUI is completely blank.
I now get errors related to wro4j:
2018-07-16 21:48:48,245 WARN [geonetwork.schemamanager] - Cannot resolve http://www.w3.org/2001/03/xml.xsd: will append last component to current path (not sure it will help though!)
2018-07-16 21:48:48,759 WARN [geonetwork.schemamanager] - WARNING: gco:Record is a global element without a type - assuming a string
2018-07-16 21:48:48,774 WARN [geonetwork.schemamanager] - WARNING: schema-substitutions.xml has wiped out XSD substitution list for gml:VerticalDatum
2018-07-16 21:48:48,784 WARN [geonetwork.schemamanager] - WARNING: schema-substitutions.xml has wiped out XSD substitution list for gml:CoordinateSystemAxis
2018-07-16 21:48:48,786 WARN [geonetwork.schemamanager] - WARNING: schema-substitutions.xml has wiped out XSD substitution list for gml:VerticalCS
2018-07-16 21:48:48,789 WARN [geonetwork.schemamanager] - WARNING: schema-substitutions.xml has wiped out XSD substitution list for gml:CoordinateSystemAxis
2018-07-16 21:48:50,383 WARN [geonetwork.schemamanager] - WARNING: gco:Record is a global element without a type - assuming a string
2018-07-16 21:48:52,939 WARN [geonetwork.lucene] - Stopwords file with incorrect ISO 639-2 language as filename: README
2018-07-16 21:48:59,889 ERROR [geonetwork.wro4j] - Error while loading wro4j model
java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at org.fao.geonet.wro4j.GeonetWroModelFactory.parseSource(GeonetWroModelFactory.java:659)
at org.fao.geonet.wro4j.GeonetWroModelFactory.configureJavascripDependencyManager(GeonetWroModelFactory.java:575)
at org.fao.geonet.wro4j.GeonetWroModelFactory.loadGroupsUsingRequireDependencyManagement(GeonetWroModelFactory.java:380)
at org.fao.geonet.wro4j.GeonetWroModelFactory.createModel(GeonetWroModelFactory.java:191)
at org.fao.geonet.wro4j.GeonetWroModelFactory.createModel(GeonetWroModelFactory.java:163)
at org.fao.geonet.wro4j.GeonetWroModelFactory.create(GeonetWroModelFactory.java:121)
at org.fao.geonet.wro4j.GeonetWroModelFactory.create(GeonetWroModelFactory.java:66)
at ro.isdc.wro.model.factory.WroModelFactoryDecorator.create(WroModelFactoryDecorator.java:27)
at ro.isdc.wro.model.factory.FallbackAwareWroModelFactory.create(FallbackAwareWroModelFactory.java:48)
at ro.isdc.wro.model.factory.FallbackAwareWroModelFactory.create(FallbackAwareWroModelFactory.java:22)
at ro.isdc.wro.model.factory.WroModelFactoryDecorator.create(WroModelFactoryDecorator.java:27)
at ro.isdc.wro.model.factory.ModelTransformerFactory.create(ModelTransformerFactory.java:55)
etceterra
-------- Forwarded Message --------
Re: Difficulty migrating from GN3.2.1 to GN3.4.2, <2018-07-13 15:38>
I am having difficulty migrating from GN3.2.1 to GN3.4.2, and I strongly suspect I am doing something procedurally wrong. I previously had similar problems migrating from 3.0.1 to 3.2.1 and ended by re-entering all the metadata. I would like to determine what I do wrong.
As a process, in Linux CentOS I do the following:
1. back up existing PostGIS database
2. ensure the GN data directory is remote from the deploy location
3. ensure the Jetty9 (as a service) webserver variables and options correctly set
4. download GN3.4.2 WAR
5. unzip and modify WAR for jetty-env.xml, jdbc.properties, and srv.xml for database name, userID, PW and port.
6. remove existing GN3.2.1 from jetty deploy location
7. delete the metadata_subversion directory to avoid 3.2.1 vs 3.4.2 error (deployment will rebuild)
8. reboot the server to avoid "duplicate node" error
9. place modified GN tree in webapps deployment location
10. get error like "database migration failed - try manual"
I am stuck /- /any suggestions?
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus