After a fresh installation of NC20 i am not able to get rid of the following Security & Setup warning:
It was not possible to execute the cron job via CLI. The following technical errors have appeared:
Your data directory is invalid
Ensure there is a file called “.ocdata” in the root of the data directory.
I am not sure what the implication of this error is, as everything seems to work so far.
I am also not sure on how to replicate this error but think that it might have todo with permission of either the data direcotry or the file “.ocdata” itself.
My data directory is mounted via a Synology NFS at startup via /etc/fstab:
192.168.1.29:/volume1/12_Nextclouddata /mnt/12_Nextclouddata nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
/mnt/12_Nextclouddata does have “777”-Permissions
/mnt/12_Nextclouddata/.ocdata does have “777”-Permissions
(i set them to 777 on purpose for testing reasons and will revert them to 755 as soon as i got rid of the error)
I also did open the file with nano and it is empty. But thats how it should be as far as i read in multiple forums.
Additional information on my Nextcloud installtion:
Nextcloud version (eg, 18.0.2): fresh installtion of NC 20.0.0
Operating system and version (eg, Ubuntu 20.04): Unbuntu 20.04 within Proxmox LXC
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 7.1):7.4.3
I tried to find a similar issue here and on google ofc and found the following thread which is suggesting to get rid of the error by modifiing a nextcloud file but i am not sure if this is the way to go tbh.
Simlar Topic: Write errors for nfs mount
Any help would be appreciated.