Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--rescan = Undefined property: stdClass::$id #242

Open
Aleksey-Maksimov opened this issue May 31, 2024 · 0 comments
Open

--rescan = Undefined property: stdClass::$id #242

Aleksey-Maksimov opened this issue May 31, 2024 · 0 comments

Comments

@Aleksey-Maksimov
Copy link

Hello.

Full scan works without errors:

# icingacli x509 scan --job "My-Networks" --full

Rescanning works with errors:

# icingacli x509 scan --job "My-Networks" --rescan

....
Undefined property: stdClass::$id
#0 /usr/share/icingaweb2/modules/x509/library/X509/Job.php(322): Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}()
#1 /usr/share/icingaweb2/modules/x509/library/X509/Job.php(546): Icinga\Module\X509\Job->updateLastScan()
#2 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(88): Icinga\Module\X509\Job->Icinga\Module\X509\{closure}()
#3 /usr/share/icinga-php/vendor/vendor/react/promise/src/FulfilledPromise.php(28): React\Promise\Promise::React\Promise\{closure}()
#4 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(134): React\Promise\FulfilledPromise->then()
#5 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(168): React\Promise\Promise::React\Promise\{closure}()
#6 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(231): React\Promise\Promise->settle()
#7 /usr/share/icinga-php/vendor/vendor/react/promise/src/FulfilledPromise.php(42): React\Promise\Promise::React\Promise\{closure}()
#8 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(135): React\Promise\FulfilledPromise->done()
#9 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(168): React\Promise\Promise::React\Promise\{closure}()
#10 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(148): React\Promise\Promise->settle()
#11 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(237): React\Promise\Promise->reject()
#12 /usr/share/icinga-php/vendor/vendor/react/socket/src/TimeoutConnector.php(41): React\Promise\Promise::React\Promise\{closure}()
#13 /usr/share/icinga-php/vendor/vendor/react/promise/src/RejectedPromise.php(28): React\Socket\TimeoutConnector->React\Socket\{closure}()
#14 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(134): React\Promise\RejectedPromise->then()
#15 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(168): React\Promise\Promise::React\Promise\{closure}()
#16 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(148): React\Promise\Promise->settle()
#17 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(237): React\Promise\Promise->reject()
#18 /usr/share/icinga-php/vendor/vendor/react/promise/src/RejectedPromise.php(28): React\Promise\Promise::React\Promise\{closure}()
#19 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(134): React\Promise\RejectedPromise->then()
#20 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(168): React\Promise\Promise::React\Promise\{closure}()
#21 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(148): React\Promise\Promise->settle()
#22 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(237): React\Promise\Promise->reject()
#23 /usr/share/icinga-php/vendor/vendor/react/promise/src/RejectedPromise.php(42): React\Promise\Promise::React\Promise\{closure}()
#24 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(135): React\Promise\RejectedPromise->done()
#25 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(168): React\Promise\Promise::React\Promise\{closure}()
#26 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(148): React\Promise\Promise->settle()
#27 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(237): React\Promise\Promise->reject()
#28 /usr/share/icinga-php/vendor/vendor/react/promise/src/RejectedPromise.php(42): React\Promise\Promise::React\Promise\{closure}()
#29 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(135): React\Promise\RejectedPromise->done()
#30 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(168): React\Promise\Promise::React\Promise\{closure}()
#31 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(148): React\Promise\Promise->settle()
#32 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(237): React\Promise\Promise->reject()
#33 /usr/share/icinga-php/vendor/vendor/react/socket/src/TimeoutConnector.php(41): React\Promise\Promise::React\Promise\{closure}()
#34 /usr/share/icinga-php/vendor/vendor/react/promise/src/RejectedPromise.php(28): React\Socket\TimeoutConnector->React\Socket\{closure}()
#35 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(134): React\Promise\RejectedPromise->then()
#36 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(168): React\Promise\Promise::React\Promise\{closure}()
#37 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(148): React\Promise\Promise->settle()
#38 /usr/share/icinga-php/vendor/vendor/react/promise/src/Promise.php(237): React\Promise\Promise->reject()
#39 /usr/share/icinga-php/vendor/vendor/react/socket/src/TcpConnector.php(140): React\Promise\Promise::React\Promise\{closure}()
#40 /usr/share/icinga-php/vendor/vendor/react/event-loop/src/StreamSelectLoop.php(254): React\Socket\TcpConnector->React\Socket\{closure}()
#41 /usr/share/icinga-php/vendor/vendor/react/event-loop/src/StreamSelectLoop.php(213): React\EventLoop\StreamSelectLoop->waitForStreamActivity()
#42 /usr/share/icinga-php/vendor/vendor/react/event-loop/src/Loop.php(55): React\EventLoop\StreamSelectLoop->run()
#43 [internal function]: React\EventLoop\Loop::React\EventLoop\{closure}()
...

Environment

  • Icinga Web 2 version and modules (System - About): 2.12.1

Loaded Libraries
icinga/icinga-php-library 0.13.2
icinga/icinga-php-thirdparty 0.12.1
Loaded Modules
director 1.11.1
grafana 2.0.3
icingadb 1.1.2
incubator 0.22.0
x509 1.3.2

  • Web browser used: Firefox ESR 102.12.0
  • Icinga 2 version used (icinga2 --version): r2.14.2-1
  • PHP version used (php --version): 8.2.18
  • Server operating system and version: Debian 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant