![]() If the article is useful for you, then please spend less than a minute to share your valuable comments in our commenting section. We are preparing all articles in-depth to understand by all level/stage Linux administrators. In my case new password is admin123 and play it. sudo /opt/bitnami/ctlscript. As I mentioned in our community forum, in case you find this problem in the future, please try to start Apache manually and share the output of this command C:/Bitnami/site name/apache2/bin/apache. Now, you have successfully reset your owncloud password, just navigate on your owncloud installation url on browser and login into your admin account using your new password. In case you perform any change in the Apache's configuration files inside the /opt/bitnami directory, you need to restart the Apache's service by using the ctlscript.sh file we provide. Mysql> UPDATE `oc_users` SET `password` = '$2a$08$7nZBhzaJVMPqMICMrXMKQOEvmQ47z5QtQ4FxPSWv5ecRIvRq7j332' WHERE `uid` = 'admin' Login to mysql server and navigate to owncloud database and run the below command to update the admin password. Note : After done this, you can remove the new changes which you made on your test.php file. Hash: $2a$08$7nZBhzaJVMPqMICMrXMKQOEvmQ47z5QtQ4FxPSWv5ecRIvRq7j332 Make sure you need to copy the First Hash value which is start value like $2…. Like below and it will shows below result’s. $hash = $t_hasher->HashPassword($correct) Īfter made above change, Run the test.php file. # Try to use stronger but system-specific hashes, with a possible fallback to Make sure you need to add your new password instead of admin123 and your passwordsalt value which we noted in step2. Open test.php file and comment below orange colour lines and add green coloured line value newely under the orange colour line. Navigate to your owncloud installation directory & open config/config.php file and passwordsalt value. To reset owncloud 6 admin password, follow the below procedure. $ sudo -u apache php /var/user:resetpassword admin Make sure you have to mention your owncloud installation directory insteadof us /var/# For Debian based Systems # To reset owncloud 7 & 8 admin password, we can use the occ command to reset the password which will uses HTTP user, follow the below procedure. ![]() See the below steps to reset the owncloud admin password. In my point of view the below one is very simple and effective. ![]() I have spend lots of time on owncloud forum and found few more solution. I have installed owncloud 6.0 for testing purpose and later a stage i upgraded to 7.0 & 8.0 but i forget to assign the email id for password reset request and now i forget my owncloud admin password and trying to reset.
0 Comments
Leave a Reply. |