Resetup SuperUser
Forum » WikiPBX / Technical Support » Resetup SuperUser
Started by: lluisrieralluisriera
On: 1272269989|%e %b %Y, %H:%M %Z|agohover
Number of posts: 5
rss icon RSS: New posts
Resetup SuperUser
lluisrieralluisriera 1272269989|%e %b %Y, %H:%M %Z|agohover

Hi,

Is it possible to resetup superuser via Add Root Link?

Thanks,

Lluís

Reply  |  Options
Unfold Resetup SuperUser by lluisrieralluisriera, 1272269989|%e %b %Y, %H:%M %Z|agohover
Re: Resetup SuperUser
stas_shtinstas_shtin 1272275885|%e %b %Y, %H:%M %Z|agohover

No, it's not supported. You'll probably have to do it from django shell. In the next wikipbx version you'll be able to access DB from admin inerface autogenerated by django in such cases.

What exactly are you trying to achieve?

Reply  |  Options
Unfold Re: Resetup SuperUser by stas_shtinstas_shtin, 1272275885|%e %b %Y, %H:%M %Z|agohover
Re: Resetup SuperUser
lluisrieralluisriera 1272276701|%e %b %Y, %H:%M %Z|agohover

Setup a new superuser because I dropped wikipbx database and lost superuser information; I you could send me a manual process to do that on mysql it would help me a lot.

Reply  |  Options
Unfold Re: Resetup SuperUser by lluisrieralluisriera, 1272276701|%e %b %Y, %H:%M %Z|agohover
Re: Resetup SuperUser
stas_shtinstas_shtin 1272277869|%e %b %Y, %H:%M %Z|agohover

If you've dropped the whole database, you should be able to create a new user by clicking "Add root" link as usual. Just make sure you've created DB with "./manage.py syncdb" command first. I thought you wanted to edit settings for existing root user which would have to be done manually.

Reply  |  Options
Unfold Re: Resetup SuperUser by stas_shtinstas_shtin, 1272277869|%e %b %Y, %H:%M %Z|agohover
Re: Resetup SuperUser
lluisrieralluisriera 1272279138|%e %b %Y, %H:%M %Z|agohover

Yes!!! It works!!

Thank you very much

Lluís

Reply  |  Options
Unfold Re: Resetup SuperUser by lluisrieralluisriera, 1272279138|%e %b %Y, %H:%M %Z|agohover
New Post
page_revision: 0, last_edited: 1226259295|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License