Create Superadmin for all domains

Status
Not open for further replies.

moe

New Member
Nov 25, 2019
9
0
1
40
Dear all,

While trying to delete certain domains from the FusionPBX portal, by mistake we deleted all superadmins and now unable to log as superadmin although admin is still available.

I tried following this article https://docs.fusionpbx.com/en/latest/additional_information/password_reset.html but it didn't do anything. When I try to login with admin user after the recovery process it brings a blank dashboard.

I would appreciate your help in knowing how to recover the superadmin again.

Thank you
 

Attachments

  • new.jpg
    new.jpg
    104.4 KB · Views: 5
Last edited:

hfoster

Active Member
Jan 28, 2019
675
80
28
34
Personally, I would restore the database backup which you do hopefully have, though this can be tricky if time has passed and vital data is in the database now. Otherwise, I'd say edit the database and insert the relevant user back into v_users and v_group_users just like the installer would. Note you'll have to figure out the domain UUID from the database too. And definitely take a backup before you even touch the database, and know how to restore it if needed.

Line 71 of the finish.sh from the installer.

Don't run the installer again though. You will probably wipe your install.
 
Status
Not open for further replies.