Cannot enable files_inotify

Hi there,
Before begining, sorry for my english, I am french.

I am running Nextcloud on Archlinux, with nginx, php-fpm and mariadb.
Everything seems good, I got no warning in admin panel, but I can’t enable files_inotify to watch my local storage.
I installed inotify-tools, compiled and activated inotify php extension but I still cannot run the application.

I got an error message that says: “This application can not be enabled because it makes the server unstable”.

Log says: “Error PHP Interface ‘OCA\Files_External\Lib\Config\IBackendProvider’ not found at /usr/share/nginx/nextcloud/apps/files_inotify/lib/AppInfo/Application.php#29”

I really did my best but I am unable to find a solution to my problem, and a little help would be welcome!

1 Like

I have the same issue with exactly the same error log.

Server: Ubuntu 12.04, Apache, php 7.0.24 as fast-cgi, mysql, inotify-tools and inotify from pecl

Take a look at this github project for a more robust solution that doesn’t depend on PHP Libs.