[xwiki-users] Missing localization strings / admin user exception
Hello, I have some problems with my XWiki installation. I'm using XWiki Enterprise 6.4 and I've tried some extentions (installed and deinstalled them) and deleted the original Admin user account as mentioned in the manual. Now there are some missing localization strings in the Wiki and I also get an exception. 2015-02-06 00:18:32,611 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with identifier [[solr, indexer]] 2015-02-06 00:18:32,803 [XWiki initialization] INFO .a.DefaultAuthorizationManager - [programming] access has been denied for user [xwiki:XWiki.Admin] on [Public]: security checkpoint 2015-02-06 00:18:32,851 [XWiki initialization] ERROR cumentTranslationBundleFactory - Failed to register translation bundle from document [xwiki:WikiManager.Translations] org.xwiki.security.authorization.AccessDeniedException: Access denied when checking [programming] access to [Main Wiki] for user [xwiki:XWiki.Admin] at org.xwiki.security.authorization.DefaultAuthorizationManager.checkAccess(DefaultAuthorizationManager.java:94) ~[DefaultAuthorizationManager.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.checkRegistrationAuthorization(DocumentTranslationBundleFactory.java:439) [DocumentTranslationBundleFactory.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.registerTranslationBundle(DocumentTranslationBundleFactory.java:418) [DocumentTranslationBundleFactory.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.loadTranslations(DocumentTranslationBundleFactory.java:233) [DocumentTranslationBundleFactory.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.initialize(DocumentTranslationBundleFactory.java:206) [DocumentTranslationBundleFactory.class:na] at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [InitializableLifecycleHandler.class:na] at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355) [EmbeddableComponentManager.class:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410) [EmbeddableComponentManager.class:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) [EmbeddableComponentManager.class:na] at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) [EmbeddableComponentManager.class:na] at org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:99) [GenericProvider.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleInitializer.onEvent(DocumentTranslationBundleInitializer.java:82) [DocumentTranslationBundleInitializer.class:na] at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304) [DefaultObservationManager.class:na] at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) [DefaultObservationManager.class:na] at com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:127) [XWikiInitializerJob.class:na] at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) [AbstractJob.class:na] at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192) [AbstractJob.class:na] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25] <http://xwiki.475771.n2.nabble.com/file/n7595251/001.png> <http://xwiki.475771.n2.nabble.com/file/n7595251/002.png> <http://xwiki.475771.n2.nabble.com/file/n7595251/003.png> Can anybody help with a solution for the problem? Thank you! -- View this message in context: http://xwiki.475771.n2.nabble.com/Missing-localization-strings-admin-user-ex... Sent from the XWiki- Users mailing list archive at Nabble.com.
Where is it suggested that Admin user should be deleted ? This "advice" should be removed IMO... This was not a very good thing in your case (and in many case, I usually just make sure the Admin user have a safe password or even a generated password I quickly forget myself) since as you can see in the error message this user is the author of the translation page (the user that was used to install those pages) with which you have issues (the author of the translation require proper right for them to be taken into account). On Tue, Jun 23, 2015 at 4:05 AM, godra <perlinger-michael@web.de> wrote:
Hello,
I have some problems with my XWiki installation. I'm using XWiki Enterprise 6.4 and I've tried some extentions (installed and deinstalled them) and deleted the original Admin user account as mentioned in the manual.
Now there are some missing localization strings in the Wiki and I also get an exception.
2015-02-06 00:18:32,611 [XWiki Solr index job thread] INFO o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with identifier [[solr, indexer]] 2015-02-06 00:18:32,803 [XWiki initialization] INFO .a.DefaultAuthorizationManager - [programming] access has been denied for user [xwiki:XWiki.Admin] on [Public]: security checkpoint 2015-02-06 00:18:32,851 [XWiki initialization] ERROR cumentTranslationBundleFactory - Failed to register translation bundle from document [xwiki:WikiManager.Translations] org.xwiki.security.authorization.AccessDeniedException: Access denied when checking [programming] access to [Main Wiki] for user [xwiki:XWiki.Admin] at org.xwiki.security.authorization.DefaultAuthorizationManager.checkAccess(DefaultAuthorizationManager.java:94) ~[DefaultAuthorizationManager.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.checkRegistrationAuthorization(DocumentTranslationBundleFactory.java:439) [DocumentTranslationBundleFactory.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.registerTranslationBundle(DocumentTranslationBundleFactory.java:418) [DocumentTranslationBundleFactory.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.loadTranslations(DocumentTranslationBundleFactory.java:233) [DocumentTranslationBundleFactory.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.initialize(DocumentTranslationBundleFactory.java:206) [DocumentTranslationBundleFactory.class:na] at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [InitializableLifecycleHandler.class:na] at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:355) [EmbeddableComponentManager.class:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:410) [EmbeddableComponentManager.class:na] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) [EmbeddableComponentManager.class:na] at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190) [EmbeddableComponentManager.class:na] at org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:99) [GenericProvider.class:na] at org.xwiki.localization.wiki.internal.DocumentTranslationBundleInitializer.onEvent(DocumentTranslationBundleInitializer.java:82) [DocumentTranslationBundleInitializer.class:na] at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304) [DefaultObservationManager.class:na] at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269) [DefaultObservationManager.class:na] at com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:127) [XWikiInitializerJob.class:na] at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) [AbstractJob.class:na] at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192) [AbstractJob.class:na] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25]
<http://xwiki.475771.n2.nabble.com/file/n7595251/001.png>
<http://xwiki.475771.n2.nabble.com/file/n7595251/002.png>
<http://xwiki.475771.n2.nabble.com/file/n7595251/003.png>
Can anybody help with a solution for the problem? Thank you!
-- View this message in context: http://xwiki.475771.n2.nabble.com/Missing-localization-strings-admin-user-ex... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
It's even mentioned in the offical documentation of XWiki. -> 'The default password for the Admin user is admin. Make sure you either change the password or remove that user.' So, is there any solution for this problem without reinstalling the XWiki? Or is this the only way to solve the problem? -- View this message in context: http://xwiki.475771.n2.nabble.com/Missing-localization-strings-admin-user-ex... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Wed, Jun 24, 2015 at 1:05 AM, godra <perlinger-michael@web.de> wrote:
It's even mentioned in the offical documentation of XWiki.
Finally found the page you were referring to. I just updated the related section to be more clear. Note that this is security advices that anyone can add, calling that "official documentation" is like calling Wikipedia "the ultimate truth" :)
-> 'The default password for the Admin user is admin. Make sure you either change the password or remove that user.'
So, is there any solution for this problem without reinstalling the XWiki? Or is this the only way to solve the problem?
You could simply restore XWiki.Admin user (go to http://yourdomain/xwiki/bin/view/XWiki/Admin and restore the page) and put it back in XWikiAdminGroup and XWikiAllGroup groups.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Missing-localization-strings-admin-user-ex... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thank you for your advice, I was able to restore the original Admin account. But is there anything else I have to do? The localization strings are still missing. -- View this message in context: http://xwiki.475771.n2.nabble.com/Missing-localization-strings-admin-user-ex... Sent from the XWiki- Users mailing list archive at Nabble.com.
If you adde the user to right groups so that he got back admin rights you should then restart so that translation, macros, etc. are reloaded. On Wed, Jun 24, 2015 at 10:42 PM, godra <perlinger-michael@web.de> wrote:
Thank you for your advice, I was able to restore the original Admin account.
But is there anything else I have to do? The localization strings are still missing.
-- View this message in context: http://xwiki.475771.n2.nabble.com/Missing-localization-strings-admin-user-ex... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (2)
-
godra -
Thomas Mortagne