Hello,
For my part, on Tomcat server on Debian, I add this step to upgrade from 6.0 to 6.1:
6.a - Of course, check the value of
environment.permanentDirectory=/home/data_xwiki/
in WEB-INF/xwiki.properties
(eventualy you can remove solr and lucene subdirectory)
6.b I remove temporary directory before to start tomcat service
rm -fr ./tomcat-7.0.47/work/Catalina/*
rm -fr ./tomcat-7.0.47/temp/*
If not, the distribution wizard doesn't go at the end.
Pascal B
________________________________
De : Leonardo Kodato <leonardokodato(a)gmail.com>
À : XWiki Users <users(a)xwiki.org>
Envoyé le : Mercredi 16 juillet 2014 16h14
Objet : [xwiki-users] Upgrade problems xwiki 6.1 - missing attachments
Hi everyone.
I've got some problems upgrading xwiki 5.4.1 to xwiki 6.1(stable). The
upgrade went well, but it missed almost all the attachments(I use
filesystem storage). They are there, inside Storage folder, but Xwiki can't
find it.
I searched over the internet and found 3 different documentations for the
upgrade process.
1 -
https://network.xwiki.com/xwiki/bin/view/DocXE51En/XWikiEnterpriseInstallat…
2 -
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade
3 -
http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIUpdateXWIKIFromAnOlderVersion
The last one is a FAQ and appears to be outdated. So I used only the first
ones.
They differ little, but I think they should be unificated, because some
aspects are not present in one, but they are present in another or vice
versa.
Correct me if I'm doing something wrong:
1 - Stop java container(Tomcat)
2 - Backup up data schema,
3 - Backup up files and folders: Extension, Lucene, Solr, Storage(Im using
filesystem storage), jobs and xwiki-temp. hibernate, xwiki.cfg and
.properties, logback.xml. Also backup up any changes you've made(skins, for
example)
4 - Remove the old xwiki files(5.4.1) and replace it with the new ones(6.1).
5 - Configure xwiki.cfg, xwiki.properties and hibernate to match the old
configuration(do not replace).
6 - Insert the database connector(in this case, Mysql) inside lib folder
7 - Put all the data files from item 3 inside the
environment.permanentDirectory(in my case, its the data folder)
8 - Restart the container
9 - Point the browser to xwiki instalation
10 - Follow the steps of Distribution Wizard
11 - Check if everything went right(attachments, dataschema, templates
Thank you very much.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users