To migrate my XWiki from 7.0.1 to 8.2.1, I followed those steps :
cd /glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/\r
tar -jcvf /backup/xwiki.tar.bz2
/glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/hibernate.cfg.xml
/glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/xwiki.cfg
/glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/xwiki.properties
/glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/classes/logback.xml
/glassfish4/glassfish/domains/domain1/applications/xwiki-enterprise-web-7.0.1/WEB-INF/observation/*
mysqldump --add-drop-database --all-databases > /backup/xwiki.sql
Then I restore dit back on the next server :
mysql -e "SET FOREIGN_KEY_CHECKS=0;"
mysql -e "CREATE DATABASE IF NOT EXISTS xwiki DEFAULT CHARACTER SET utf8;"
mysql xwiki --user=root -p < xwiki.sql
mysql -e "SET FOREIGN_KEY_CHECKS=1;"
reboot
I set the right options in the xwiki.cfg but I got this problem after the migration... :(
http://pastebin.com/cS8Th8c4
Anyone can tell me what am I doing wrong ?
Should I update to an older version before upgrading to 8.2.1 ?
Sebastien