I just installed 2.1 and it looks great! (Other than a couple IE problems
that I will post about separately.)
My problem now is in using GAST to migrate data from my old GN2.0 service
(McKoi) into my new Postgresql database. It just won't work for me. GAST
will not recognize my old GN2.0 install as Geonetwork when I select migrate.
A note on the migrate window states that I may need to "update directory
name" if the web\geonetwork folder does not exist. I am not sure what this
means. Altering the path in my GN2.0 install to include web\geonetwork in
the path allowed GAST to recognize the GN2.0 directory as a Geonetwork
install, but it (not surprisingly) could not retrieve any data. Please help
me! I have both services stopped and can migrate data between two mocked up
GN2.1 installs, but I cannot figure out how to get the data from 2.0!
when you specify the old GN folder, GAST looks for <folder>/web/WEB-INF/config.xml
Then it retrieves the jdbc connection parameters, starts McKoi if the case,
and starts the migration process. Both GNs (2.0 and 2.1) must be stopped
during the migration process. Maybe there can be problems if you are using
Tomcat and moved the <folder>/web folder inside Tomcat. I will investigate.
Anyway, once GAST has got the config.xml file, the migration should run smoothly.
Look inside gast/log to see if GAST logged the error.
Another option is this:
- install GN 2.0 somewhere.
- copy web/WEB-INF/db of your current GN into the same folder of the new
installation.
- point GAST to the new installation
Cheers,
Andrea
Hi,
I just installed 2.1 and it looks great! (Other than a couple IE problems
that I will post about separately.)
My problem now is in using GAST to migrate data from my old GN2.0 service
(McKoi) into my new Postgresql database. It just won't work for me. GAST
will not recognize my old GN2.0 install as Geonetwork when I select migrate.
A note on the migrate window states that I may need to "update directory
name" if the web\geonetwork folder does not exist. I am not sure what this
means. Altering the path in my GN2.0 install to include web\geonetwork in
the path allowed GAST to recognize the GN2.0 directory as a Geonetwork
install, but it (not surprisingly) could not retrieve any data. Please help
me! I have both services stopped and can migrate data between two mocked up
GN2.1 installs, but I cannot figure out how to get the data from 2.0!
At this point I am still using Jetty. GAST definitely seems to be looking
for <folder>/web/geonetwork/WEB-INF/config.xml as in a 2.1 install and not
a 2.0 type path of <folder>/web/WEB-INF/config.xml. I am trying to find a
way to make it see a 2.0 install but no luck yet.
I mocked up a 2.1 to 2.1 migration using the
<folder>/web/geonetwork/WEB-INF/config.xml and it saw the database. But
that gave me a new problem. A "foreign key constraint violation" - like
Francois mentioned in his 14 Sept posting. I am confused about how to get
around this.
Cheers,
Byron
Andrea Carboni-2 wrote:
Hi Byron,
when you specify the old GN folder, GAST looks for
<folder>/web/WEB-INF/config.xml
Then it retrieves the jdbc connection parameters, starts McKoi if the
case,
and starts the migration process. Both GNs (2.0 and 2.1) must be stopped
during the migration process. Maybe there can be problems if you are using
Tomcat and moved the <folder>/web folder inside Tomcat. I will
investigate.
Anyway, once GAST has got the config.xml file, the migration should run
smoothly.
Look inside gast/log to see if GAST logged the error.
Another option is this:
- install GN 2.0 somewhere.
- copy web/WEB-INF/db of your current GN into the same folder of the new
installation.
- point GAST to the new installation
Cheers,
Andrea
Hi,
I just installed 2.1 and it looks great! (Other than a couple IE problems
that I will post about separately.)
My problem now is in using GAST to migrate data from my old GN2.0 service
(McKoi) into my new Postgresql database. It just won't work for me.
GAST
will not recognize my old GN2.0 install as Geonetwork when I select
migrate.
A note on the migrate window states that I may need to "update directory
name" if the web\geonetwork folder does not exist. I am not sure what
this
means. Altering the path in my GN2.0 install to include web\geonetwork
in
the path allowed GAST to recognize the GN2.0 directory as a Geonetwork
install, but it (not surprisingly) could not retrieve any data. Please
help
me! I have both services stopped and can migrate data between two mocked
up
GN2.1 installs, but I cannot figure out how to get the data from 2.0!
I got the bug in GAST and fixed it.
For a quick fix I can suggest 2 things:
- under linux: create a symbolic link to move GN one level deeper
cd <gn20>/web
ln -s . geonetwork
- under windows: move all files one level deeper
go inside <gn20>/web
create the folder 'geonetwork'
copy all files you have in web inside geonetwork (actually, the WEB-INF/
config.xml should be enough).
Cheers,
Andrea
Andrea,
At this point I am still using Jetty. GAST definitely seems to be looking
for <folder>/web/geonetwork/WEB-INF/config.xml as in a 2.1 install and not
a 2.0 type path of <folder>/web/WEB-INF/config.xml. I am trying to find a
way to make it see a 2.0 install but no luck yet.
I mocked up a 2.1 to 2.1 migration using the
<folder>/web/geonetwork/WEB-INF/config.xml and it saw the database. But
that gave me a new problem. A "foreign key constraint violation" - like
Francois mentioned in his 14 Sept posting. I am confused about how to get
around this.
Cheers,
Byron
Andrea Carboni-2 wrote:
>
> Hi Byron,
>
> when you specify the old GN folder, GAST looks for
> <folder>/web/WEB-INF/config.xml
> Then it retrieves the jdbc connection parameters, starts McKoi if the
> case,
> and starts the migration process. Both GNs (2.0 and 2.1) must be stopped
> during the migration process. Maybe there can be problems if you are using
> Tomcat and moved the <folder>/web folder inside Tomcat. I will
> investigate.
>
> Anyway, once GAST has got the config.xml file, the migration should run
> smoothly.
> Look inside gast/log to see if GAST logged the error.
>
> Another option is this:
> - install GN 2.0 somewhere.
> - copy web/WEB-INF/db of your current GN into the same folder of the new
> installation.
> - point GAST to the new installation
>
> Cheers,
> Andrea
>
>> Hi,
>>
>> I just installed 2.1 and it looks great! (Other than a couple IE problems
>> that I will post about separately.)
>> My problem now is in using GAST to migrate data from my old GN2.0 service
>> (McKoi) into my new Postgresql database. It just won't work for me.
>> GAST
>> will not recognize my old GN2.0 install as Geonetwork when I select
>> migrate.
>> A note on the migrate window states that I may need to "update directory
>> name" if the web\geonetwork folder does not exist. I am not sure what
>> this
>> means. Altering the path in my GN2.0 install to include web\geonetwork
>> in
>> the path allowed GAST to recognize the GN2.0 directory as a Geonetwork
>> install, but it (not surprisingly) could not retrieve any data. Please
>> help
>> me! I have both services stopped and can migrate data between two mocked
>> up
>> GN2.1 installs, but I cannot figure out how to get the data from 2.0!
>>
>> Cheers,
>> Byron
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> GeoNetwork-devel mailing list
> GeoNetwork-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
>