Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Puppeteer: Screenshots PhantomJS Alternative

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.4k

Puppeteer: Screenshots PhantomJS Alternative

Scheduled Pinned Locked Moved Tester
screenshotsheadlessbrowserpuppeteerphantomjsscreenshotwebsite
245 Posts 23 Posters 43.7k Views 17 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #185

    @foxriver76 ja, fand ich auch, hab noch ein Problem, denke das kann auch am Docker liegen.. ? der kann irgendwie Chrome nicht starten oder hat n Problem mit der sandbox.. ??

    2023-03-19 11:05:50.634  - info: puppeteer.0 (8448) starting. Version 0.2.7 in /opt/iobroker/node_modules/iobroker.puppeteer, node: v16.19.1, js-controller: 4.0.24
    2023-03-19 11:05:50.634  - info: puppeteer.0 (8448) starting. Version 0.2.7 in /opt/iobroker/node_modules/iobroker.puppeteer, node: v16.19.1, js-controller: 4.0.24
    2023-03-19 11:05:52.762  - error: puppeteer.0 (8448) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
    2023-03-19 11:05:52.762  - error: puppeteer.0 (8448) unhandled promise rejection: Failed to launch the browser process!
    [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
    #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
    #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
    #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
    #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
    #5 0x55ab2201e780 content::RunContentProcess()
    #6 0x55ab2201eb86 content::ContentMain()
    #7 0x55ab225f5259 headless::HeadlessShellMain()
    #8 0x55ab1e7d9255 ChromeMain
    #9 0x7f64f225bd0a __libc_start_main
    #10 0x55ab1e7d902a _start
    
    
    
    TROUBLESHOOTING: https://pptr.dev/troubleshooting
    
    2023-03-19 11:05:52.763  - error: puppeteer.0 (8448) Error: Failed to launch the browser process!
    [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
    #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
    #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
    #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
    #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
    #5 0x55ab2201e780 content::RunContentProcess()
    #6 0x55ab2201eb86 content::ContentMain()
    #7 0x55ab225f5259 headless::HeadlessShellMain()
    #8 0x55ab1e7d9255 ChromeMain
    #9 0x7f64f225bd0a __libc_start_main
    #10 0x55ab1e7d902a _start
    
    
    
    TROUBLESHOOTING: https://pptr.dev/troubleshooting
    
       at onClose (/opt/iobroker/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:302:20)
       at Interface.<anonymous> (/opt/iobroker/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:290:24)
       at Interface.emit (node:events:525:35)
       at Interface.close (node:readline:590:8)
       at Socket.onend (node:readline:280:10)
       at Socket.emit (node:events:525:35)
       at endReadableNT (node:internal/streams/readable:1358:12)
       at processTicksAndRejections (node:internal/process/task_queues:83:21)
    2023-03-19 11:05:52.764  - error: puppeteer.0 (8448) Failed to launch the browser process!
    [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
    #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
    #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
    #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
    #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
    #5 0x55ab2201e780 content::RunContentProcess()
    #6 0x55ab2201eb86 content::ContentMain()
    #7 0x55ab225f5259 headless::HeadlessShellMain()
    #8 0x55ab1e7d9255 ChromeMain
    #9 0x7f64f225bd0a __libc_start_main
    #10 0x55ab1e7d902a _start
    
    
    
    TROUBLESHOOTING: https://pptr.dev/troubleshooting
    
    2023-03-19 11:05:52.767  - info: puppeteer.0 (8448) terminating
    2023-03-19 11:05:52.768  - warn: puppeteer.0 (8448) Terminated (UNCAUGHT_EXCEPTION): Without reason
    2023-03-19 11:05:53.311  - error: host.iobroker instance system.adapter.puppeteer.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
    2023-03-19 11:05:53.312  - info: host.iobroker Restart adapter system.adapter.puppeteer.0 because enabled
    2023-03-19 11:05:52.762  - error: puppeteer.0 (8448) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
    2023-03-19 11:05:52.762  - error: puppeteer.0 (8448) unhandled promise rejection: Failed to launch the browser process!
    [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
    #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
    #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
    #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
    #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
    #5 0x55ab2201e780 content::RunContentProcess()
    #6 0x55ab2201eb86 content::ContentMain()
    #7 0x55ab225f5259 headless::HeadlessShellMain()
    #8 0x55ab1e7d9255 ChromeMain
    #9 0x7f64f225bd0a __libc_start_main
    #10 0x55ab1e7d902a _start
    
    
    
    TROUBLESHOOTING: https://pptr.dev/troubleshooting
    
    2023-03-19 11:05:52.763  - error: puppeteer.0 (8448) Error: Failed to launch the browser process!
    [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
    #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
    #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
    #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
    #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
    #5 0x55ab2201e780 content::RunContentProcess()
    #6 0x55ab2201eb86 content::ContentMain()
    #7 0x55ab225f5259 headless::HeadlessShellMain()
    #8 0x55ab1e7d9255 ChromeMain
    #9 0x7f64f225bd0a __libc_start_main
    #10 0x55ab1e7d902a _start
    
    
    
    TROUBLESHOOTING: https://pptr.dev/troubleshooting
    
       at onClose (/opt/iobroker/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:302:20)
       at Interface.<anonymous> (/opt/iobroker/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:290:24)
       at Interface.emit (node:events:525:35)
       at Interface.close (node:readline:590:8)
       at Socket.onend (node:readline:280:10)
       at Socket.emit (node:events:525:35)
       at endReadableNT (node:internal/streams/readable:1358:12)
       at processTicksAndRejections (node:internal/process/task_queues:83:21)
    2023-03-19 11:05:52.764  - error: puppeteer.0 (8448) Failed to launch the browser process!
    [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
    #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
    #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
    #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
    #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
    #5 0x55ab2201e780 content::RunContentProcess()
    #6 0x55ab2201eb86 content::ContentMain()
    #7 0x55ab225f5259 headless::HeadlessShellMain()
    #8 0x55ab1e7d9255 ChromeMain
    #9 0x7f64f225bd0a __libc_start_main
    #10 0x55ab1e7d902a _start
    
    
    
    TROUBLESHOOTING: https://pptr.dev/troubleshooting
    
    2023-03-19 11:05:52.767  - info: puppeteer.0 (8448) terminating
    2023-03-19 11:05:52.768  - warn: puppeteer.0 (8448) Terminated (UNCAUGHT_EXCEPTION): Without reason
    2023-03-19 11:05:53.311  - error: host.iobroker instance system.adapter.puppeteer.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
    2023-03-19 11:05:53.312  - info: host.iobroker Restart adapter system.adapter.puppeteer.0 because enabled
    

    foxriver76F 1 Reply Last reply
    0
    • ? A Former User

      @foxriver76 ja, fand ich auch, hab noch ein Problem, denke das kann auch am Docker liegen.. ? der kann irgendwie Chrome nicht starten oder hat n Problem mit der sandbox.. ??

      2023-03-19 11:05:50.634  - info: puppeteer.0 (8448) starting. Version 0.2.7 in /opt/iobroker/node_modules/iobroker.puppeteer, node: v16.19.1, js-controller: 4.0.24
      2023-03-19 11:05:50.634  - info: puppeteer.0 (8448) starting. Version 0.2.7 in /opt/iobroker/node_modules/iobroker.puppeteer, node: v16.19.1, js-controller: 4.0.24
      2023-03-19 11:05:52.762  - error: puppeteer.0 (8448) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      2023-03-19 11:05:52.762  - error: puppeteer.0 (8448) unhandled promise rejection: Failed to launch the browser process!
      [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
      #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
      #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
      #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
      #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
      #5 0x55ab2201e780 content::RunContentProcess()
      #6 0x55ab2201eb86 content::ContentMain()
      #7 0x55ab225f5259 headless::HeadlessShellMain()
      #8 0x55ab1e7d9255 ChromeMain
      #9 0x7f64f225bd0a __libc_start_main
      #10 0x55ab1e7d902a _start
      
      
      
      TROUBLESHOOTING: https://pptr.dev/troubleshooting
      
      2023-03-19 11:05:52.763  - error: puppeteer.0 (8448) Error: Failed to launch the browser process!
      [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
      #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
      #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
      #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
      #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
      #5 0x55ab2201e780 content::RunContentProcess()
      #6 0x55ab2201eb86 content::ContentMain()
      #7 0x55ab225f5259 headless::HeadlessShellMain()
      #8 0x55ab1e7d9255 ChromeMain
      #9 0x7f64f225bd0a __libc_start_main
      #10 0x55ab1e7d902a _start
      
      
      
      TROUBLESHOOTING: https://pptr.dev/troubleshooting
      
         at onClose (/opt/iobroker/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:302:20)
         at Interface.<anonymous> (/opt/iobroker/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:290:24)
         at Interface.emit (node:events:525:35)
         at Interface.close (node:readline:590:8)
         at Socket.onend (node:readline:280:10)
         at Socket.emit (node:events:525:35)
         at endReadableNT (node:internal/streams/readable:1358:12)
         at processTicksAndRejections (node:internal/process/task_queues:83:21)
      2023-03-19 11:05:52.764  - error: puppeteer.0 (8448) Failed to launch the browser process!
      [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
      #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
      #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
      #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
      #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
      #5 0x55ab2201e780 content::RunContentProcess()
      #6 0x55ab2201eb86 content::ContentMain()
      #7 0x55ab225f5259 headless::HeadlessShellMain()
      #8 0x55ab1e7d9255 ChromeMain
      #9 0x7f64f225bd0a __libc_start_main
      #10 0x55ab1e7d902a _start
      
      
      
      TROUBLESHOOTING: https://pptr.dev/troubleshooting
      
      2023-03-19 11:05:52.767  - info: puppeteer.0 (8448) terminating
      2023-03-19 11:05:52.768  - warn: puppeteer.0 (8448) Terminated (UNCAUGHT_EXCEPTION): Without reason
      2023-03-19 11:05:53.311  - error: host.iobroker instance system.adapter.puppeteer.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2023-03-19 11:05:53.312  - info: host.iobroker Restart adapter system.adapter.puppeteer.0 because enabled
      2023-03-19 11:05:52.762  - error: puppeteer.0 (8448) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      2023-03-19 11:05:52.762  - error: puppeteer.0 (8448) unhandled promise rejection: Failed to launch the browser process!
      [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
      #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
      #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
      #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
      #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
      #5 0x55ab2201e780 content::RunContentProcess()
      #6 0x55ab2201eb86 content::ContentMain()
      #7 0x55ab225f5259 headless::HeadlessShellMain()
      #8 0x55ab1e7d9255 ChromeMain
      #9 0x7f64f225bd0a __libc_start_main
      #10 0x55ab1e7d902a _start
      
      
      
      TROUBLESHOOTING: https://pptr.dev/troubleshooting
      
      2023-03-19 11:05:52.763  - error: puppeteer.0 (8448) Error: Failed to launch the browser process!
      [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
      #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
      #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
      #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
      #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
      #5 0x55ab2201e780 content::RunContentProcess()
      #6 0x55ab2201eb86 content::ContentMain()
      #7 0x55ab225f5259 headless::HeadlessShellMain()
      #8 0x55ab1e7d9255 ChromeMain
      #9 0x7f64f225bd0a __libc_start_main
      #10 0x55ab1e7d902a _start
      
      
      
      TROUBLESHOOTING: https://pptr.dev/troubleshooting
      
         at onClose (/opt/iobroker/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:302:20)
         at Interface.<anonymous> (/opt/iobroker/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:290:24)
         at Interface.emit (node:events:525:35)
         at Interface.close (node:readline:590:8)
         at Socket.onend (node:readline:280:10)
         at Socket.emit (node:events:525:35)
         at endReadableNT (node:internal/streams/readable:1358:12)
         at processTicksAndRejections (node:internal/process/task_queues:83:21)
      2023-03-19 11:05:52.764  - error: puppeteer.0 (8448) Failed to launch the browser process!
      [0319/110552.557613:FATAL:zygote_host_impl_linux.cc(127)] 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 0x55ab22b4c7d2 base::debug::CollectStackTrace()
      #1 0x55ab22aac373 base::debug::StackTrace::StackTrace()
      #2 0x55ab22aa92d8 logging::LogMessage::~LogMessage()
      #3 0x55ab2130cd56 content::ZygoteHostImpl::Init()
      #4 0x55ab2202113c content::ContentMainRunnerImpl::Initialize()
      #5 0x55ab2201e780 content::RunContentProcess()
      #6 0x55ab2201eb86 content::ContentMain()
      #7 0x55ab225f5259 headless::HeadlessShellMain()
      #8 0x55ab1e7d9255 ChromeMain
      #9 0x7f64f225bd0a __libc_start_main
      #10 0x55ab1e7d902a _start
      
      
      
      TROUBLESHOOTING: https://pptr.dev/troubleshooting
      
      2023-03-19 11:05:52.767  - info: puppeteer.0 (8448) terminating
      2023-03-19 11:05:52.768  - warn: puppeteer.0 (8448) Terminated (UNCAUGHT_EXCEPTION): Without reason
      2023-03-19 11:05:53.311  - error: host.iobroker instance system.adapter.puppeteer.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      2023-03-19 11:05:53.312  - info: host.iobroker Restart adapter system.adapter.puppeteer.0 because enabled
      

      foxriver76F Offline
      foxriver76F Offline
      foxriver76
      Developer
      wrote on last edited by
      #186

      @ilovegym Probier mal bitte das im Container https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#recommended-enable-user-namespace-cloning

      Videotutorials & mehr

      Hier könnt ihr mich unterstützen.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #187

        @foxriver76

        Hi,
        Hat leider nicht funktioniert, Variante a sagt den Datenpunkt in proc/sys gibts nicht, und bei Variante b find ich die chrome_sandbox nicht.. hmm

        Hat noch einer den Adapter im Docker laufen?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Marty56
          wrote on last edited by
          #188

          Puppender stürzt bei mir auch ab, weil der Adapter wohl auch den Browser nicht starten kann.

          OS: Debian
          Node:v14.21.3
          npm: 6.14.18
          iobroker: aktuelle Versionen vom stable Repro.

          apt update und apt upgrade habe ich gemacht und gebootet.

          2023-04-21 06:39:42.178 - info: puppeteer.0 (2686) starting. Version 0.2.7 in /opt/iobroker/node_modules/iobroker.puppeteer, node: v14.21.3, js-controller: 4.0.24
          2023-04-21 06:39:42.288 - error: puppeteer.0 (2686) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          2023-04-21 06:39:42.290 - error: puppeteer.0 (2686) unhandled promise rejection: Failed to launch the browser process! undefined
          TROUBLESHOOTING: https://pptr.dev/troubleshooting
          2023-04-21 06:39:42.294 - error: puppeteer.0 (2686) Error: Failed to launch the browser process! undefined
          TROUBLESHOOTING: https://pptr.dev/troubleshooting
          at ChildProcess.onClose (/opt/iobroker/node_modules/@puppeteer/browsers/lib/cjs/launch.js:262:24)
          at ChildProcess.emit (events.js:412:35)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
          2023-04-21 06:39:42.295 - error: puppeteer.0 (2686) Failed to launch the browser process! undefined
          TROUBLESHOOTING: https://pptr.dev/troubleshooting
          2023-04-21 06:39:42.310 - info: puppeteer.0 (2686) terminating
          2023-04-21 06:39:42.313 - warn: puppeteer.0 (2686) Terminated (UNCAUGHT_EXCEPTION): Without reason
          2023-04-21 06:39:42.942 - error: host.Thom
          

          HW:NUC (16 GB Ram)
          OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

          Thomas BraunT ? 2 Replies Last reply
          0
          • M Marty56

            Puppender stürzt bei mir auch ab, weil der Adapter wohl auch den Browser nicht starten kann.

            OS: Debian
            Node:v14.21.3
            npm: 6.14.18
            iobroker: aktuelle Versionen vom stable Repro.

            apt update und apt upgrade habe ich gemacht und gebootet.

            2023-04-21 06:39:42.178 - info: puppeteer.0 (2686) starting. Version 0.2.7 in /opt/iobroker/node_modules/iobroker.puppeteer, node: v14.21.3, js-controller: 4.0.24
            2023-04-21 06:39:42.288 - error: puppeteer.0 (2686) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
            2023-04-21 06:39:42.290 - error: puppeteer.0 (2686) unhandled promise rejection: Failed to launch the browser process! undefined
            TROUBLESHOOTING: https://pptr.dev/troubleshooting
            2023-04-21 06:39:42.294 - error: puppeteer.0 (2686) Error: Failed to launch the browser process! undefined
            TROUBLESHOOTING: https://pptr.dev/troubleshooting
            at ChildProcess.onClose (/opt/iobroker/node_modules/@puppeteer/browsers/lib/cjs/launch.js:262:24)
            at ChildProcess.emit (events.js:412:35)
            at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
            2023-04-21 06:39:42.295 - error: puppeteer.0 (2686) Failed to launch the browser process! undefined
            TROUBLESHOOTING: https://pptr.dev/troubleshooting
            2023-04-21 06:39:42.310 - info: puppeteer.0 (2686) terminating
            2023-04-21 06:39:42.313 - warn: puppeteer.0 (2686) Terminated (UNCAUGHT_EXCEPTION): Without reason
            2023-04-21 06:39:42.942 - error: host.Thom
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #189

            @marty56 sagte in Puppeteer: Screenshots PhantomJS Alternative:

            Node:v14.21.3

            Versuchs mal mit aktueller nodejs-Version.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            1 Reply Last reply
            1
            • M Marty56

              Puppender stürzt bei mir auch ab, weil der Adapter wohl auch den Browser nicht starten kann.

              OS: Debian
              Node:v14.21.3
              npm: 6.14.18
              iobroker: aktuelle Versionen vom stable Repro.

              apt update und apt upgrade habe ich gemacht und gebootet.

              2023-04-21 06:39:42.178 - info: puppeteer.0 (2686) starting. Version 0.2.7 in /opt/iobroker/node_modules/iobroker.puppeteer, node: v14.21.3, js-controller: 4.0.24
              2023-04-21 06:39:42.288 - error: puppeteer.0 (2686) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
              2023-04-21 06:39:42.290 - error: puppeteer.0 (2686) unhandled promise rejection: Failed to launch the browser process! undefined
              TROUBLESHOOTING: https://pptr.dev/troubleshooting
              2023-04-21 06:39:42.294 - error: puppeteer.0 (2686) Error: Failed to launch the browser process! undefined
              TROUBLESHOOTING: https://pptr.dev/troubleshooting
              at ChildProcess.onClose (/opt/iobroker/node_modules/@puppeteer/browsers/lib/cjs/launch.js:262:24)
              at ChildProcess.emit (events.js:412:35)
              at Process.ChildProcess._handle.onexit (internal/child_process.js:285:12)
              2023-04-21 06:39:42.295 - error: puppeteer.0 (2686) Failed to launch the browser process! undefined
              TROUBLESHOOTING: https://pptr.dev/troubleshooting
              2023-04-21 06:39:42.310 - info: puppeteer.0 (2686) terminating
              2023-04-21 06:39:42.313 - warn: puppeteer.0 (2686) Terminated (UNCAUGHT_EXCEPTION): Without reason
              2023-04-21 06:39:42.942 - error: host.Thom
              
              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #190

              @marty56 ist das ein Docker oder sowas? Ist Chrome und der Adapter mit allen Depencies installiert, also nur den Adapter alleine geht ja nicht, wie du in der Anleitung gelesen hast.. :)

              M 1 Reply Last reply
              0
              • ? A Former User

                @marty56 ist das ein Docker oder sowas? Ist Chrome und der Adapter mit allen Depencies installiert, also nur den Adapter alleine geht ja nicht, wie du in der Anleitung gelesen hast.. :)

                M Offline
                M Offline
                Marty56
                wrote on last edited by
                #191

                @ilovegym Ich finde keine Anleitung zum Installieren. Im Github readme steht nur, wie man puppeteer benutzt, wenn er installiert ist.

                Wo finde ich das Vorgehen zum Installieren von chrome?

                HW:NUC (16 GB Ram)
                OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

                ? 1 Reply Last reply
                0
                • M Marty56

                  @ilovegym Ich finde keine Anleitung zum Installieren. Im Github readme steht nur, wie man puppeteer benutzt, wenn er installiert ist.

                  Wo finde ich das Vorgehen zum Installieren von chrome?

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #192

                  @marty56 hast recht, habs mit Phantomjs verwechselt.. hier sollten alle depencies mit installiert werden..
                  und das linux ist aufm Raspi installiert, kein Docker?

                  M 1 Reply Last reply
                  0
                  • ? A Former User

                    @marty56 hast recht, habs mit Phantomjs verwechselt.. hier sollten alle depencies mit installiert werden..
                    und das linux ist aufm Raspi installiert, kein Docker?

                    M Offline
                    M Offline
                    Marty56
                    wrote on last edited by
                    #193

                    @ilovegym Aber Dein Hinweis hat mich auf eine Spur gebraucht. Ich habe bemerkt, dass ich unter
                    /opt/iobroker/node_modules/puppeteer kein verstecktes Verzeichnis
                    .local-chromium habe.

                    Keine Ahnung warum. ich habe ganz normal über den Tab Adapter installiert.

                    HW:NUC (16 GB Ram)
                    OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

                    1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @crunchip

                      Ich weiß ja nicht ob die Intention von @foxriver76 ist die libs selber mitzubringen, aber die sind systemweit in den genannten Paketen drin.

                      apt policy libnss3 libnspr4 libgbm1
                      
                      B Offline
                      B Offline
                      bimmi
                      wrote on last edited by
                      #194

                      Danke für den Adapter!

                      Gibt es eine Möglichkeit die Qualität des generierten jpg einzustellen?

                      Gruß Bimmi

                      iobroker in einer Proxmox Umgebung auf einem ausrangierten DELL OptiPlex 3080 24GB i5 in der VM auf SSD. Nutze den slaeh zigbee Router mit Tür- und Temperatursensoren von Aqara, viele Tasmota Devices, Unifi AP, Sprinklecontrol, günstige E-INK Displays, Adguard und noch vieles mehr 😬

                      arteckA 1 Reply Last reply
                      0
                      • B bimmi

                        Danke für den Adapter!

                        Gibt es eine Möglichkeit die Qualität des generierten jpg einzustellen?

                        arteckA Offline
                        arteckA Offline
                        arteck
                        Developer Most Active
                        wrote on last edited by
                        #195

                        @bimmi RTFM https://github.com/foxriver76/ioBroker.puppeteer/blob/main/README.md

                        zigbee hab ich, zwave auch, nuc's genauso und HA auch

                        B 1 Reply Last reply
                        0
                        • arteckA arteck

                          @bimmi RTFM https://github.com/foxriver76/ioBroker.puppeteer/blob/main/README.md

                          B Offline
                          B Offline
                          bimmi
                          wrote on last edited by
                          #196

                          @arteck vielen Dank für das manual! Das kenne ich bereits. Mir ging es hier in dem Beitrag rund um den Adapter für iobroker darum, ob man es ermöglichen kann, den Parameter mit quality zusätzlich zur Clip höhe/breite usw mit übertragen kann.

                          Das ist ja nicht möglich, da ja nur die wichtigsten Parameter eingetragen werden können.

                          Gruß Bimmi

                          iobroker in einer Proxmox Umgebung auf einem ausrangierten DELL OptiPlex 3080 24GB i5 in der VM auf SSD. Nutze den slaeh zigbee Router mit Tür- und Temperatursensoren von Aqara, viele Tasmota Devices, Unifi AP, Sprinklecontrol, günstige E-INK Displays, Adguard und noch vieles mehr 😬

                          foxriver76F 1 Reply Last reply
                          0
                          • B bimmi

                            @arteck vielen Dank für das manual! Das kenne ich bereits. Mir ging es hier in dem Beitrag rund um den Adapter für iobroker darum, ob man es ermöglichen kann, den Parameter mit quality zusätzlich zur Clip höhe/breite usw mit übertragen kann.

                            Das ist ja nicht möglich, da ja nur die wichtigsten Parameter eingetragen werden können.

                            foxriver76F Offline
                            foxriver76F Offline
                            foxriver76
                            Developer
                            wrote on last edited by
                            #197

                            @bimmi Wenn du sendTo nutzt kannst du wie in der ReadMe steht, alle Optionen die in der Puppeteer API verfügbar sind mitgeben.

                            Videotutorials & mehr

                            Hier könnt ihr mich unterstützen.

                            B 1 Reply Last reply
                            0
                            • foxriver76F foxriver76

                              @bimmi Wenn du sendTo nutzt kannst du wie in der ReadMe steht, alle Optionen die in der Puppeteer API verfügbar sind mitgeben.

                              B Offline
                              B Offline
                              bimmi
                              wrote on last edited by
                              #198

                              @foxriver76 ok. Danke. Jetzt verstehe ich.

                              Geht das auch mit blockly? Sento gibt es ja keine Option für puppeteer... 😬

                              Gruß Bimmi

                              iobroker in einer Proxmox Umgebung auf einem ausrangierten DELL OptiPlex 3080 24GB i5 in der VM auf SSD. Nutze den slaeh zigbee Router mit Tür- und Temperatursensoren von Aqara, viele Tasmota Devices, Unifi AP, Sprinklecontrol, günstige E-INK Displays, Adguard und noch vieles mehr 😬

                              foxriver76F 1 Reply Last reply
                              0
                              • B bimmi

                                @foxriver76 ok. Danke. Jetzt verstehe ich.

                                Geht das auch mit blockly? Sento gibt es ja keine Option für puppeteer... 😬

                                foxriver76F Offline
                                foxriver76F Offline
                                foxriver76
                                Developer
                                wrote on last edited by foxriver76
                                #199

                                @bimmi Ich habe keine Ahnung von Blockly, im Zweifel nimmst du einen JavaScript Block und adjustierst das Beispiel aus der ReadMe. Wobei da die ganzen ? raus müssen, die zeigen nur auf, dass eine Property optional ist.

                                Videotutorials & mehr

                                Hier könnt ihr mich unterstützen.

                                B 1 Reply Last reply
                                1
                                • foxriver76F foxriver76

                                  @bimmi Ich habe keine Ahnung von Blockly, im Zweifel nimmst du einen JavaScript Block und adjustierst das Beispiel aus der ReadMe. Wobei da die ganzen ? raus müssen, die zeigen nur auf, dass eine Property optional ist.

                                  B Offline
                                  B Offline
                                  bimmi
                                  wrote on last edited by
                                  #200

                                  @foxriver76 danke! Ich glaube ich hab es gefunden 😂 man lernt nie aus!

                                  Screenshot_2023-07-12-11-03-55-682_com.chrome.beta.jpg

                                  Gruß Bimmi

                                  iobroker in einer Proxmox Umgebung auf einem ausrangierten DELL OptiPlex 3080 24GB i5 in der VM auf SSD. Nutze den slaeh zigbee Router mit Tür- und Temperatursensoren von Aqara, viele Tasmota Devices, Unifi AP, Sprinklecontrol, günstige E-INK Displays, Adguard und noch vieles mehr 😬

                                  B 1 Reply Last reply
                                  0
                                  • B bimmi

                                    @foxriver76 danke! Ich glaube ich hab es gefunden 😂 man lernt nie aus!

                                    Screenshot_2023-07-12-11-03-55-682_com.chrome.beta.jpg

                                    B Offline
                                    B Offline
                                    bimmi
                                    wrote on last edited by bimmi
                                    #201

                                    vielleicht nochmal an die, die bereits ein blockly erstellt hatten...

                                    Sorry, ich blick da bei dem SendTo nicht durch :(

                                    So sieht mein Blockly aus:

                                    a929ba19-55d3-44a1-977f-0676a58b3ade-image.png

                                    diesen Fehler bekomme ich:

                                    bdd0ef66-912a-418e-a6a9-addeee4d56c4-image.png

                                    
                                    javascript.0
                                    2023-07-12 16:21:54.618	error	script.js.EPS.Grundwasser: {'error':{}}
                                    
                                    puppeteer.0
                                    2023-07-12 16:21:54.615	error	Could not take screenshot of "http://192.168.1.10:8082/vis/index.html?EPS#Grundwasser": Expected options.clip.x to be a number but found undefined
                                    

                                    Der Fehler sagt eigentlich, dass es mit dem clip width und height ein Problem gibt. Der Datenpunkt ist eine "number".

                                    Jemand, der das schon in Blockly getan hat vielleicht einen Tipp für mich? :duck:

                                    Auf Debug kommt folgende Message:

                                    puppeteer.0
                                    2023-07-12 17:06:02.091	debug	Message: {"command":"screenshot","message":{"url":"http://192.168.1.10:8082/vis/index.html?EPS#Grundwasser","waitOption":{"waitForTimeout":5000},"clip":"{width:296height:128}","path":"/var/www/html/eps-display/Grundwasser.jpg","quality":100},"from":"system.adapter.javascript.0","callback":{"message":{"url":"http://192.168.1.10:8082/vis/index.html?EPS#Grundwasser","waitOption":{"waitForTimeout":5000},"clip":"{width:296height:128}","path":"/var/www/html/eps-display/Grundwasser.jpg","quality":100},"id":14,"ack":false,"time":1689174362088},"_id":40259716}
                                    

                                    Da fehlt auch m.M. noch ein Trennzeichen wenn er das aus den Textfeldern zusammenstellt...

                                    Gruß Bimmi

                                    iobroker in einer Proxmox Umgebung auf einem ausrangierten DELL OptiPlex 3080 24GB i5 in der VM auf SSD. Nutze den slaeh zigbee Router mit Tür- und Temperatursensoren von Aqara, viele Tasmota Devices, Unifi AP, Sprinklecontrol, günstige E-INK Displays, Adguard und noch vieles mehr 😬

                                    B 1 Reply Last reply
                                    0
                                    • B bimmi

                                      vielleicht nochmal an die, die bereits ein blockly erstellt hatten...

                                      Sorry, ich blick da bei dem SendTo nicht durch :(

                                      So sieht mein Blockly aus:

                                      a929ba19-55d3-44a1-977f-0676a58b3ade-image.png

                                      diesen Fehler bekomme ich:

                                      bdd0ef66-912a-418e-a6a9-addeee4d56c4-image.png

                                      
                                      javascript.0
                                      2023-07-12 16:21:54.618	error	script.js.EPS.Grundwasser: {'error':{}}
                                      
                                      puppeteer.0
                                      2023-07-12 16:21:54.615	error	Could not take screenshot of "http://192.168.1.10:8082/vis/index.html?EPS#Grundwasser": Expected options.clip.x to be a number but found undefined
                                      

                                      Der Fehler sagt eigentlich, dass es mit dem clip width und height ein Problem gibt. Der Datenpunkt ist eine "number".

                                      Jemand, der das schon in Blockly getan hat vielleicht einen Tipp für mich? :duck:

                                      Auf Debug kommt folgende Message:

                                      puppeteer.0
                                      2023-07-12 17:06:02.091	debug	Message: {"command":"screenshot","message":{"url":"http://192.168.1.10:8082/vis/index.html?EPS#Grundwasser","waitOption":{"waitForTimeout":5000},"clip":"{width:296height:128}","path":"/var/www/html/eps-display/Grundwasser.jpg","quality":100},"from":"system.adapter.javascript.0","callback":{"message":{"url":"http://192.168.1.10:8082/vis/index.html?EPS#Grundwasser","waitOption":{"waitForTimeout":5000},"clip":"{width:296height:128}","path":"/var/www/html/eps-display/Grundwasser.jpg","quality":100},"id":14,"ack":false,"time":1689174362088},"_id":40259716}
                                      

                                      Da fehlt auch m.M. noch ein Trennzeichen wenn er das aus den Textfeldern zusammenstellt...

                                      B Offline
                                      B Offline
                                      bimmi
                                      wrote on last edited by
                                      #202

                                      ich bin inzwischen etwas weiter gekommen:

                                      Jetzt bekomme ich zwar keine Fehlermeldung, jedoch schneider mir puppeteer den Screenshot nicht zu.

                                      puppeteer.0
                                      2023-07-12 17:57:40.099	debug	Message: {"command":"screenshot","message":{"url":"http://192.168.1.10:8082/vis/index.html?EPS#Grundwasser","path":"/var/www/html/eps-display/Grundwasser.jpg","quality":100,"waitOptions":{"waitForTimeout":2000},"clip.width":296,"clip.height":128,"clip.x":0,"clip.y":0},"from":"system.adapter.javascript.0","callback":{"message":{"url":"http://192.168.1.10:8082/vis/index.html?EPS#Grundwasser","path":"/var/www/html/eps-display/Grundwasser.jpg","quality":100,"waitOptions":{"waitForTimeout":2000},"clip.width":296,"clip.height":128,"clip.x":0,"clip.y":0},"id":37,"ack":false,"time":1689177460098},"_id":40259743}
                                      

                                      fd1cd368-c2cb-4a4b-9506-c6206e70f6a3-image.png

                                      Gruß Bimmi

                                      iobroker in einer Proxmox Umgebung auf einem ausrangierten DELL OptiPlex 3080 24GB i5 in der VM auf SSD. Nutze den slaeh zigbee Router mit Tür- und Temperatursensoren von Aqara, viele Tasmota Devices, Unifi AP, Sprinklecontrol, günstige E-INK Displays, Adguard und noch vieles mehr 😬

                                      1 Reply Last reply
                                      0
                                      • H horphi

                                        Habs gefunden.
                                        Einfach den Haken bei Ergebniss setzen und dann kann ich das Result abfragen....;-)
                                        ec282ada-bcc2-429d-a02d-b579c7d8143f-grafik.png

                                        B Offline
                                        B Offline
                                        bimmi
                                        wrote on last edited by
                                        #203

                                        @horphi sagte in Puppeteer: Screenshots PhantomJS Alternative:

                                        Habs gefunden.
                                        Einfach den Haken bei Ergebniss setzen und dann kann ich das Result abfragen....;-)
                                        ec282ada-bcc2-429d-a02d-b579c7d8143f-grafik.png

                                        vielleicht könnte ich mir das blockly mal ansehen. ich bekomme diese Blöcke absolut nicht hin :( ich denke das ist genau das was ich suche nur mit dem clip.height und clip.width.

                                        Gruß Bimmi

                                        iobroker in einer Proxmox Umgebung auf einem ausrangierten DELL OptiPlex 3080 24GB i5 in der VM auf SSD. Nutze den slaeh zigbee Router mit Tür- und Temperatursensoren von Aqara, viele Tasmota Devices, Unifi AP, Sprinklecontrol, günstige E-INK Displays, Adguard und noch vieles mehr 😬

                                        1 Reply Last reply
                                        0
                                        • O Online
                                          O Online
                                          oxident
                                          wrote on last edited by
                                          #204

                                          Hättet ihr eine Idee, wie ich das Ergebnis (also den Screenshot) per VIS zur Verfügung stellen könnte?
                                          Nutze Redis ... daher finde ich die erzeugte Datei leider nirgends im FS.

                                          B 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          354

                                          Online

                                          32.5k

                                          Users

                                          81.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe