-
Notifications
You must be signed in to change notification settings - Fork 24
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
PDF Export didn't work (Chromium headless) #7
Comments
Ensure that pdfexport dependencies are fulfilled, specifically chrome. https://github.com/Icinga/icingaweb2-module-pdfexport/blob/master/doc/02-Installation.md |
Hi Michael, yes, all dependencies are fulfilled! See my comment -> Your Environment -> Dependent module versions But I think I'm not alone: Icinga/icingaweb2-module-pdfexport#7 |
Same here. Using Chromium instead of Chrome but getting the same. |
So chromium dont work. Chrome does. |
Ok, might need further tests then. I couldn't get |
To clarify: I installed Chrome Stable. google-chrome --version |
Same here, with the diffenrence that Debian Stretch is used. |
Yeah, that's the solution (quick and dirty). After setting the symlink everything looks fine |
I think we can close this. Look at: Icinga/icingaweb2-module-pdfexport@2d34431 Now you can edit the binary path to "Google Chrome" in the PDF Export Modul Frontend (Master)! Many thanks to @lippserd -> Thumbs up! |
Describe the bug
If I choose Download -> PDF the following error is shown:
Can't export
#0 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Module\Reporting\Controllers\ReportController->downloadAction()
#1 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch(String)
#2 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#3 /usr/share/php/Icinga/Application/Web.php(300): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
#4 /usr/share/php/Icinga/Application/webrouter.php(104): Icinga\Application\Web->dispatch()
#5 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#6 {main}
Expected behavior
PDF Export should work :-)
Your Environment
icinga2 --version
): r2.10.4-1php --version
): PHP 7.0.33The text was updated successfully, but these errors were encountered: