Re: [xwiki-users] Migration from 7.0.1 to 8.2.1 issues.
> Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: Could not > select database 'opswiki' : Unknown database 'opswiki' Looks like XWiki is expecting your wiki database name to be "opswiki". I can think of two possibilities * you modified one of "xwiki.db" or "xwiki.db.prefix" properties in xwiki.cfg file * you are trying to access a subwiki named "opswiki" On Tue, Aug 9, 2016 at 6:14 PM,wrote: > 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 > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Create Page Button not showing v8.1
Resending as plaintext Hi All Hopefully someone can help with this issue. We are running 8.1 and some users are not able to see the “create page” button. This is what I am expecting: http://pasteboard.co/6y8jirpqd.png Instead, the user sees this: http://pasteboard.co/6y9FK2KQT.png So I assumed it must be a permissions issue. So I checked that the Group had the correct permissions to Edit (in this case I am using the Sandbox as an example, but it applies to all other top level pages – what were once spaces). As you can see below, the XWikiAllGroup has View and Edit permissions and the user can certainly see and edit the page. But I was sure that having “Edit” also meant the ability to “add” pages. If “adding” is a separate permission, please tell me where I can find this. http://pasteboard.co/6yZBCg4ye.png I have also tried giving the user directly ALL the permissions and still the user doesn’t get the “add” button. Yet if I browse directly to http://xwiki.local:8080/xwiki/bin/create/Sandbox/ I get the create page and I can successfully create/edit/save the page. I have also tried: • Giving all permissions to all the groups the user is a member of • Different combinations of different groups • Removing permissions for all groups and just giving the user permission directly • Looking through the mailing list for any reported issues (though it was a quick browse so I may have missed it). • Checked that I do not have any overriding *.vm files attached to the skin that would cause this The next step will be to upgrade to 8.2 to see if this resolves it, but I am not hopeful. Any help would be sincerely appreciated. Thanks in advance. Any help please? Kind regards, Mahomed Hussein Custodian Data Centre Email: maho...@custodiandc.com http://www.CustodianDC.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Migration from 7.0.1 to 8.2.1 issues.
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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users