+1
Unhashed

So today I found myself with this error while trying to update. To solve it you must do the following:

  1. If you’re on a shared hosting, go to your cPanel and then go to TERMINAL
  2. You will need to generate your own secret, to do this just copy and paste it on the TERMINAL the text the website gives you on the nextcloud update page or copy this one and press ENTER:
    php -r ‘$password = trim(shell_exec(“openssl rand -base64 48”));if(strlen($password) === 64) {$hash = password_hash($password, PASSWORD_DEFAULT) . “\n”; echo “Insert as “updater.secret”: “.$hash; echo “The plaintext value is: “.$password.”\n”;}else{echo “Could not execute OpenSSL.\n”;};’
  3. This will generate two things, your “updater.secret” and you “plaintext value
  4. On your hosting’s file manager look for your config.php file for your nextcloud installation
  5. Open it and replace the new “updater.secret” with the one you generated on the TERMINAL, save your file on the host again.
  6. Paste the “plaintext value” that was generated on the nextcloud “Secret” text field at updater website and click Login
  7. Continue with your update.

Leave a comment / Déjanos un comentario