Through error when i was restore backup nextcloud server in yunohost


My YunoHost server Configuration

Hardware: core i7 with gigabyte motherboard installed ESXi 6.7.0 update2
**YunoHost version: (stable)
**I have access to my server: through the web admin | direct access via keyboard/screen via ESXi web panel | and through Putty.
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?: no

Description of my issue:

I backed up my server just a few days ago, through this error when I restored this backup. I can’t find any way to solve this error or can’t understand the issue. I couldn’t find much online that actually worked so I was hoping somebody here to help me to solve this issue.


Your data directory is invalid Ensure there is a file called “.ocdata” in the root of the data directory. Cannot create “data” directory This can usually be fixed by giving the webserver write access to the root directory. See Installation wizard — Nextcloud latest Administration Manual latest documentation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.