Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: djduck on March 09, 2013, 07:12:54 pm

Title: Trying to remove an account.
Post by: djduck on March 09, 2013, 07:12:54 pm
I provisioned an account through the API .. but it seems it was missing the username variable. It shouldn't of created the account correct ? Do you have an alternative to remove the account? meaning either deleted the account table or some other way?



Processing account all ...
Fatal exception: The *all* identity class does does not have RPC capabilities.
Title: Re: Trying to remove an account.
Post by: Centova - Steve B. on March 12, 2013, 04:25:02 pm
> I provisioned an account through the API .. but it seems it was missing
> the username variable. It shouldn't of created the account correct ?
No, it should not have.  You're saying it did?

>  Do you have an alternative to remove the account
An alternative to what?  Is there a problem occurring when you delete it through the web interface normally?
Title: Re: Trying to remove an account.
Post by: Centova - Steve B. on March 12, 2013, 04:33:29 pm
Ahh, I see what is happening.  Run the following MySQL query:

Code: [Select]
UPDATE accounts SET username='deleteme' WHERE username='all';
Then rename /usr/local/centovacast/var/vhosts/all to 'deleteme' as well.

Then the account will behave normally when you access/delete it.  I'm not sure how the username validation ended up getting removed but I'll make sure that's back in there for the next build.