Failing to generate pdf from UI (and hence watcher)

reporting

(Manas Paldhe) #1

I am trying to generate pdf of the dashboard that I have.
I am unable to do so both from watcher and UI.

Relevant logs are:
log [23:40:50.939] [debug][esqueue][job][reporting] j6mt1ldd0kzb470804c6vevm - Job created in index .reporting-2017.08.20
log [23:40:50.949] [debug][esqueue][job][reporting] j6mt1ldd0kzb470804c6vevm - Job index refreshed .reporting-2017.08.20
log [23:40:50.950] [debug][reporting] Saved object to process
respons [23:40:50.952] POST /api/reporting/generate/printablePdf?jobParams=(objectType%3Adashboard%2CqueryString%3A'_g%3D(refreshInterval%3A(display%3A%25271%2Bminute%2527%2Cpause%3A!!t%2Csection%3A2%2Cvalue%3A60000)%2Ctime%3A(from%3Anow%252Fw%2Cmode%3Aquick%2Cto%3Anow%252Fw))%26_a%3D(description%3A%2527%2527%2Cfilters%3A!!()%2Coptions%3A(darkTheme%3A!!f)%2Cpanels%3A!!((col%3A1%2Cid%3A%25273ec0c1f0-821a-11e7-bee5-896636b1c3f7%2527%2CpanelIndex%3A1%2Crow%3A1%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3AVideos-Successful%2CpanelIndex%3A2%2Crow%3A1%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3Ac1289e50-72f8-11e7-bd36-b1a6ef7e1347%2CpanelIndex%3A3%2Crow%3A4%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A1%2Cid%3Ad0c01700-7bbb-11e7-bbcf-dfe7bf669536%2CpanelIndex%3A4%2Crow%3A7%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3Ae8f25ff0-8173-11e7-bfa7-730805037e7d%2CpanelIndex%3A5%2Crow%3A7%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization)%2C(col%3A7%2Cid%3Aff3e1910-7bbb-11e7-ba3c-796436034ba2%2CpanelIndex%3A6%2Crow%3A4%2Csize_x%3A6%2Csize_y%3A3%2Ctype%3Avisualization))%2Cquery%3A(query_string%3A(analyze_wildcard%3A!!t%2Cquery%3A%2527*%2527))%2CtimeRestore%3A!!t%2Ctitle%3A%2527Weekly%2Breporting%2Bdashboard%2527%2CuiState%3A(P-1%3A(vis%3A(defaultColors%3A(%25270%2B-%2B100%2527%3A%2527rgb(0%2C104%2C55)%2527)))%2CP-2%3A(vis%3A(defaultColors%3A(%25270%2B-%2B100%2527%3A%2527rgb(0%2C104%2C55)%2527)))%2CP-3%3A(vis%3A(defaultColors%3A(%25270%2B-%2B100%2527%3A%2527rgb(0%2C104%2C55)%2527)))%2CP-4%3A(vis%3A(defaultColors%3A(%25270%2B-%2B100%2527%3A%2527rgb(0%2C104%2C55)%2527)))%2CP-5%3A(vis%3A(defaultColors%3A(%25270%2B-%2B100%2527%3A%2527rgb(0%2C104%2C55)%2527)))%2CP-6%3A(vis%3A(defaultColors%3A(%25270%2B-%2B100%2527%3A%2527rgb(0%2C104%2C55)%2527))))%2CviewMode%3Aview)'%2CsavedObjectId%3A'32296290-825a-11e7-b78e-d5863f1c3a08') 200 73ms - 9.0B

...

log [23:40:54.286] [debug][monitoring-ui] Received Monitoring event data
respons [23:40:54.319] GET /api/reporting/jobs/list_completed_since?since=2017-08-21T23%3A39%3A28.132Z 200 6ms - 9.0B
respons [23:40:54.610] GET /bundles/dfb02f8f6d0cedc009ee5887cc68f1f3.woff 200 3ms - 9.0B
log [23:40:54.644] [debug][phantomConsole][reporting] complete in 13.66ms
log [23:40:54.644] [debug][phantomConsole][reporting] complete in 17.40ms
respons [23:40:54.673] GET /plugins/reporting/styles/reporting-overrides.css 200 6ms - 9.0B
respons [23:40:54.685] POST /es_admin/_mget 200 43ms - 9.0B
respons [23:40:54.760] POST /es_admin/_mget 200 37ms - 9.0B
log [23:40:55.188] [debug][plugin] Checking Elasticsearch version
log [23:40:55.356] [debug][plugin] Checking Elasticsearch version
log [23:40:55.500] [debug][phantomConsole][reporting] complete in 27.84ms
respons [23:40:55.679] POST /elasticsearch/_msearch 200 631ms - 9.0B
log [23:40:55.829] [debug][phantomConsole][reporting] complete in 1.18ms
log [23:40:55.830] [debug][phantomConsole][reporting] complete in 0.14ms
log [23:40:55.831] [debug][phantomConsole][reporting] complete in 0.22ms
log [23:40:55.831] [debug][phantomConsole][reporting] complete in 0.77ms
log [23:40:55.832] [debug][phantomConsole][reporting] complete in 0.41ms
log [23:40:55.832] [debug][phantomConsole][reporting] complete in 0.17ms
respons [23:40:56.442] GET /api/reporting/jobs/list?page=0&all=true 200 11ms - 9.0B
respons [23:40:56.536] GET /api/reporting/jobs/count?all=true 200 6ms - 9.0B
log [23:40:57.181] [debug][monitoring-ui] Sending Monitoring payload to Elasticsearch
log [23:40:57.746] [debug][plugin] Checking Elasticsearch version
log [23:40:57.870] [debug][plugin] Checking Elasticsearch version
log [23:40:58.384] [debug][reporting] Screenshots saved to /var/lib/kibana/screenshot-j6mt1qt70kzb470804d0w9p4.png,/var/lib/kibana/screenshot-j6mt1qvk0kzb470804ef4kk7.png,/var/lib/kibana/screenshot-j6mt1qxi0kzb470804fl0gu7.png,/var/lib/kibana/screenshot-j6mt1qz80kzb47080402t1c6.png,/var/lib/kibana/screenshot-j6mt1r0z0kzb4708041438bp.png,/var/lib/kibana/screenshot-j6mt1r2o0kzb47080424qcil.png
log [23:40:58.385] [debug][reporting] 32296290-825a-11e7-b78e-d5863f1c3a08 -> [{"filepath":"/var/lib/kibana/screenshot-j6mt1qt70kzb470804d0w9p4.png","title":"Total time of videos successfully processed (in seconds)","description":""},{"filepath":"/var/lib/kibana/screenshot-j6mt1qvk0kzb470804ef4kk7.png","title":"Videos Successful","description":""},{"filepath":"/var/lib/kibana/screenshot-j6mt1qxi0kzb470804fl0gu7.png","title":"Count of failed videos","description":""},{"filepath":"/var/lib/kibana/screenshot-j6mt1qz80kzb47080402t1c6.png","title":"User observer latencies","description":""},{"filepath":"/var/lib/kibana/screenshot-j6mt1r0z0kzb4708041438bp.png","title":"Compute latencies","description":""},{"filepath":"/var/lib/kibana/screenshot-j6mt1r2o0kzb47080424qcil.png","title":"Jax latencies","description":""}]
log [23:40:58.426] [warning][reporting] Failed to remove screenshot image: /var/lib/kibana/screenshot-j6mt1qt70kzb470804d0w9p4.png
log [23:40:58.426] [debug][esqueue][reporting][worker] j6mt1ald0kzb470804cq06ni - Failure occurred on job j6mt1ldd0kzb470804c6vevm: Error: ENOENT: no such file or directory, open '/var/lib/kibana/screenshot-j6mt1qt70kzb470804d0w9p4.png'
log [23:40:58.427] [debug][reporting][worker] Printable PDF: Worker error: (j6mt1ldd0kzb470804c6vevm)
log [23:40:58.428] [debug][esqueue][reporting][worker] j6mt1ald0kzb470804cq06ni - Failing job j6mt1ldd0kzb470804c6vevm
respons [23:40:59.221] GET /app/kibana 200 17ms - 9.0B
ops [23:40:59.284] memory: 181.3MB uptime: 0:00:27 load: [5.15 5.14 5.13] delay: 0.360
log [23:40:59.285] [debug][monitoring-ui] Received Monitoring event data

Permissions for kibana in /var/lib/ are:
4 drwxrwxr-x 3 kibana kibana 4096 Aug 14 02:55 kibana


(Manas Paldhe) #2

Both ES and Kibana versions are the same - 5.5.1


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.