Admin account deleted on Mantis

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
xolani
Posts: 18
Joined: 13 Sep 2013, 08:56

Admin account deleted on Mantis

Post by xolani »

The admin account on Mantis has been deleted so please assist how to create another admin account because the other accounts are for developers
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Admin account deleted on Mantis

Post by atrol »

xolani wrote:The admin account on Mantis has been deleted
How did you delete the admin?
Please use Search before posting and read the Manual
xolani
Posts: 18
Joined: 13 Sep 2013, 08:56

Re: Admin account deleted on Mantis

Post by xolani »

It was not deleted per say but I changed Admin to Developer...but know i cant change it back to admin
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Admin account deleted on Mantis

Post by atrol »

xolani wrote:It was not deleted per say but I changed Admin to Developer
How did you change it?
This should not be possible as I expect the following message when trying it.

Code: Select all

APPLICATION ERROR #808 

You cannot remove or demote the last administrator account. To perform the action you requested, you first need to create another administrator account.
Maybe there is one more administrator account? If so, ask the other administrator.
If not, you have to change the value of column "access_level" in table "mantis_user_table" to 90 for your account.
Please use Search before posting and read the Manual
xolani
Posts: 18
Joined: 13 Sep 2013, 08:56

Re: Admin account deleted on Mantis

Post by xolani »

I have installed Mantis on the server so where do I find the "mantis_user_table" so that I can make the necessary changes
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Admin account deleted on Mantis

Post by atrol »

mantis_user_table is a table in the database that you created when installing MantisBT.

Again my question:
atrol wrote: How did you change it?
This should not be possible as I expect the following message when trying it.

Code: Select all

APPLICATION ERROR #808 

You cannot remove or demote the last administrator account. To perform the action you requested, you first need to create another administrator account.
Maybe there is one more administrator account? If so, ask the other administrator.
Please use Search before posting and read the Manual
xolani
Posts: 18
Joined: 13 Sep 2013, 08:56

Re: Admin account deleted on Mantis

Post by xolani »

I changed the access level from admin to developer. after doing this, I received an email confirming my changes.

"Your account has been updated by an administrator. A list of these changes is provided below. You can update your account details and preferences at any time by visiting the following URL:

http://shserv29/mantis/account_page.php

Access Level: administrator => developer
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Admin account deleted on Mantis

Post by atrol »

xolani wrote:I changed the access level from admin to developer. after doing this, I received an email confirming my changes.
As I said, if you are able to change it, there is another administrator user remaining in your installation.
You have to change the database if you don't know who it is or don't know the user name and the password.
Please use Search before posting and read the Manual
Post Reply