On Fri, Sep 25, 2015 at 11:47 AM, Jan Šlegr <jan.slegr(a)labtech.cz> wrote:
Hi,
I tried to install newly released XWiki 7.2. The same machine (Debian + Apache + Tomcat 7
+ MySQL) was used to test testing versions of 7.2 without problems. Manual installation
always used (no Debian package).
In Step 1 I received this error when trying install XWiki Enterprise Flavor - Main Wiki:
...
Installing document [Home > Macros > TreeTranslations]
[admin] access has been denied for user [xwiki:XWiki.Admin] on [xwiki]: security
checkpoint
Access denied when checking [admin] access to [Wiki xwiki] for user [xwiki:XWiki.Admin]
class org.xwiki.security.authorization.AccessDeniedException: Access denied when checking
[admin] access to [Wiki xwiki] for user [xwiki:XWiki.Admin]
at
org.xwiki.security.authorization.DefaultAuthorizationManager.checkAccess(DefaultAuthorizationManager.java:94)
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.checkRegistrationAuthorization(DocumentTranslationBundleFactory.java:442)
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.registerTranslationBundle(DocumentTranslationBundleFactory.java:418)
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.translationDocumentUpdated(DocumentTranslationBundleFactory.java:346)
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.access$000(DocumentTranslationBundleFactory.java:86)
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory$1.onEvent(DocumentTranslationBundleFactory.java:156)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1529)
at
org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocumentSetContextUser(DocumentMergeImporter.java:346)
at
org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:332)
at
org.xwiki.extension.xar.internal.handler.packager.DocumentMergeImporter.saveDocument(DocumentMergeImporter.java:126)
at
org.xwiki.extension.xar.internal.handler.packager.Packager.importDocumentToWiki(Packager.java:223)
at
org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:174)
at
org.xwiki.extension.xar.internal.handler.packager.Packager.importXARToWiki(Packager.java:146)
at
org.xwiki.extension.xar.internal.handler.packager.Packager.importXAR(Packager.java:136)
at
org.xwiki.extension.xar.internal.handler.XarExtensionHandler.installInternal(XarExtensionHandler.java:203)
at
org.xwiki.extension.xar.internal.handler.XarExtensionHandler.install(XarExtensionHandler.java:167)
at
org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.install(DefaultExtensionHandlerManager.java:85)
at
org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:256)
at
org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:204)
at
org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:151)
at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:150)
at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)
at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Done installing document [Home > Macros > TreeTranslations]
...
There are more problems reported in the list, all seems are "[admin] access has been
denied for user [xwiki:XWiki.Admin] on [xwiki]: security checkpoint".
I guess I configured XWiki in the same way and old installation including cache were
removed completely. Is there anything else I should check?
According to the error it looks like Macros.TreeTranslations was
installed before Admin user got admin right which is weird since as
far as I can see all dependencies are in the right order in XWiki
Enterprise Flavor - Main Wiki. Would be great if your could create an
issue on
http://jira.xwiki.org with all the details you have. In the
meantime if all the error are of the same kind restarting XWiki should
be enough to fix them, if admin user still don't have admin right you
should get them again in the log.
With regards,
Jan
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne