Skip to content

InvalidArgumentException - Not Working #20

@yward

Description

@yward

The commands do not work, similar to issue #9

The commands were created correctly under www-data user, however they generate the following error:

InvalidArgumentException: Chat command failed [Code: 1]: php /var/www/html/occ talk:poll 'somecode' 'SomeUsername' 'hello world yes no'

    /var/www/html/apps/spreed/lib/Chat/Command/ShellExecutor.php - line 57:

    OCA\Talk\Chat\Command\ShellExecutor->wrapExec()

    /var/www/html/apps/spreed/lib/Chat/Command/Executor.php - line 208:

    OCA\Talk\Chat\Command\ShellExecutor->execShell()

    /var/www/html/apps/spreed/lib/Chat/Command/Executor.php - line 109:

    OCA\Talk\Chat\Command\Executor->execShell()

    /var/www/html/apps/spreed/lib/Chat/Command/Listener.php - line 72:

    OCA\Talk\Chat\Command\Executor->exec()

    /var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 251:

    OCA\Talk\Chat\Command\Listener::OCA\Talk\Chat\Command\{closure}("*** sensiti ... *")

    /var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 73:

    Symfony\Component\EventDispatcher\EventDispatcher->callListeners()

    /var/www/html/lib/private/EventDispatcher/EventDispatcher.php - line 86:

    Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

    /var/www/html/apps/spreed/lib/Chat/ChatManager.php - line 195:

    OC\EventDispatcher\EventDispatcher->dispatch()

    /var/www/html/apps/spreed/lib/Controller/ChatController.php - line 195:

    OCA\Talk\Chat\ChatManager->sendMessage()

    /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 169:

    OCA\Talk\Controller\ChatController->sendMessage()

    /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 100:

    OC\AppFramework\Http\Dispatcher->executeController()

    /var/www/html/lib/private/AppFramework/App.php - line 152:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/html/lib/private/Route/Router.php - line 309:

    OC\AppFramework\App::main()

    /var/www/html/ocs/v1.php - line 88:

    OC\Route\Router->match()

    /var/www/html/ocs/v2.php - line 24:

    require_once("/var/www/html/ocs/v1.php")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions