# Watcher PDF reporting fails on dockerised 7.17.x

**URL:** <https://discuss.elastic.co/t/watcher-pdf-reporting-fails-on-dockerised-7-17-x/301572>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [April 5, 2022, 1:35am UTC](https://discuss.elastic.co/t/watcher-pdf-reporting-fails-on-dockerised-7-17-x/301572 "2022-04-05T01:35:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cafuego](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cafuego/32/25146_2.png) [@cafuego](https://discuss.elastic.co/u/cafuego)\
**Post date:** [April 5, 2022, 1:35am UTC](https://discuss.elastic.co/t/watcher-pdf-reporting-fails-on-dockerised-7-17-x/301572/1 "2022-04-05T01:35:18Z")

</div>

Since my ELK stack upate from 7.16.2 to 7.17.1 (and 7.17.2 after that) Watcher has been unable to generate PDF reports. I run a dockerised ELK on Amazon EC2- using the Elastic-provided docker images.

When I went to look today what what going on, I found a few dozen core files in /usr/share/kibana.

When I run `./x-pack/plugins/reporting/chromium/headless_shell-linux_arm64/headless_shell ` manually, a core dump is indeed generated, with the trace:

```auto
kibana@kibana:~$ ./x-pack/plugins/reporting/chromium/headless_shell-linux_arm64/headless_shell 
[0405/012747.320882:WARNING:resource_bundle.cc(403)] locale_file_path.empty() for locale 
[0405/012747.321209:FATAL:zygote_host_impl_linux.cc(117)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
#0 0xaaaab0739030 base::debug::CollectStackTrace()
#1 0xaaaab06bb6e4 base::debug::StackTrace::StackTrace()
#2 0xaaaab06cba38 logging::LogMessage::~LogMessage()
#3 0xaaaaaf84f684 content::ZygoteHostImpl::Init()
#4 0xaaaaaf9b2bdc content::ContentMainRunnerImpl::Initialize()
#5 0xaaaaaf9b1440 content::RunContentProcess()
#6 0xaaaaaf9b1554 content::ContentMain()
#7 0xaaaab06b5ac0 headless::HeadlessBrowserMain()
#8 0xaaaab06b5830 headless::HeadlessShellMain()
#9 0xffffa0d22d50 __libc_start_main
#10 0xaaaaae6c89f4 (/usr/share/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_arm64/headless_shell+0x2aee9f3)

Received signal 6
#0 0xaaaab0739030 base::debug::CollectStackTrace()
#1 0xaaaab06bb6e4 base::debug::StackTrace::StackTrace()
#2 0xaaaab0738fb8 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0xffffa11bf668 ([vdso]+0x667)
#4 0xffffa0d35cd8 gsignal
#5 0xffffa0d22a28 abort
#6 0xaaaab07383e0 base::debug::BreakDebugger()
#7 0xaaaab06cbe20 logging::LogMessage::~LogMessage()
#8 0xaaaaaf84f684 content::ZygoteHostImpl::Init()
#9 0xaaaaaf9b2bdc content::ContentMainRunnerImpl::Initialize()
#10 0xaaaaaf9b1440 content::RunContentProcess()
#11 0xaaaaaf9b1554 content::ContentMain()
#12 0xaaaab06b5ac0 headless::HeadlessBrowserMain()
#13 0xaaaab06b5830 headless::HeadlessShellMain()
#14 0xffffa0d22d50 __libc_start_main
#15 0xaaaaae6c89f4 (/usr/share/kibana/x-pack/plugins/reporting/chromium/headless_shell-linux_arm64/headless_shell+0x2aee9f3)
[end of stack trace]
Aborted (core dumped)

```

I am able to avoid that core dump of I add the `--no-sandbox` parameter. How do I ensure Kibana uses that same parameter internally?

Update: RTFM: `xpack.reporting.capture.browser.chromium.disableSandbox`. However, having set that to `true` all I get now is no more core dumps; also still no PDFs in my inbox :-/

Update update: Patience, grasshopper. I have mails now, with the expected PDFs attached. Thanks!

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 25, 2022, 11:25pm UTC](https://discuss.elastic.co/t/watcher-pdf-reporting-fails-on-dockerised-7-17-x/301572/2 "2022-04-25T23:25:29Z")

</div>

Glad you got it sorted. copying @tsullivan for information .

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 23, 2022, 11:25pm UTC](https://discuss.elastic.co/t/watcher-pdf-reporting-fails-on-dockerised-7-17-x/301572/3 "2022-05-23T23:25:33Z")

</div>

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