I have set up a new Xwiki and in that process I imported an old one (created by a predecessor as a stand-alone Docker image and who has since left the company). I have also changed the root context for the tomcat application (and added SSL) so my wiki now responds to https://wiki.domain.my/
I have added a structure of pages and that works just fine – the Home link in the Navigation menu, for instance, points to https://wiki.domain.my/bin/view/Main/ and that is well. What is not well is what I see under the Applications heading in the left column. Take the Dashboard icon, for instance, it expands to https://wiki.domain.my/bin/bin/view/Dashboard/ and that double “bin” thing is really a bother.
I tried to remove the icons from Global Administration: Applications Panel and then add them again but the erronous URL seems to be intrinsic to the icon and not something that is added dynamically when I add the icon. Furthermore is the link “More applications” also screwed up; it directs to https://wiki.domain.my/bin/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=XWiki.AddExtensions which, of course, does not work.
I just discovered a related issue and that is that there are no images on user names, only a broken image icon. When I try to load the image I get the URL https://wiki.domain.my/bin/bin/download/XWiki/koenig/… which, of course, does not work. Same thing applies to links to pages in notifications – they also contain a double “bin”.
Any idea how I can fix this and get rid of the superfluous “bin” in those URLs? I tried to search for them in an SQL dump of the database in the vain hope that I could patch the database but that did not come up with any hits.