What is the .ocdata file used for?

ERROR INDEX Exception: The requested uri(/data/.ocdata) cannot be processed by the script ‘/nextcloud/index.php’)

/var/www/html/nextcloud/lib/base.php - line 1006:


/var/www/html/nextcloud/index.php - line 36:


what is the .ocdata file used for?
what should I do, there is no answer on the media?
(sorry I’m french!!)

You can have a disk that is mounted in your filesystem, e.g.:
And under this path are all the files/folder mounted from this drive. E.g. if that is the Nextcloud data folder, there is at least the .ocdata file.
If the disk is unmounted, there is still the
folder which is empty. Now Nextcloud could think, that suddenly all the files were deleted. For that reason, if there isn’t the .ocdata file, it knows that something is wrong and it doesn’t see the real data folder.


any disk that is mounted in my filesystem!!!

How are we supposed to know?

I just pointed out the idea behind this .ocdata file. We don’t know what you did, what system you use, if you already installed Nextcloud, if it is still the install process, …

I have just installed nextcloud 27 (which works very well) on a machine running brand new Debian 12. No doubt the tutorial I followed contains some errors?!
the error itself doesn’t worry me

the problem is fixed with update 27.1.4 RC1

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