Hi, we try to run PDF export feature. We get docker file for export server from examples and have error when try to export.
Error: Failed to export task
at Queue.onJobFailed (/home/pptruser/src/queue.js:277:28)
at Queue.emit (events.js:198:13)
at worker.run.then.catch.e (/home/pptruser/src/queue.js:393:28)
at process._tickCallback (internal/process/next_tick.js:68:7)
Whe look at logs on docker we have follow message:
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/home/pptruser/node_modules/puppeteer/lib/Launcher.js:342:14) at Interface.helper.addEventListener (/home/pptruser/node_modules/puppeteer/lib/Launcher.js:331:50) at Interface.emit (events.js:203:15) at Interface.close (readline.js:397:8) at Socket.onend (readline.js:173:10) at Socket.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1143:12) at process._tickCallback (internal/process/next_tick.js:63:19)
2022-10-07T12:59:53.268Z warn: [Worker@ad0chsli0nfvcjfccgfo0] Job 1/1 for request dfa6bd84-7965-4681-ba7a-6c8bc08bc542 failed after 3 attempts
2022-10-07T12:59:53.271Z error: [Queue@h5tzy5cgbdz73quqpkag3] Error: Failed to launch chrome!
/home/pptruser/node_modules/puppeteer/.local-chromium/linux-662092/chrome-linux/chrome: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directoryTROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/home/pptruser/node_modules/puppeteer/lib/Launcher.js:342:14) at Interface.helper.addEventListener (/home/pptruser/node_modules/puppeteer/lib/Launcher.js:331:50) at Interface.emit (events.js:203:15) at Interface.close (readline.js:397:8) at Socket.onend (readline.js:173:10) at Socket.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1143:12) at process._tickCallback (internal/process/next_tick.js:63:19)
2022-10-07T12:59:53.273Z info: [Queue@h5tzy5cgbdz73quqpkag3] Queue is stopped
2022-10-07T12:59:53.274Z warn: POST request dfa6bd84-7965-4681-ba7a-6c8bc08bc542 failed
2022-10-07T12:59:53.275Z warn: Error: Failed to export task
at Queue.onJobFailed (/home/pptruser/src/queue.js:277:28)
at Queue.emit (events.js:198:13)
at worker.run.then.catch.e (/home/pptruser/src/queue.js:393:28)
at process._tickCallback (internal/process/next_tick.js:68:7)
Can you please help us, maybe we use wrong Docker file (we get it from examples/_shared/server/Dockerfile)?
Thank you.