GithubHelp home page GithubHelp logo

files_notify_redis's People

Contributors

icewind1991 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

files_notify_redis's Issues

move file request

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...')

can it be used for external storage ?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.