files_inotify icon indicating copy to clipboard operation
files_inotify copied to clipboard

nextcloud/docker: There are no commands defined in the "files_external" namespace

Open jclaveau opened this issue 3 years ago • 0 comments

After adding php-inotify to the Apache based docker image of nextcloud:

RUN pecl install inotify\
  && echo "extension=inotify.so" > /usr/local/etc/php/conf.d/pecl-php-ext-inotify.ini

I then run (as the apache user) php occ app:install files_inotify and get

files_inotify 0.1.12 installed
files_inotify enabled

But when I run (still as the apache user) php occ files_external:notify -v 5 I get

In Application.php line 604:
                                                                    
  [Symfony\Component\Console\Exception\NamespaceNotFoundException]  
  There are no commands defined in the "files_external" namespace.  
                                                                    

Exception trace:
  at /var/www/html/3rdparty/symfony/console/Application.php:604
 Symfony\Component\Console\Application->findNamespace() at /var/www/html/3rdparty/symfony/console/Application.php:657
 Symfony\Component\Console\Application->find() at /var/www/html/3rdparty/symfony/console/Application.php:237
 Symfony\Component\Console\Application->doRun() at /var/www/html/3rdparty/symfony/console/Application.php:149
 Symfony\Component\Console\Application->run() at /var/www/html/lib/private/Console/Application.php:211
 OC\Console\Application->run() at /var/www/html/console.php:100
 require_once() at /var/www/html/occ:11

jclaveau avatar Oct 16 '22 10:10 jclaveau