Hi I tried to find some hints about a way to upgrade but just found an
upgrade  wiki page saying that this  needs to be  described. Since I am
still a bit of a newbie I am offering this recipe in hopes that someone
might read and correct any wrong assumptions. I did it in two rounds just to
make it easier for me to read the log file. Feel free to make it clearer in
any way:

Recipe for Upgrading from old to new version

Assume your old jspwiki webapp is called app.
create NewFolder
Backup app to NewFolder/app.old
Undeploy app on localhost(work dir cleared too)
extract war file->NewFolder/JSPWiki.war_FILES (leave this as the original)
make new copy of NewFolder/JSPWiki.war_FILES and rename to app

copy all files from app.old WEBINF to current app's WEBINF
(contains old groupdatabase.xml and userdatabase.xml definitions )
copy app.old wikiLoggings folder to current app's wikiLoggings folder
clear jspwiki.log

restart computer
run webapp and check jspwiki.log
Result:
Two errors when it doesn't find the groupdatabase.xml
and the userdatabase.xml are then later corrected when
watchdog finds them both.

-----
Second time around:
1.COPY IMAGES TO IMAGES
2.COPY TEMPLATES TO TEMPLATES
3.COPY contents of WIKIATTACHMENT & WIKIPAGES FOLDERS TO WIKIATTACHMENT &
WIKIPAGES FOLDERS

restart computer, tomcat and app

...............
I'll add this to the wiki if I don't hear any protest from anyone

On 9/18/07, Janne Jalkanen <[EMAIL PROTECTED]> wrote:
>
> Hi ho folks!
>
> I have just released JSPWiki 2.4.104, which contains important
> security fixes.  Upgrading is recommended to everyone.  Here is the
> ChangeLog:
>
> 2007-09-13  Janne Jalkanen <[EMAIL PROTECTED]>
>
>          * 2.4.104
>
>          * Fixes several XSS vulnerabilities in Diff, PageInfo,
>          Edit, Comment, Login, NewGroup, UserProfile and EditGroup.
>          Thanks heaps to Jason Katzer for finding these!
>
>          * Fixed a local path disclosure vulnerability in attachments.
>          Thanks also to Jason Katzer!
>
> JSPWiki 2.5.139-beta, also just released, contains the above fixes as
> well, in addition for a couple of new ones.  Folks, don't forget to
> escape your output!
>
> /Janne
> _______________________________________________
> This is the Jspwiki-users mailing list, in which we discuss the
> stable release (even-numbered, 2.4.x, 2.6.x), and user-issues.
> For development discussion, please join jspwiki-dev.
> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
> http://www.jspwiki.org/JSPWikiMailingList
>
_______________________________________________
This is the Jspwiki-users mailing list, in which we discuss the 
stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. 
For development discussion, please join jspwiki-dev.
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
http://www.jspwiki.org/JSPWikiMailingList

Reply via email to