Xwiki corrupt during first time configuration. How to reset

I was trying to set up xwiki for the first time when this happened


How can I reset xwiki? I don’t have any databases to restore.

What was I trying to do when this happened? Well I was trying to relocate the default XWiki and some of the default pages to a common folder that would not confuse users of the wiki. I don’t want default pages appear alongside with user-create pages


Relocating the XWiki page is a very bad idea and I’m pretty sure you get a warning when you do this, at least in the recent versions.

The Navigation Panel has a configuration section where you can decide what to show in the tree, see https://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application#HNavigationPanel , but it doesn’t apply to the breadcrumb trees, which is what you’re looking for, it seem.

Thanks. I deleted the data directory and reinstalled the wiki.

Unfortunately the exclude pages feature is only available for version 10.4+ whereas only version 9.4 (available from http://download.forge.ow2.org/xwiki/) appears to work on CentOS 7. I have installed version 10.11.9 but many features do not work and the following error message gets printed on the console whenever I try to do anything

2019-09-06 13:13:11,542 [] ERROR o.i.ObservationContextListener - Can't find any begin event corresponding to [class org.xwiki.resource.events.ResourceReferenceHandledEvent (type = [webjars], parameters = [[evaluate] = [[true]]])]

This means your browser is trying to get resources corresponding to XWiki 9.4. Try to clean your browser cache.

Done that. Thanks.

I’m now running version 10.11 (LTS) and I’ve dragged all the default menus out of the navigation panel, but this does not affect the panel with the blue home icon. How can I customize this panel or even hide it completely?

You could try to compute the list of exclusions ($exclusions) as per xwiki-platform/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/Navigation.xml at master · xwiki/xwiki-platform · GitHub and then pass the value as a tree parameter here https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/hierarchy_macros.vm#L192 .

I don’t know how to compute the list of exclusions as I am still very new to xwiki

You can copy the code that computes the list of exclusions from the Navigation panel.

I apologize if I seem like I am asking for a handout but I have messed up my xwiki install once and I’m scared of doing so again.

Would you kindly tell me what (part of which) file to copy from where and to where.