{"action":"created","issue":{"url":"https://api.github.com/repos/Icinga/icingaweb2-module-x509/issues/22","repository_url":"https://api.github.com/repos/Icinga/icingaweb2-module-x509","labels_url":"https://api.github.com/repos/Icinga/icingaweb2-module-x509/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icingaweb2-module-x509/issues/22/comments","events_url":"https://api.github.com/repos/Icinga/icingaweb2-module-x509/issues/22/events","html_url":"https://github.com/Icinga/icingaweb2-module-x509/issues/22","id":388726843,"node_id":"MDU6SXNzdWUzODg3MjY4NDM=","number":22,"title":"icingacli x509 jobs run fails with: Call to undefined method nextTick()","user":{"login":"slalomsk8er","id":100971,"node_id":"MDQ6VXNlcjEwMDk3MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/100971?v=4","gravatar_id":"","url":"https://api.github.com/users/slalomsk8er","html_url":"https://github.com/slalomsk8er","followers_url":"https://api.github.com/users/slalomsk8er/followers","following_url":"https://api.github.com/users/slalomsk8er/following{/other_user}","gists_url":"https://api.github.com/users/slalomsk8er/gists{/gist_id}","starred_url":"https://api.github.com/users/slalomsk8er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slalomsk8er/subscriptions","organizations_url":"https://api.github.com/users/slalomsk8er/orgs","repos_url":"https://api.github.com/users/slalomsk8er/repos","events_url":"https://api.github.com/users/slalomsk8er/events{/privacy}","received_events_url":"https://api.github.com/users/slalomsk8er/received_events","type":"User","site_admin":false},"labels":[{"id":1137786824,"node_id":"MDU6TGFiZWwxMTM3Nzg2ODI0","url":"https://api.github.com/repos/Icinga/icingaweb2-module-x509/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-07T16:34:37Z","updated_at":"2018-12-10T11:59:07Z","closed_at":null,"author_association":"NONE","body":"<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Expected Behavior\r\nFollowing the documentation to create a `systemd` service results in working x509 jobs.\r\n<!--- If you're describing a bug, tell us what should happen -->\r\n<!--- If you're suggesting a change/improvement, tell us how it should work -->\r\n\r\n## Current Behavior\r\n`icingacli x509 jobs run` fails with the following error message but `sudo -u www-data icingacli x509 scan --job self` works.\r\n```\r\nsudo -u www-data icingacli x509 jobs run\r\nPHP Fatal error:  Uncaught Error: Call to undefined method React\\EventLoop\\StreamSelectLoop::nextTick() in /usr/share/icingaweb2/modules/x509/library/X509/Scheduler.php:30\r\nStack trace:\r\n#0 /usr/share/icingaweb2/modules/x509/application/clicommands/JobsCommand.php(64): Icinga\\Module\\X509\\Scheduler->add('self', '* * * * *', Object(Closure))\r\n#1 /usr/share/php/Icinga/Cli/Loader.php(265): Icinga\\Module\\X509\\Clicommands\\JobsCommand->runAction()\r\n#2 /usr/share/php/Icinga/Application/Cli.php(149): Icinga\\Cli\\Loader->dispatch()\r\n#3 /usr/share/php/Icinga/Application/Cli.php(139): Icinga\\Application\\Cli->dispatchOnce()\r\n#4 /usr/bin/icingacli(7): Icinga\\Application\\Cli->dispatch()\r\n#5 {main}\r\n  thrown in /usr/share/icingaweb2/modules/x509/library/X509/Scheduler.php on line 30\r\n\r\nFatal error: Uncaught Error: Call to undefined method React\\EventLoop\\StreamSelectLoop::nextTick() in /usr/share/icingaweb2/modules/x509/library/X509/Scheduler.php:30\r\nStack trace:\r\n#0 /usr/share/icingaweb2/modules/x509/application/clicommands/JobsCommand.php(64): Icinga\\Module\\X509\\Scheduler->add('self', '* * * * *', Object(Closure))\r\n#1 /usr/share/php/Icinga/Cli/Loader.php(265): Icinga\\Module\\X509\\Clicommands\\JobsCommand->runAction()\r\n#2 /usr/share/php/Icinga/Application/Cli.php(149): Icinga\\Cli\\Loader->dispatch()\r\n#3 /usr/share/php/Icinga/Application/Cli.php(139): Icinga\\Application\\Cli->dispatchOnce()\r\n#4 /usr/bin/icingacli(7): Icinga\\Application\\Cli->dispatch()\r\n#5 {main}\r\n  thrown in /usr/share/icingaweb2/modules/x509/library/X509/Scheduler.php on line 30\r\n\r\n```\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\n\r\n## Possible Solution\r\n<!--- Not obligatory, but suggest a fix/reason for the bug, -->\r\n<!--- or ideas how to implement:  the addition or change -->\r\n\r\n## Steps to Reproduce (for bugs)\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include configuration, logs, etc. to reproduce, if relevant -->\r\n1. create job \r\n\r\noption | value\r\n-- | --\r\nname | self\r\nCIDRs | 127.0.0.1/30\r\nPorts | 443\r\nScheduling | * * * * *\r\n\r\n2. follow instructions to activate `systemd` service\r\n\r\n## Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the problem in -->\r\n* Module version (System - About): \r\n\r\n\r\nName | Version\r\n-- | --\r\nbusinessprocess | 2.1.0\r\ncube | 1.0.1\r\ndirector | master\r\ndoc | 2.6.2\r\ngenerictts | 2.0.0\r\ngraphite | 1.1.0\r\nincubator | v0.1.1\r\nipl | v0.1.1\r\nmonitoring | 2.6.2\r\nreactbundle | v0.4.1\r\nvspheredb | 1.0.3\r\nx509 | 1.0.0\r\n\r\n* Icinga Web 2 version and modules (System - About): 2.6.2\r\n* Icinga 2 version (`icinga2 --version`): r2.10.2-1\r\n* Operating System and version: Debian GNU/Linux 9.6\r\n* Webserver, PHP versions: 7.0.30-0+deb9u1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Icinga/icingaweb2-module-x509/issues/comments/445791382","html_url":"https://github.com/Icinga/icingaweb2-module-x509/issues/22#issuecomment-445791382","issue_url":"https://api.github.com/repos/Icinga/icingaweb2-module-x509/issues/22","id":445791382,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTc5MTM4Mg==","user":{"login":"lippserd","id":1894563,"node_id":"MDQ6VXNlcjE4OTQ1NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1894563?v=4","gravatar_id":"","url":"https://api.github.com/users/lippserd","html_url":"https://github.com/lippserd","followers_url":"https://api.github.com/users/lippserd/followers","following_url":"https://api.github.com/users/lippserd/following{/other_user}","gists_url":"https://api.github.com/users/lippserd/gists{/gist_id}","starred_url":"https://api.github.com/users/lippserd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lippserd/subscriptions","organizations_url":"https://api.github.com/users/lippserd/orgs","repos_url":"https://api.github.com/users/lippserd/repos","events_url":"https://api.github.com/users/lippserd/events{/privacy}","received_events_url":"https://api.github.com/users/lippserd/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T11:59:07Z","updated_at":"2018-12-10T11:59:07Z","author_association":"MEMBER","body":"Hi,\r\n\r\nThanks for the report. I can confirm this. Will be fixed in a second.\r\n\r\nBest,\r\nEric"}}
{"actor":{"display_login":"lippserd"}}