icewind1991 / files_notify_redis Goto Github PK
View Code? Open in Web Editor NEWProcess filesystem change notifications pushed to redis
Process filesystem change notifications pushed to redis
the move json is formatted as suggested but the closure fails each time, as you can see it expects a Change not a RenameChange
An unhandled exception has been thrown:
TypeError: Argument 1 passed to OCA\FilesNotifyRedis\Command\NotifyCommand::OCA\FilesNotifyRedis\Command{closure}() must be an instance of OCA\FilesNotifyRedis\Change\Change, instance of OCA\FilesNotifyRedis\Change\RenameChange given, called in /var/www/nextcloud/apps/files_notify_redis/lib/Notify/NotifyHandler.php on line 170 and defined in /var/www/nextcloud/apps/files_notify_redis/lib/Command/NotifyCommand.php:108
Stack trace:
#0 /var/www/nextcloud/apps/files_notify_redis/lib/Notify/NotifyHandler.php(170): OCA\FilesNotifyRedis\Command\NotifyCommand->OCA\FilesNotifyRedis\Command{closure}(Object(OCA\FilesNotifyRedis\Change\RenameChange))
#1 /var/www/nextcloud/apps/files_notify_redis/lib/Command/NotifyCommand.php(118): OCA\FilesNotifyRedis\Notify\NotifyHandler->listen(Object(Closure))
#2 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\FilesNotifyRedis\Command\NotifyCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /var/www/nextcloud/core/Command/Base.php(169): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1000): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /var/www/nextcloud/3rdparty/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand(Object(OCA\FilesNotifyRedis\Command\NotifyCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /var/www/nextcloud/3rdparty/symfony/console/Application.php(147): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#9 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
Hi,
I understand that notify redis and files-notify-redis can be used to forward inotify events should nextcloud-data be mounted on a remote filesystem, or maybe should it be shared (not sure about the later one being allowed)
WOuldn't it be possible to use it for a remote (smb, nfs, ...) external storage?
I imagine all the plumbing is (almost?) already there, it's only about how to redistribute events ?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.