Hi Oliver
Which database are you using? The default H2? Thats not the best for
production, but in any case, the database files should be in some path
under tomcat, search for these files:
- geonetwork.h2.db
- geonetwork.trace.db
Not sure if will be inside the geonetwork folder, if thats the case you
need to backup them and when deployed the new version copy to the same path.
Also some data, like files uploaded to the metadata, thumbnails are stored
in the Data directory (see
http://geonetwork-opensource.org/manuals/trunk/eng/users/maintainer-guide/installing/customizing-data-directory.html#structure-of-the-data-directory
)
By default the data directory is in geonetwork/WEB-INF/data, you need to
backup only the subfolder geonetwork/WEB-INF/data/data (index and config
subfolders are not required as the index is recreated when GeoNetwork
starts up and config is related to thesaurus and schema plugins that you
want to get the latest version in 3.0.4)
In any case, make a full backup of the geonetwork folder for your actual
version before doing the upgrade.
Regards,
Jose García
On Tue, Apr 12, 2016 at 11:54 AM, Olivier Lobry <
olivier.lobry@anonymised.com> wrote:
Hi Mike,
Thank you for your answer and advices.
Do you mean that in your case the database is external to the tomcat
directory ?
I would not understand how the data and settings could remain otherwise…
Best regards,
Olivier
> Le 7 avr. 2016 à 18:30, mike_smith [via OSGeo.org] <
ml-node+s1560n5260181h81@anonymised.com> a écrit :
>
> Olivier,
> The only way I have found to upgrade GeoNetwork is to undeploy the
existing GeoNetwork using Tomcat Manager and then adding the WAR to Tomcat
(using whichever method you follow) to install the new GeoNetwork. It seems
a number of settings remain in the database and are transferred to the new
install. That said, my setup is extremely basic and has little in the way
of customization, but that is the process I use for upgrades.
>
> I would recommend against installing the new GeoNetwork over the old
one. In my experience that only succeeds in corrupting the existing site.
>
> - Mike S
>
>
>
> >>> On 4/7/2016 at 7:16 AM, Olivier Lobry <[hidden email]
<x-msg://133/user/SendEmail.jtp?type=node&node=5260181&i=0>> wrote:
> > Hi Jose,
> >
> > Thank you for this news.
> >
> > By the way, do you know how to upgrade from version 3.0.3 ?
> > I am not able to find any instruction either in the GN 3 documentation
or
> > the internet...
> >
> > Some people suggest just to put the war in the tomcat/webapps
directory, but
> > I'm afraid to loose all the settings...
> >
> > Best regards,
> >
> > Olivier
> >
> >
> >
> >
> > --
> > View this message in context:
> >
http://osgeo-org.1560.x6.nabble.com/GeoNetwork-3-0-4-released-tp5257189p52601
<
http://osgeo-org.1560.x6.nabble.com/GeoNetwork-3-0-4-released-tp5257189p52601
>
> > 37.html
> > Sent from the GeoNetwork users mailing list archive at Nabble.com.
> >
> >
------------------------------------------------------------------------------
> > _______________________________________________
> > GeoNetwork-users mailing list
> > [hidden email]
<x-msg://133/user/SendEmail.jtp?type=node&node=5260181&i=1>
> > https://lists.sourceforge.net/lists/listinfo/geonetwork-users <
https://lists.sourceforge.net/lists/listinfo/geonetwork-users>
> > GeoNetwork OpenSource is maintained at
> > http://sourceforge.net/projects/geonetwork <
http://sourceforge.net/projects/geonetwork>
> Register for the April 21st ABAG General Assembly now.
> To register, copy the following link into your web browser:
> https://store.abag.ca.gov/authorizenet/ga-spring16.html <
https://store.abag.ca.gov/authorizenet/ga-spring16.html>
>
>
>
>
------------------------------------------------------------------------------
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
<x-msg://133/user/SendEmail.jtp?type=node&node=5260181&i=2>
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users <
https://lists.sourceforge.net/lists/listinfo/geonetwork-users>
> GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork <
http://sourceforge.net/projects/geonetwork>
>
>
> If you reply to this email, your message will be added to the discussion
below:
>
http://osgeo-org.1560.x6.nabble.com/GeoNetwork-3-0-4-released-tp5257189p5260181.html
<
http://osgeo-org.1560.x6.nabble.com/GeoNetwork-3-0-4-released-tp5257189p5260181.html
>
> To unsubscribe from GeoNetwork 3.0.4 released, click here <
http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5257189&code=b2xpdmllci5sb2JyeUB1bml2LW1vbnRwMi5mcnw1MjU3MTg5fC0xODQ1NDQ1ODU=
>.
> NAML <
http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html!nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers!nabble%3Aemail.naml-instant_emails!nabble%3Aemail.naml-send_instant_email!nabble%3Aemail.naml
>
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GeoNetwork-3-0-4-released-tp5257189p5260830.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
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
--
*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/>Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv>
<https://twitter.com/geocat_bv>
<https://plus.google.com/u/1/+GeocatNetbv/posts>Please consider the
environment before printing this email.*