Resetting kaltura admin password via mysql

4 replies [Last post]
Joined: 11/29/2010
Points: 110

I managed to forget the admin password, but can't get kaltura to email me a new password. How do I change the admin user password in the database?

Thanks in advance to anyone who can help.

Joined: 07/19/2009
Points: 179

How about creating a new user and copy his password into the admin password (in db)?

Joined: 11/29/2010
Points: 110

I can't login as admin to do that, that's the problem! Only got one login on there, the admin one - and that's the one I can't get into.

Joined: 07/19/2009
Points: 179

Do you have by any chance the admin secret?

Joined: 07/19/2009
Points: 179

Assuming this is a local installation

1. Open the DB on partner table look for admin_secret of the partner
2. Go to the api_v3/testme/ console
3. Use the session service to login (admin session)
4. Change to the adminUser service and activate the resetPassword method

You should get the email password now. If you don't get an email you can look in (I don't have the latest code, so maybe it's not the exact place) resetUserPassword function in UserLoginDataPeer.php and print to log the values

Ofer