Admin access gone after upgrade

Hi,

sorry, I don’t think that that worked.
I can see the AdminUIX page now, yes. But I am still not able to administer the wiki.

I think, I removed some rights / roles from my profile or from a profile which we used to administrate …

Hi,
sorry to push that topic again. But I still can’t see / access anything that really let’s administer the wiki.
image
Regards,
Doumanix

Hi, I tried to live with redirects with $response.sendRedirect() but even with that I have now problems. A redirect which used to work doesn’t work now. I do not know, when it was broken.

Is there any chance that someone can give me admin access to my project mentioned above?
Because now I am totally stuck … no redirect, no deletion of pages and for a long page no administration of my myxwiki space. …

@Doumanix Hi. Could you give me a URL that I can check?

http://selfbus.myxwiki.org/
Example of not working redirect: https://selfbus.myxwiki.org/xwiki/bin/view/Geräte/Sensoren/Rauchmelder_ARM/

Previously worked this but now it does not anymore:

{{velocity}}
$response.sendRedirect('https://selfbus.org/wiki/devices/sensors/6-smoke-detector-module')
{{/velocity}}

hmm It leads me to https://blog.ludovic.org/xwiki/bin/view/Blog/ :wink:

I’ve noticed that you haven’t upgraded your wiki, maybe you should start by doing so:

Screenshot 2021-12-15 at 17.00.52

We’ve added a check for untrusted domains relatively recently and https://selfbus.org is not in the list of trusted domains. That’s why you didn’t see it before.

You should check How to add a redirect? (XWiki.org)

I recommend using the XObject way.

I’m going to document it at Redirect (Extension.Redirect) - XWiki

But this is my main issue why I opened this thread a long time ago: I CAN’T!!

I do not have admin access to my wiki. Without that I don’t have the right to upgrade

Here is my initial post which decribes the problem, which remains until today:

hmm just realized that you want to redirect to some outside website and not to myxwiki.org. So both solution will not work without adding the site to the allowed domain list.

Done: Redirect (Extension.Redirect) - XWiki

Ok, got it.
But that leads me one more time to the point: how do I get back my admin access?
I wrecked it 1,5 years ago and nobody could help so far …

I’m checking it.

So it should now work and you should be able to access your wiki (seems there were some apache rules causing some problems).

Hi Vincent, unfortunately, it didn’t help.
I still do not see a link in the menu leading to the administration.

I played a bit and saw this hint
This page and its children contain internal content used by XWiki for its own use. It also currently contains the User Profile pages. You can administer your wiki through the [Administration application].
when I accessed it via /xwiki/bin/view/XWiki/

But when opening /xwiki/bin/view/XWiki/XWikiPreferences … I get this error: You are not allowed to view this page or perform this action.

You cannot navigate to the wiki’s home page? I wasn’t able to do so before and now, after the fix, it works for me.

The home page is this: Selfbus - EIB / KNX kompatible Geräte selbst bauen - XWiki ?
This always worked.
I cannot access anything which has to do with adminstration. I also can’t do a xar export. Before I wrecked it in May 2020, all worked fine.

So, if it is too much effort to investigate what the problem is here, could you please add https://selfbus.org to the list of trusted domains for me? This would help to keep the pages updated.

That’s weird since it clearly wasn’t working before fixing it for me, see Admin access gone after upgrade - #10 by vmassol

Could you tell me what username you’re using to log in?

Thanks