Based on your post I tried again to install the Grafana renderer plugin.
Eventually I managed to run chrome but I first had to set the executable bit on the binary (trivial with chmod +x chrome) and then I had to install some missing shared libraries:
# apt install libxcomposite1
# apt install libxcursor1
# apt install libxdamage1
# apt install libxi6
# apt install libxtst6
# apt install libxrandr2
# apt install libpangocairo-1.0-0
# apt install libatk-bridge2.0-0
# apt install libgtk-3-0
Now I am able to run chrome and display the version:
#./chrome --version
Chromium 70.0.3508.0
However, after restarting the Grafana service, I still get a server error. In the logs I see the following error:
Rendering failed: Error: Failed to launch chrome!
Received signal 11 SEGV_MAPERR 000000000000
#0 0x000001ea2160 <unknown>
#1 0x000001ea20d6 <unknown>
#2 0x000075ba3130 <unknown>
#3 0x000001e93970 <unknown>
#4 0x0000010c6f66 <unknown>
#5 0x0000010c54ec <unknown>
#6 0x000000ee850e <unknown>
#7 0x000000ee6798 <unknown>
#8 0x0000011264c6 <unknown>
#9 0x000000ee637c <unknown>
#10 0x000000ee8e86 <unknown>
#11 0x0000048c0ff0 <unknown>
#12 0x000001b8b4d0 <unknown>
#13 0x000001baf032 <unknown>
#14 0x000001b8a0fc <unknown>
#15 0x00000423aa2e <unknown>
#16 0x00000423aa70 <unknown>
#17 0x000001badd2e <unknown>
#18 0x0000008d9966 ChromeMain
#19 0x000075b8d718 __libc_start_main
[end of stack trace]
Calling _exit(1). Core file will not be generated.
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
So I’m not there yet…
It appears that when running chrome without arguments, it tries to invoke other binaries which are also ELF (so unusable for ARM architecture). The first one is nacl_helper_bootstrap:
# ./chrome --no-sandbox
/var/lib/grafana/plugins/grafana-image-renderer/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/nacl_helper_bootstrap: 1: /var/lib/grafana/plugins/grafana-image-renderer/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/nacl_helper_bootstrap: ELF: not found
/var/lib/grafana/plugins/grafana-image-renderer/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/nacl_helper_bootstrap: 2: /var/lib/grafana/plugins/grafana-image-renderer/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/nacl_helper_bootstrap: Syntax error: "(" unexpected
[23041:23041:1202/224016.893634:ERROR:nacl_fork_delegate_linux.cc(314)] Bad NaCl helper startup ack (0 bytes)
(chrome:23039): Gtk-WARNING **: 22:40:16.899: cannot open display:
By the way, running ./chrome --headless --no-sandbox also yields the same stack trace:
# ./chrome --headless --no-sandbox
Received signal 11 SEGV_MAPERR 000000000000
#0 0x000001e48160 <unknown>
#1 0x000001e480d6 <unknown>
#2 0x000075b59130 <unknown>
#3 0x000001e39970 <unknown>
#4 0x00000106cf66 <unknown>
#5 0x00000106b4ec <unknown>
#6 0x000000e8e50e <unknown>
#7 0x000000e8c798 <unknown>
#8 0x0000010cc4c6 <unknown>
#9 0x000000e8c37c <unknown>
#10 0x000000e8ee86 <unknown>
#11 0x000004866ff0 <unknown>
#12 0x000001b314d0 <unknown>
#13 0x000001b55032 <unknown>
#14 0x000001b300fc <unknown>
#15 0x0000041e0a2e <unknown>
#16 0x0000041e0a70 <unknown>
#17 0x000001b53d2e <unknown>
#18 0x00000087f966 ChromeMain
#19 0x000075b43718 __libc_start_main
[end of stack trace]
Calling _exit(1). Core file will not be generated.