Dear Andry and Laura,
To keep your configuration and added datasets between upgrade of IPT version, you may copy the data folder. Even better is to keep the data folder outside of the tomcat webapps folders.
1. Locate your data folder at webapps/ipt/data 2. Copy this folder somewhere 3. Stop tomcat 4. Delete the webapps/ipt folder (or use the Tomcat manager to undeploy ipt) 5. Rename the new IPT war file for example as ipt.war (new version downloaded from IPT site) 6. Copy this ipt.war to the webapps folder (or use the Tomcat manager to deploy ipt.war) 7. Start Tomcat 8. Stop Tomcat 9. Copy the saved copy of your data directory back to overwrite the data directory of the new upgraded ipt (webapps/ipt/data) 10. Start Tomcat
Much more advised would however be to keep your data directory outside the webapps folders. You may copy the saved ipt data folder (webapps/ipt/data) to a permanent location outside the webapps folders. As an example I keep mine at /usr/local/ipt_data/data. Each time you upgrade the IPT you will need to update the ipt.properties configuration file. This file is located at webapps/ipt/WEB-INF/classes/ipt.properties.
Add the following line to ipt.properties: dataDir=/usr/local/ipt_data/data
At least this works all fine for me. I hope this is of any help.
I believe that the IPT development team are working on improved upgrade routines for the scheduled upcoming releases during this spring.
Best regards Dag
_____
From: RAKOTOMANJAKA Andry Jean Marc [mailto:ajmrakotomanjaka@gmail.com] To: Russell, Laura [mailto:larussell@ku.edu], Aaron Steele [mailto:eightysteele@gmail.com], ipt@lists.gbif.org Cc: gbif-ipt-contributors [mailto:gbif-ipt-contributors@googlegroups.com] Sent: Wed, 03 Feb 2010 09:37:24 +0100 Subject: Re: [IPT] New IPT release (RC3) now available for download
Hi everyone,
I also insist with this question form Laura, is there any tutorial to migrate from 1.0.RC1 or RC2 to the new one ? How about the hb2 database and the data folder ? Please, can someone answer to my quiestion ! My DataSet is alredy published , registered, what is the next step to get it from http://data.gbif.org ? Even my data provider is not yet listed there. I heard that the gbif node manager needs to confirm the dataset, what is the email adress for Madagascar, may be this is one of the problem. My URL : http://wcsmad.org:8080/ipt the Dataset is Makira
Thanks
Andry Rakotomanjaka Technical Manager Madagascar Biodiverity Network http://data.rebioma.net
----- Original Message ----- From: "Russell, Laura" larussell@ku.edu To: "Aaron Steele" eightysteele@gmail.com; ipt@lists.gbif.org Cc: "gbif-ipt-contributors" gbif-ipt-contributors@googlegroups.com Sent: Monday, January 25, 2010 7:46 PM Subject: Re: [IPT] New IPT release (RC3) now available for download
What is best practice for installing the new war file if you have a previous version in place? I didn't see anything on the wiki. In my past experience working with Tomcat, we would stop the service, archive the old war file, delete the application folders out of webapps and out of Catalina work folders, place the new war and then restart Tomcat. Is all of that necessary or can we just put the new war in place and restart Tomcat? If users have not moved their data folder to another location what cautions do we need to provide? Thanks.
Laura Russell VertNet Programmer Biodiversity Institute University of Kansas Dyche Hall 1345 Jayhawk Blvd., Room 606 Lawrence, KS 66045
Phone: 785.864.4681 Fax: 785.864.5335 Email: larussell@ku.edu URL: http://www.vertnet.org
VertNet Portals: MaNIS: http://www.manisnet.org HerpNET: http://www.herpnet.org ORNIS: http://www.ornisnet.org FishNet2: http://www.fishnet2.net
-----Original Message----- From: ipt-bounces@lists.gbif.org [mailto:ipt-bounces@lists.gbif.org] On Behalf Of Aaron Steele Sent: Wednesday, January 13, 2010 12:42 PM To: ipt@lists.gbif.org Cc: gbif-ipt-contributors Subject: [IPT] New IPT release (RC3) now available for download
The latest IPT release (RC3) is now available for download and testing!
http://gbif-providertoolkit.googlecode.com/files/ipt-1.0-RC3.war
This release depends on the updated GeoServer IPT plugin which is bundled here: http://gbif-providertoolkit.googlecode.com/files/ipt-geoserver-1.0-RC3.z ip
New features include internationalization support, Darwin Core updates that reflect the latest ratified standard, and several bug fixes.
Note that we are still unable to reproduce the delete bug (http://code.google.com/p/gbif-providertoolkit/issues/detail?id=155) and we are actively looking for testers who can reproduce this issue (or discover new issues) before the IPT version 1 release.
As always, please submit issues here: http://code.google.com/p/gbif-providertoolkit/issues/entry
Thanks! The GBIF IPT Team _______________________________________________ IPT mailing list IPT@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ipt _______________________________________________ IPT mailing list IPT@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ipt
_______________________________________________ IPT mailing list IPT@lists.gbif.org http://lists.gbif.org/mailman/listinfo/ipt