Hi all,
I deleted the admin account by mistake and then I cannot edit anything in Xwiki.
It shows the error: Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it’s rendered from another script.]. Click on this message for details.
Can someone help me, please? How can I fix it?
Many Thanks!
Please don’t send several times the same post.
Copy/pasting my answer:
According to this screenshot the page you are trying to access is not deleted.
Maybe you already restored it but did not rollbacked the admin group ? Or maybe this is not the right user.
Really sorry about that.
It happens with all pages which are created by the admin account.
Do you know how can I fix it? I don’t know what I should do now.
Thanks!
You should take a look at the other topic where you posted your first message, I explain what to do there.
Hi,
I go to this link (/xwiki/view/XWiki/XWikiAdminGroup) following your answer but it could not be found. You can see in the photo.
Sorry for any annoying, I’m just a new guy in xwiki
Thanks!
Hi Thomas,
I found the XwikiAdmìnGroup page, but still don’t know how to restored it because this page is created by the admin account that I deleted.
I didn’t restored the admin user yet because I don’t know how to do it. I went to the URL of this user but don’t know how to restored that user.
This is the profile page of that user
The version is 8.4.5
Thanks!
As I answered you in the first message this screenshot show a page that exist, not a deleted one.
What is the name of the user and what URL are you using to access it ?
the username of that user is “andt” and I’m using the url: /bin/view/XWiki/andt
Thanks!
Firstname is “An” and Lastname is “Do Trong”
Are you really sure this is the user which has been used to install/upgrade this wiki ?
I fixed it by rollback the AllUserGroup. Thanks!
Glad you fixed it