Òscar
Generally the sql statement that is causing the issue is in the logs but I
don't see it in your logs. Maybe you got to go back further in the logs. You
would need to locate the first SQL error since it generally has a snowball
effect.
You can to run the scripts manually via pgsql but it may be a little time
consuming. To see the list of scripts to be executed you can look at the
following file.
config-db.xml
<https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/WEB-INF/config-db.xml>
contains a list of all the db scripts from the migrate folder that will be
executed.
So in your case it will run the scripts from
v265
<https://github.com/geonetwork/core-geonetwork/tree/2.10.x/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v265>
v280
<https://github.com/geonetwork/core-geonetwork/tree/2.10.x/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v280>
v2100
<https://github.com/geonetwork/core-geonetwork/tree/2.10.x/web/src/main/webapp/WEB-INF/classes/setup/sql/migrate/v2100>
Alternatively, you could setup your new 2.10 installation to connect to a
new pg schema/user - then you can export the old data and import it in the
new installation.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problems-migrating-from-GN-2-6-4-tp5064692p5064956.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Hi Ian,
I've found the problem
Installing GN in Spanish doesn't work
With english perfect installation in seconds
Best,
Òscar
-----
Institut de Ciències del Mar (CSIC) at Barcelona
Passeig Marítim de la Barceloneta, 37-49
08003 Barcelona (Catalonia)
SPAIN
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problems-migrating-from-GN-2-6-4-tp5064692p5065989.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Hi Ian,
When you said:
"... then you can export the old data and import it in the new installation.
"
Do you mean backup PostGIS DB GN 2.6.4 and restoring into PostGIS DB GN
2.10?
Best,
Òscar
-----
Institut de Ciències del Mar (CSIC) at Barcelona
Passeig Marítim de la Barceloneta, 37-49
08003 Barcelona (Catalonia)
SPAIN
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problems-migrating-from-GN-2-6-4-tp5064692p5066036.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Òscar
No - I did not mean export/import at the database level. I was talking about
the export via GAST and the import could be done via the metadata import.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problems-migrating-from-GN-2-6-4-tp5064692p5066061.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Hi Ian,
I've attached 2 printscreen of my GAST. I only have the choice to configure
database connection
gast1.jpg <http://osgeo-org.1560.x6.nabble.com/file/n5066091/gast1.jpg>
gast2.jpg <http://osgeo-org.1560.x6.nabble.com/file/n5066091/gast2.jpg>
I've launched Gast from geonetwork/bin/gast.sh
I don't know if I miss something
Thanks,
Òscar
-----
Institut de Ciències del Mar (CSIC) at Barcelona
Passeig Marítim de la Barceloneta, 37-49
08003 Barcelona (Catalonia)
SPAIN
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problems-migrating-from-GN-2-6-4-tp5064692p5066091.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.