Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-1401

Issue on update on private wiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 6.0, 6.0.1
    • None
    • N/A
    • N/A

    Description

      (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:

      http://wiki.enterprise.com:8080/bin/view/Main/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/bin/login/XWiki/XWikiLogin?srid=O1A0yR3E&xredirect=%2Fbin%2Fview%2FMain%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2Fbin%2Flogin%2FXWiki%2FXWikiLogin%3Fsrid%3DO1A0yR3E%26xredirect%3D%252Fbin%252Fview%252FMain%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252Fbin%252Flogin%252FXWiki%252FXWikiLogin%253Fsrid%253DO1A0yR3E%2526xredirect%253D%25252Fbin%25252Fview%25252FMain%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252Fbin%25252Flogin%25252FXWiki%25252FXWikiLogin%25253Fsrid%25253DO1A0yR3E%252526xredirect%25253D%2525252Fbin%2525252Fview%2525252FMain%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252Fbin%2525252Flogin%2525252FXWiki%2525252FXWikiLogin%2525253Fsrid%2525253DO1A0yR3E%25252526xredirect%2525253D%252525252Fbin%252525252Fview%252525252FMain%252525252Fbin%252525252Flogin%252525252FXWiki%252525252Fbin%252525252Flogin%252525252FXWiki%252525252Fbin%252525252Flogin%252525252FXWiki%252525252Fbin%252525252Flogin%252525252FXWiki%252525252Fbin%252525252Flogin%252525252FXWiki%252525252Fbin%252525252Flogin%252525252FXWiki%252525252Fbin%252525252Flogin%252525252FXWiki%252525252Fbin%252525252Flogin%252525252FXWiki%252525252Fbin%252525252Flogin%252525252FXWiki%252525252Fbin%252525252Flogin%252525252FXWiki%252525252FXWikiLogin%252525253Fsrid%252525253DO1A0yR3E%2525252526xredirect%252525253D%25252525252Fbin%25252525252Fview%25252525252FMain%25252525252Fbin%25252525252Flogin%25252525252FXWiki%25252525252Fbin%25252525252Flogin%25252525252FXWiki%25252525252Fbin%25252525252Flogin%25252525252FXWiki%25252525252Fbin%25252525252Flogin%25252525252FXWiki%25252525252Fbin%25252525252Flogin%25252525252FXWiki%25252525252Fbin%25252525252Flogin%25252525252FXWiki%25252525252Fbin%25252525252Flogin%25252525252FXWiki%25252525252Fbin%25252525252Flogin%25252525252FXWiki%25252525252Fbin%25252525252Flogin%25252525252FXWiki%25252525252FXWikiLogin%25252525253Fsrid%25252525253DO1A0yR3E%252525252526xredirect%25252525253D%2525252525252Fbin%2525252525252Fview%2525252525252FMain%2525252525252Fbin%2525252525252Flogin%2525252525252FXWiki%2525252525252Fbin%2525252525252Flogin%2525252525252FXWiki%2525252525252Fbin%2525252525252Flogin%2525252525252FXWiki%2525252525252Fbin%2525252525252Flogin%2525252525252FXWiki%2525252525252Fbin%2525252525252Flogin%2525252525252FXWiki%2525252525252Fbin%2525252525252Flogin%2525252525252FXWiki%2525252525252Fbin%2525252525252Flogin%2525252525252FXWiki%2525252525252Fbin%2525252525252Flogin%2525252525252FXWiki%2525252525252FXWikiLogin%2525252525253Fsrid%2525252525253DO1A0yR3E%25252525252526xredirect%2525252525253D%252525252525252Fbin%252525252525252Fview%252525252525252FMain%252525252525252Fbin%252525252525252Flogin%252525252525252FXWiki%252525252525252Fbin%252525252525252Flogin%252525252525252FXWiki%252525252525252Fbin%252525252525252Flogin%252525252525252FXWiki%252525252525252Fbin%252525252525252Flogin%252525252525252FXWiki%252525252525252Fbin%252525252525252Flogin%252525252525252FXWiki%252525252525252Fbin%252525252525252Flogin%252525252525252FXWiki%252525252525252Fbin%252525252525252Flogin%252525252525252FXWiki%252525252525252FXWikiLogin%252525252525253Fsrid%252525252525253DO1A0yR3E%2525252525252526xredirect%252525252525253D%25252525252525252Fbin%25252525252525252Fview%25252525252525252FMain%25252525252525252Fbin%25252525252525252Flogin%25252525252525252FXWiki%25252525252525252Fbin%25252525252525252Flogin%25252525252525252FXWiki%25252525252525252Fbin%25252525252525252Flogin%25252525252525252FXWiki%25252525252525252Fbin%25252525252525252Flogin%25252525252525252FXWiki%25252525252525252Fbin%25252525252525252Flogin%25252525252525252FXWiki%25252525252525252Fbin%25252525252525252Flogin%25252525252525252FXWiki%25252525252525252FXWikiLogin%25252525252525253Fsrid%25252525252525253DO1A0yR3E%252525252525252526xredirect%25252525252525253D%2525252525252525252Fbin%2525252525252525252Fview%2525252525252525252FMain%2525252525252525252Fbin%2525252525252525252Flogin%2525252525252525252FXWiki%2525252525252525252Fbin%2525252525252525252Flogin%2525252525252525252FXWiki%2525252525252525252Fbin%2525252525252525252Flogin%2525252525252525252FXWiki%2525252525252525252Fbin%2525252525252525252Flogin%2525252525252525252FXWiki%2525252525252525252Fbin%2525252525252525252Flogin%2525252525252525252FXWiki%2525252525252525252FXWikiLogin%2525252525252525253Fsrid%2525252525252525253DO1A0yR3E%25252525252525252526xredirect%2525252525252525253D%252525252525252525252Fbin%252525252525252525252Fview%252525252525252525252FMain%252525252525252525252Fbin%252525252525252525252Flogin%252525252525252525252FXWiki%252525252525252525252Fbin%252525252525252525252Flogin%252525252525252525252FXWiki%252525252525252525252Fbin%252525252525252525252Flogin%252525252525252525252FXWiki%252525252525252525252Fbin%252525252525252525252Flogin%252525252525252525252FXWiki%252525252525252525252FXWikiLogin%252525252525252525253Fsrid%252525252525252525253DO1A0yR3E%2525252525252525252526xredirect%252525252525252525253D%25252525252525252525252Fbin%25252525252525252525252Fview%25252525252525252525252FMain%25252525252525252525252Fbin%25252525252525252525252Flogin%25252525252525252525252FXWiki%25252525252525252525252Fbin%25252525252525252525252Flogin%25252525252525252525252FXWiki%25252525252525252525252Fbin%25252525252525252525252Flogin%25252525252525252525252FXWiki%25252525252525252525252FXWikiLogin%25252525252525252525253Fsrid%25252525252525252525253DO1A0yR3E%252525252525252525252526xredirect%25252525252525252525253D%2525252525252525252525252Fbin%2525252525252525252525252Fview%2525252525252525252525252FMain%2525252525252525252525252Fbin%2525252525252525252525252Flogin%2525252525252525252525252FXWiki%2525252525252525252525252Fbin%2525252525252525252525252Flogin%2525252525252525252525252FXWiki%2525252525252525252525252FXWikiLogin%2525252525252525252525253Fsrid%2525252525252525252525253DO1A0yR3E%25252525252525252525252526xredirect%2525252525252525252525253D%252525252525252525252525252Fbin%252525252525252525252525252Fview%252525252525252525252525252FMain%252525252525252525252525252Fbin%252525252525252525252525252Flogin%252525252525252525252525252FXWiki%252525252525252525252525252FXWikiLogin%252525252525252525252525253Fsrid%252525252525252525252525253DO1A0yR3E%2525252525252525252525252526xredirect%252525252525252525252525253D%25252525252525252525252525252Fbin%25252525252525252525252525252Fview%25252525252525252525252525252FMain%25252525252525252525252525252F%25252525252525252525252525253Fsrid%25252525252525252525252525253DO1A0yR3E

      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.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            aceslash Ace Slash
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: