# Wrong private key for encryption-app

**URL:** <https://help.nextcloud.com/t/wrong-private-key-for-encryption-app/57048>\
**Category:** ℹ️ Support\
**Created:** [July 22, 2019, 5:13pm UTC](https://help.nextcloud.com/t/wrong-private-key-for-encryption-app/57048 "2019-07-22T17:13:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon16242950](https://help.nextcloud.com/letter_avatar/anon16242950/32/6_449c533f586939b6e5f246632a46421f.png) [@anon16242950](https://help.nextcloud.com/u/anon16242950)\
**Post date:** [July 22, 2019, 5:13pm UTC](https://help.nextcloud.com/t/wrong-private-key-for-encryption-app/57048/1 "2019-07-22T17:13:13Z")

</div>

Hello,  
i search for this issue and i found this thread

> [@Wrong private Key](https://help.nextcloud.com/t/wrong-private-key/24961):
>
> Nextcloud version (eg, 10.0.2): 12.0.4 Operating system and version (eg, Ubuntu 16.04): 16.04.3 LTS Apache or nginx version (eg, Apache 2.4.25): PHP version (eg, 5.6): 7.0.22 Is this the first time you’ve seen this error?: NO Can you reliably replicate it? (If so, please outline steps): The issue you are facing: I would enable encryption on my cloud. But I doesn’t work. I get, every time I enable the default encryption module, a message that the private key is wrong. On my testcloud I …

but it is not helpfully for me.

I have the same issue. Only i have moved the storage path and now i become a message  
“wrong private key for encryption-app”.  
So, now i go to my settings → Security and look for the wrong password. I saw this baseencryption password and i would like to create a new one. But it doesn’t work.

Please can anyone help me?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![nephilim](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nephilim/32/2760_2.png) [@nephilim](https://help.nextcloud.com/u/nephilim)\
**Post date:** [July 23, 2019, 4:19am UTC](https://help.nextcloud.com/t/wrong-private-key-for-encryption-app/57048/2 "2019-07-23T04:19:37Z")

</div>

Are you aware oft this?:

> [@HowTo: Change / Move data directory after installation](https://help.nextcloud.com/t/howto-change-move-data-directory-after-installation/17170):
>
> > **Snap/Docker/VM users click here!**
> >
> > Note that this HowTo does not apply to Nextcloud containers/appliances or the official Nextcloud VM from \<a href="https://www.hanssonit.se/nextcloud-vm/" rel="noopener nofollow ugc"\>Hansson IT\</a\>. If you use Nextcloud Snap, follow their official simple instructions: \<a href="https://github.com/nextcloud/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition" class="inline-onebox"\>Change …

Maybe there is one solution in it for you. But note, moving a data directory after installation is not supported.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 10:08am UTC](https://help.nextcloud.com/t/wrong-private-key-for-encryption-app/57048/3 "2024-12-04T10:08:31Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 3:21pm UTC](https://help.nextcloud.com/t/wrong-private-key-for-encryption-app/57048/4 "2024-12-11T15:21:36Z")

</div>


