Directory is not valid

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home users. If you’re running a business, get help on so we can make sure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Remember, the below information may be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Please delete everything above when creating your topic and provide the following:

Nextcloud version (eg, 12.0.2):
Operating system and version (eg, Ubuntu 17.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:


[quote=“alain, post:1, topic:26095”]
[/quote]Nextcloud (par exemple, 12.0.2)

Système d’exploitation et version raspbian stetch
Version Apache2.4.25
Version PHP (php7.1
after having installedl nextcloud automatically testd successfully a week after i had a cut of electricyte alimentation after recovery power i can not accede to nexcloud : message:
yout directory is not valid make sur that the data directory containd a"ocdata"file at its root.can not create the data folder
excuse me I’am 83 yearsold french I’am just capable to copy /pasre in a terminal Iinstalled next cloud on raspbian stretch and stored all on an external drive

Hi Alain,
Have you been able to solve this?
I am having the same issue after a power failure.

Merci bien,