Hello,
I have recently set up Nextcloud on my server. Everything was going well until i went to log in and it gave me an error. Initially the error stated the server was in maintenance mode. I added the line ‘maintenance’ => false (there wasnt an entry for maintenance) to config.php. The error then changed to “Your data directory is invalid, Ensure there is a file called “.ocdata” in the root of the data directory.” Now when I checked the data directory the user sub directories were gone!
The only thing i have done recently is enable memcache.local, enable cron and set up crontab ( php -f /var/www/nextcloud/cron.php) but had successfully logged in since setting this up. I have no clue as to where to start looking to fix this. Any pointers?
Thanks