{"id":3223,"date":"2021-07-14T07:54:14","date_gmt":"2021-07-14T07:54:14","guid":{"rendered":"https:\/\/cocoalopez.com\/blog\/?p=3223"},"modified":"2021-07-14T07:54:17","modified_gmt":"2021-07-14T07:54:17","slug":"nextcloud-cannot-update-you-need-to-provide-the-unhashed","status":"publish","type":"post","link":"https:\/\/cocoalopez.com\/blog\/?p=3223","title":{"rendered":"Nextcloud Cannot update: You need to provide the unhashed&#8230;"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"188\" data-attachment-id=\"3224\" data-permalink=\"https:\/\/cocoalopez.com\/blog\/?attachment_id=3224\" data-orig-file=\"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?fit=967%2C261&amp;ssl=1\" data-orig-size=\"967,261\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"imagen-2\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?fit=300%2C81&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?fit=696%2C188&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?resize=696%2C188&#038;ssl=1\" alt=\"\" class=\"wp-image-3224\" srcset=\"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?w=967&amp;ssl=1 967w, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?resize=300%2C81&amp;ssl=1 300w, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?resize=768%2C207&amp;ssl=1 768w, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?resize=672%2C181&amp;ssl=1 672w, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?resize=400%2C108&amp;ssl=1 400w, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?resize=696%2C188&amp;ssl=1 696w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><figcaption>Unhashed<\/figcaption><\/figure>\n\n\n\n<p>So today I found myself with this error while trying to update. To solve it you must do the following:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>If you&#8217;re on a shared hosting, go to your cPanel and then go to <strong>TERMINAL<\/strong><\/li><li>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 <strong>ENTER<\/strong>: <br>php -r \u2018$password = trim(shell_exec(\u201copenssl rand -base64 48\u201d));if(strlen($password) === 64) {$hash = password_hash($password, PASSWORD_DEFAULT) . \u201c\\n\u201d; echo &#8220;Insert as \u201cupdater.secret\u201d: &#8220;.$hash; echo \u201cThe plaintext value is: \u201c.$password.\u201d\\n\u201d;}else{echo \u201cCould not execute OpenSSL.\\n\u201d;};\u2019<\/li><li>This will generate two things, your <strong>&#8220;updater.secret<\/strong>&#8221; and you &#8220;<strong>plaintext value<\/strong>&#8220;<\/li><li>On your hosting&#8217;s file manager look for your config.php file for your nextcloud installation<\/li><li>Open it and replace the new &#8220;updater.secret&#8221; with the one you generated on the TERMINAL, save your file on the host again.<\/li><li>Paste the &#8220;<strong>plaintext value<\/strong>&#8221; that was generated on the nextcloud &#8220;<strong>Secret<\/strong>&#8221; text field at updater website  and click <strong>Login<\/strong><\/li><li>Continue with your update.<\/li><\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So today I found myself with this error while trying to update. To solve it you must do the following: If you&#8217;re on a shared hosting, go to your cPanel and then go to TERMINAL You will need to generate your own secret, to do this just copy and paste it on the TERMINAL the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3224,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1002,35],"tags":[],"class_list":["post-3223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-featured","category-zapatainvita"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/07\/imagen-2.png?fit=967%2C261&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9XJix-PZ","jetpack-related-posts":[{"id":2680,"url":"https:\/\/cocoalopez.com\/blog\/?p=2680","url_meta":{"origin":3223,"position":0},"title":"No connection to NextCloud. Operation Canceled windows client","author":"cgmodeler","date":"May 7, 2018","format":false,"excerpt":"Cuando el nextlcoud no se conecta y arroja el siguiente error: \"No connection to NextCloud. Operation Canceled windows client Una de las causas probables es el cambio de contrase\u00f1as en el cliente de windows, al tratar de hacer login y recibir el password erroneo un cierto n\u00famero de veces, el\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/05\/no-connection-to-nextcloud-operation-canceled-windows-client.png?fit=420%2C420&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2859,"url":"https:\/\/cocoalopez.com\/blog\/?p=2859","url_meta":{"origin":3223,"position":1},"title":"Nextcloud change server URL on PC Client","author":"cgmodeler","date":"April 28, 2019","format":false,"excerpt":"Changing the server address in ~.local\/share\/data\/Nextcloud\/nextcloud.cfg on Linux & User\\AppData\\Local\\Nextcloud\\nextcloud.cfg on Windows Close nextcloud clientSearch the file \"nextcloud.cfg\"Look for the line:0\\url= \" \" Replace the URL between the commas with the new server addressSave FileRestart Nextcloud","rel":"","context":"In &quot;Tips y Tutoriales&quot;","block_context":{"text":"Tips y Tutoriales","link":"https:\/\/cocoalopez.com\/blog\/?cat=31"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2019\/04\/nextcloud-change-server-url-on-pc-client.png?fit=628%2C458&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2019\/04\/nextcloud-change-server-url-on-pc-client.png?fit=628%2C458&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2019\/04\/nextcloud-change-server-url-on-pc-client.png?fit=628%2C458&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3235,"url":"https:\/\/cocoalopez.com\/blog\/?p=3235","url_meta":{"origin":3223,"position":2},"title":"Nextcloud Your sync clients are blocked from further uploads nextcloud and 404 File Missing","author":"cgmodeler","date":"August 10, 2021","format":false,"excerpt":"Had some issues where my client would display a 404 File missing on \"GET and \"your sync clients are blocked from further uploads nextcloud\" Solved it by rolling back to client 3.0 https:\/\/download.nextcloud.com\/desktop\/releases\/Windows\/Nextcloud-3.0.0-setup.exe And removing the Ransomware Protection App from the Nextcloud dashboard on your admin account. For some reason\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/08\/imagen-5.png?fit=459%2C539&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2882,"url":"https:\/\/cocoalopez.com\/blog\/?p=2882","url_meta":{"origin":3223,"position":3},"title":"Nextcloud + Adobe Premiere Not reading folder","author":"cgmodeler","date":"October 2, 2019","format":false,"excerpt":"In case your folder is not showing up on Adobe Premiere: Right click on your root nextcloud folder on windows explorerOn properties, return the icon to the default windows folder iconOn the Type, Customize select Optimize for \"General Items\"Click APPLYThe folder should show up on premiere","rel":"","context":"In &quot;Tips y Tutoriales&quot;","block_context":{"text":"Tips y Tutoriales","link":"https:\/\/cocoalopez.com\/blog\/?cat=31"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/02\/Honeyview_2017-02-26_20-10-11.png?fit=1200%2C591&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/02\/Honeyview_2017-02-26_20-10-11.png?fit=1200%2C591&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/02\/Honeyview_2017-02-26_20-10-11.png?fit=1200%2C591&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/02\/Honeyview_2017-02-26_20-10-11.png?fit=1200%2C591&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2017\/02\/Honeyview_2017-02-26_20-10-11.png?fit=1200%2C591&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2654,"url":"https:\/\/cocoalopez.com\/blog\/?p=2654","url_meta":{"origin":3223,"position":4},"title":"Nextcloud file locked cannot sync","author":"cgmodeler","date":"April 14, 2018","format":false,"excerpt":"Cuando los archivos se bloquean al sincronizarse. Entrar al Phpmyadmin Seleccionar la tabla \"oc_file_locks\" Hacer click en el tab SQL Poner el siguiente comando. SELECT * FROM `oc_file_locks` WHERE 1; DELETE FROM oc_file_locks WHERE 1; Darle click en GO Esperar a que se borren los archivos en el cliente.","rel":"","context":"In &quot;Tips y Tutoriales&quot;","block_context":{"text":"Tips y Tutoriales","link":"https:\/\/cocoalopez.com\/blog\/?cat=31"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/04\/nextcloud-file-locked-cannot-sync.png?fit=709%2C586&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/04\/nextcloud-file-locked-cannot-sync.png?fit=709%2C586&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/04\/nextcloud-file-locked-cannot-sync.png?fit=709%2C586&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2018\/04\/nextcloud-file-locked-cannot-sync.png?fit=709%2C586&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3334,"url":"https:\/\/cocoalopez.com\/blog\/?p=3334","url_meta":{"origin":3223,"position":5},"title":"Wacom Service Automatic Restart Tool","author":"cgmodeler","date":"October 17, 2021","format":false,"excerpt":"So you've been having issues with your wacom tablet (Intuos, Cintiq, Grapphire) :P and it stops being pressure sensitive or it just stops displaying the cursor altogether. Then the only solution is to open Services.msc and stop\/start the wacom service manually? I made a tool that does it automatically for\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/10\/imagen-10.png?fit=978%2C511&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/10\/imagen-10.png?fit=978%2C511&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/10\/imagen-10.png?fit=978%2C511&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/10\/imagen-10.png?fit=978%2C511&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3223"}],"version-history":[{"count":1,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3223\/revisions"}],"predecessor-version":[{"id":3225,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3223\/revisions\/3225"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/3224"}],"wp:attachment":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}