Affects Version/s: 6.0, 6.0.1
Fix Version/s: None
Component/s: XWiki Enterprise Documents
Environment:Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux
- xwiki-enterprise-common 6.0.1
- xwiki-enterprise-pgsql-common 6.0.1
- xwiki-enterprise-tomcat-common 6.0.1
- xwiki-enterprise-tomcat7-pgsql 6.0.1
- postgresql-9.3.4 (from official postgres repo)
Documentation in Release Notes:N/A
(using Debian package from "http://maven.xwiki.org")
I had this issue when upgrading from 5.4.4 to 6.0 and today again from 6.0 to 6.0.1 .
This wiki is private and so "XWikiGuest" can only see the login page.
When Xwiki was version 5.4.4, "XWikiGuest" had the rights "forbiden" for "view" and "register" at "/bin/edit/XWiki/XWikiPreferences?editor=object", after the upgrade, this create a redirect loop, when going to http://wiki.enterprise.com:8080/, the address bar changes for this:
To correct this, the only way was to change the xwiki.authentication property to basic in xwiki.cfg, then login, go to "/bin/edit/XWiki/XWikiPreferences?editor=object" and remove the xwiki object "XWikiGuest" in the "XWiki.XWikiGlobalRights" category (thanks to tmortagne on irc for this!). After that, putting back the xwiki.authentication to its default value will allow normal login.
The problem is that, without changing anything, after updating xwiki from 6.0 to 6.0.1, I had the exact same issue today.
To my surprise, when looking at "/bin/edit/XWiki/XWikiPreferences?editor=object", the object "XWikiGuest" was back, but this time with no rights at all, no forbid, nothing... deleting it (again), solved the issue.
Seems like a bug to me.