You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After update to Icinga Web 2.9.3 and Icinga 2.13.1-1 the PDF export stopped working. All other exports work.
Also if i try to save config for pdfexport in Chrome field (Chrome headless is run on another hosts) I also get an error.
Error code when creating PDF:
Fatal error: Uncaught ErrorException: Uncaught ErrorException: file_get_contents(/public/css/themes/default.less): failed to open stream: No such file or directory in /usr/share/php/Icinga/Web/StyleSheet.php:185 Stack trace: #0 [internal function]: Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}(2, 'file_get_conten...', '/usr/share/php/...', 185, Array) #1 /usr/share/php/Icinga/Web/StyleSheet.php(185): file_get_contents('/public/css/the...') #2 /usr/share/php/Icinga/Web/StyleSheet.php(124): Icinga\Web\StyleSheet->collect() #3 /usr/share/php/Icinga/Web/StyleSheet.php(208): Icinga\Web\StyleSheet->__construct() #4 /usr/share/icingaweb2/application/layouts/scripts/pdf.phtml(18): Icinga\Web\StyleSheet::forPdf() #5 /usr/share/php/Icinga/Web/View.php(235): include('/usr/share/icin...') #6 /usr/share/icingaweb2/library/vendor/Zend/View/Abstract.php(877): Icinga\Web\View->_run('/usr/share/icin...') #7 /usr/share/icingaweb2/library/vendor/Zend/Layout.php(786): Zend_View_Abstract->render(NULL) #8 /usr/share/ici in /usr/share/icingaweb2/library/vendor/Zend/Controller/Plugin/Broker.php on line 259
Error code when saving config:
Uncaught Error: Call to undefined function GuzzleHttp_idn_uri_convert() in /usr/share/icingaweb2/modules/pdfexport/vendor/guzzlehttp/guzzle/src/Client.php:220
Stack trace:
#0 /usr/share/icingaweb2/modules/pdfexport/vendor/guzzlehttp/guzzle/src/Client.php(155): GuzzleHttp\Client->buildUri(Object(GuzzleHttp\Psr7\Uri), Array) #1 /usr/share/icingaweb2/modules/pdfexport/vendor/guzzlehttp/guzzle/src/Client.php(183): GuzzleHttp\Client->requestAsync('GET', 'http://10.24.34...', Array) #2 /usr/share/icingaweb2/modules/pdfexport/library/Pdfexport/HeadlessChrome.php(553): GuzzleHttp\Client->request('GET', 'http://10.24.34...') #3 /usr/share/icingaweb2/modules/pdfexport/library/Pdfexport/HeadlessChrome.php(502): Icinga\Module\Pdfexport\HeadlessChrome->jsonVersion('IP TO OTHER HOST', 9222) #4 /usr/share/icingaweb2/modules/pdfexport/application/forms/ChromeBinaryForm.php(62): Icinga\Module\Pdfexport\HeadlessChrome->getVersion() #5 /usr/share/icingaweb2/library/vendor/Zend/Validate/Callback.php(159): Icinga\Module\Pdfexport\For
To Reproduce
Steps to reproduce the behavior:
Update Icinga and Icinga Web
Try to export hosts as PDF
Try to change config of PDF export
Expected behavior
A PDF export of the content I chosen is created
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug
After update to Icinga Web 2.9.3 and Icinga 2.13.1-1 the PDF export stopped working. All other exports work.
Also if i try to save config for pdfexport in Chrome field (Chrome headless is run on another hosts) I also get an error.
Error code when creating PDF:
Fatal error: Uncaught ErrorException: Uncaught ErrorException: file_get_contents(/public/css/themes/default.less): failed to open stream: No such file or directory in /usr/share/php/Icinga/Web/StyleSheet.php:185 Stack trace: #0 [internal function]: Icinga\Application\ApplicationBootstrap->Icinga\Application{closure}(2, 'file_get_conten...', '/usr/share/php/...', 185, Array) #1 /usr/share/php/Icinga/Web/StyleSheet.php(185): file_get_contents('/public/css/the...') #2 /usr/share/php/Icinga/Web/StyleSheet.php(124): Icinga\Web\StyleSheet->collect() #3 /usr/share/php/Icinga/Web/StyleSheet.php(208): Icinga\Web\StyleSheet->__construct() #4 /usr/share/icingaweb2/application/layouts/scripts/pdf.phtml(18): Icinga\Web\StyleSheet::forPdf() #5 /usr/share/php/Icinga/Web/View.php(235): include('/usr/share/icin...') #6 /usr/share/icingaweb2/library/vendor/Zend/View/Abstract.php(877): Icinga\Web\View->_run('/usr/share/icin...') #7 /usr/share/icingaweb2/library/vendor/Zend/Layout.php(786): Zend_View_Abstract->render(NULL) #8 /usr/share/ici in /usr/share/icingaweb2/library/vendor/Zend/Controller/Plugin/Broker.php on line 259
Error code when saving config:
Uncaught Error: Call to undefined function GuzzleHttp_idn_uri_convert() in /usr/share/icingaweb2/modules/pdfexport/vendor/guzzlehttp/guzzle/src/Client.php:220
Stack trace:
#0 /usr/share/icingaweb2/modules/pdfexport/vendor/guzzlehttp/guzzle/src/Client.php(155): GuzzleHttp\Client->buildUri(Object(GuzzleHttp\Psr7\Uri), Array)
#1 /usr/share/icingaweb2/modules/pdfexport/vendor/guzzlehttp/guzzle/src/Client.php(183): GuzzleHttp\Client->requestAsync('GET', 'http://10.24.34...', Array)
#2 /usr/share/icingaweb2/modules/pdfexport/library/Pdfexport/HeadlessChrome.php(553): GuzzleHttp\Client->request('GET', 'http://10.24.34...')
#3 /usr/share/icingaweb2/modules/pdfexport/library/Pdfexport/HeadlessChrome.php(502): Icinga\Module\Pdfexport\HeadlessChrome->jsonVersion('IP TO OTHER HOST', 9222)
#4 /usr/share/icingaweb2/modules/pdfexport/application/forms/ChromeBinaryForm.php(62): Icinga\Module\Pdfexport\HeadlessChrome->getVersion()
#5 /usr/share/icingaweb2/library/vendor/Zend/Validate/Callback.php(159): Icinga\Module\Pdfexport\For
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A PDF export of the content I chosen is created
Screenshots
If applicable, add screenshots to help explain your problem.
Your Environment
google-chrome --version
): Google Chrome 92.0.4515.159php --version
): 7.3.29Additional context
Worked great before update.
The text was updated successfully, but these errors were encountered: