Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
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.5k

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

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

Puppeteer: Screenshots PhantomJS Alternative

Geplant Angeheftet Gesperrt Verschoben Tester
screenshotsheadlessbrowserpuppeteerphantomjsscreenshotwebsite
245 Beiträge 23 Kommentatoren 43.0k Aufrufe 17 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • arteckA arteck

    @foxriver76 so weiter gehts
    e6bd6490-6cbf-4990-abca-894829a34c3c-grafik.png

    puppeteer.0
    2022-12-22 11:08:33.619	debug	Write file to "wetterstation.png"
    
    puppeteer.0
    2022-12-22 11:08:32.470	debug	Message: {"command":"screenshot","message":{"url":"https://www.yr.no/en/forecast/graph/2-2860410/Germany/North%20Rhine-Westphalia/D%C3%BCsseldorf%20District/Oberhausen","clip":{"x":0,"y":0,"width":1000,"height":757},"ioBrokerOptions":{"storagePath":"wetterstation.png"},"viewportOptions":{"width":1600,"height":1000}},"from":"system.adapter.javascript.2","callback":{"message":{"url":"https://www.yr.no/en/forecast/graph/2-2860410/Germany/North%20Rhine-Westphalia/D%C3%BCsseldorf%20District/Oberhausen","clip":{"x":0,"y":0,"width":1000,"height":757},"ioBrokerOptions":{"storagePath":"wetterstation.png"},"viewportOptions":{"width":1600,"height":1000}},"id":1,"ack":false,"time":1671703712468},"_id":69097945}
    javascript.2
    2022-12-22 11:14:19.409	info	script.js.80_system.wetter: Sucessfully took screenshot: �PNG   IHDR��T��sRGB��� IDATx���wTW�g�� MT�bD��bCE콠1�X�+ػb7{7�`�b�(��^������0�� ����w�Gv��̝;w޹edB"""""""�S��1@'""""""� Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ�������t"""""""-��������H0@'""""""�Љ��.........
    

    sieht eigentlich gut aus..ich hab das binary gekürzt..

    aber kein file und die datenpunkte sind auch nicht gefüllt

    sendTo('puppeteer.0', 'screenshot', { 
            url: 'https://www.yr.no/en/forecast/graph/2-2860410/Germany/North%20Rhine-Westphalia/D%C3%BCsseldorf%20District/Oberhausen',
            clip: {
                x: 0,
                y: 0,
                width: 1000,
                height: 757
            },
            ioBrokerOptions: {
                storagePath: 'wetterstation.png',
            },
            viewportOptions: {
                width: 1600,
                height: 1000
            }
        }, obj => {
          if (obj.error) {
            log(`Error taking screenshot: ${obj.error.message}`, 'error');
          } else {
            // the binary representation of the image is contained in `obj.result`
            log(`Sucessfully took screenshot: ${obj.result}`);
          }
    });
    

    so rufe ich es auf ..sollte also in /opt/iobroker/iobroker-data/files/0_userdata.0 landen..ist aber nix da

    foxriver76F Offline
    foxriver76F Offline
    foxriver76
    Developer
    schrieb am zuletzt editiert von foxriver76
    #172

    @arteck Siehe:

    https://github.com/foxriver76/ioBroker.puppeteer#how-to

    States dienen nur der Konfiguration, falls du via States (sprich das setzen der url) einen Screenshot erstellen möchtest. Wenn du ausschließlich Messages nutzt können dir die States egal sein.

    Nutzt du eine Redis DB für die Objekte?

    Videotutorials & mehr

    Hier könnt ihr mich unterstützen.

    arteckA 1 Antwort Letzte Antwort
    0
    • foxriver76F foxriver76

      @arteck Siehe:

      https://github.com/foxriver76/ioBroker.puppeteer#how-to

      States dienen nur der Konfiguration, falls du via States (sprich das setzen der url) einen Screenshot erstellen möchtest. Wenn du ausschließlich Messages nutzt können dir die States egal sein.

      Nutzt du eine Redis DB für die Objekte?

      arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      schrieb am zuletzt editiert von
      #173

      @foxriver76 jo Redis

      ich wollte mir nur ein Bild des meteogramms machen und in die Vis pressen

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

      foxriver76F 1 Antwort Letzte Antwort
      0
      • arteckA arteck

        @foxriver76 jo Redis

        ich wollte mir nur ein Bild des meteogramms machen und in die Vis pressen

        foxriver76F Offline
        foxriver76F Offline
        foxriver76
        Developer
        schrieb am zuletzt editiert von
        #174

        @arteck Wenn Objekte in Redis, dann werden Dateien nicht raw auf dem FS abgespeichert, unabhängig vom Adapter. Du solltest diese z. B. im Admin in Dateien unter Benutzerdaten finden.

        Videotutorials & mehr

        Hier könnt ihr mich unterstützen.

        arteckA foxriver76F 2 Antworten Letzte Antwort
        0
        • foxriver76F foxriver76

          @arteck Wenn Objekte in Redis, dann werden Dateien nicht raw auf dem FS abgespeichert, unabhängig vom Adapter. Du solltest diese z. B. im Admin in Dateien unter Benutzerdaten finden.

          arteckA Offline
          arteckA Offline
          arteck
          Developer Most Active
          schrieb am zuletzt editiert von
          #175

          @foxriver76 recht hast du ja

          da wo man es hinschiebt ist es auch
          20aa4f16-ff00-4f1c-9b61-1722141414ad-grafik.png

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

          1 Antwort Letzte Antwort
          0
          • foxriver76F foxriver76

            @arteck Wenn Objekte in Redis, dann werden Dateien nicht raw auf dem FS abgespeichert, unabhängig vom Adapter. Du solltest diese z. B. im Admin in Dateien unter Benutzerdaten finden.

            foxriver76F Offline
            foxriver76F Offline
            foxriver76
            Developer
            schrieb am zuletzt editiert von
            #176

            @foxriver76 Falls du es auf dem FS haben möchtest, kannst du die Option path auf Top Level mitgeben. Ist dann Puppeteer intern abgehandelt: https://pptr.dev/api/puppeteer.screenshotoptions.path

            Videotutorials & mehr

            Hier könnt ihr mich unterstützen.

            arteckA 1 Antwort Letzte Antwort
            0
            • foxriver76F foxriver76

              @foxriver76 Falls du es auf dem FS haben möchtest, kannst du die Option path auf Top Level mitgeben. Ist dann Puppeteer intern abgehandelt: https://pptr.dev/api/puppeteer.screenshotoptions.path

              arteckA Offline
              arteckA Offline
              arteck
              Developer Most Active
              schrieb am zuletzt editiert von arteck
              #177

              @foxriver76 ok

              aber verstehe jetzt nicht die Nutzung der Datenpunkte ??

              wenn ich alle 60 min ein bild haben will.. was nutz ich da.. stehe bissel auf dem Schlauch

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

              foxriver76F 2 Antworten Letzte Antwort
              0
              • arteckA arteck

                @foxriver76 ok

                aber verstehe jetzt nicht die Nutzung der Datenpunkte ??

                wenn ich alle 60 min ein bild haben will.. was nutz ich da.. stehe bissel auf dem Schlauch

                foxriver76F Offline
                foxriver76F Offline
                foxriver76
                Developer
                schrieb am zuletzt editiert von
                #178

                @arteck Wenn du nicht so der "Skript Typ" bist, kannst du einige der oft genutzten Optionen direkt über die Datenpunkte festlegen und dann schreibst du eine url in den url state und ein Screenshot wird erstellt. Das ist etwas angelehnt an die Logik vom Phantom.JS Adapter, soweit ich mich erinnere.

                Mit sendTo hast du deutlich mehr Optionen zur Verfügung und bekommst z. B. auch das Bild direkt im Callback falls du es codetechnsich weiterverarbeiten möchtest.

                Videotutorials & mehr

                Hier könnt ihr mich unterstützen.

                1 Antwort Letzte Antwort
                0
                • arteckA arteck

                  @foxriver76 ok

                  aber verstehe jetzt nicht die Nutzung der Datenpunkte ??

                  wenn ich alle 60 min ein bild haben will.. was nutz ich da.. stehe bissel auf dem Schlauch

                  foxriver76F Offline
                  foxriver76F Offline
                  foxriver76
                  Developer
                  schrieb am zuletzt editiert von
                  #179

                  @arteck Es gibt keine Option, das regelmäßig festzulegen.

                  Sprich du würdest dein Code (entweder setState auf den url State oder dein sendTo) in einen schedule packen der jede Minute triggered oder im Callback von der Funktion die Funktion mit setTimeout in 60 Sekunden erneut aufrufen

                  Videotutorials & mehr

                  Hier könnt ihr mich unterstützen.

                  arteckA 1 Antwort Letzte Antwort
                  0
                  • foxriver76F foxriver76

                    @arteck Es gibt keine Option, das regelmäßig festzulegen.

                    Sprich du würdest dein Code (entweder setState auf den url State oder dein sendTo) in einen schedule packen der jede Minute triggered oder im Callback von der Funktion die Funktion mit setTimeout in 60 Sekunden erneut aufrufen

                    arteckA Offline
                    arteckA Offline
                    arteck
                    Developer Most Active
                    schrieb am zuletzt editiert von arteck
                    #180

                    @foxriver76 ahh ok.. jetzt ja..THX

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

                    1 Antwort Letzte Antwort
                    0
                    • foxriver76F foxriver76
                      Aktuelle Test Version 0.1.0
                      Veröffentlichungsdatum 16.05.2021
                      Github Link https://github.com/foxriver76/ioBroker.puppeteer

                      Hallo zusammen,

                      ich habe vor kurzem einen neuen Adapter geschrieben, der ebenso wie PhantomJS Screenshots von diversen Webseiten machen kann. Hauptmotivation war, dass PhantomJS (nicht Adapter sondern Browser selbst) nicht mehr weiterentwickelt wird. Puppeteer stellt hier eine super Alternative dar um Chrome Browser zu steuern.

                      Der Adapter bringt einen Browser selbst mit, somit muss sich um keine separate Installation gekümmert werden. Bislang arbeitet der Adapter ähnlich wie der PhantomJS Adapter, nur mit States und Messages. Er hat demnach keine Admin UI.

                      Eine Anleitung findet ihr in der README: https://github.com/foxriver76/ioBroker.puppeteer#how-to

                      Mittels Messages habe ich das ganze sehr offen gehalten, so dass jegliche Optionen direkt an die Puppeteer API weitergereicht werden und ihr nicht durch den Adapter limitiert werdet. Siehe https://github.com/foxriver76/ioBroker.puppeteer#messages

                      Der Adapter sollte spätestens morgen im Latest Repository verfügbar sein, bzw. ab sofort per GitHub.

                      Ich freue mich auf Feedback.

                      beste Grüße

                      fox

                      ? Offline
                      ? Offline
                      Ein ehemaliger Benutzer
                      schrieb am zuletzt editiert von
                      #181

                      @foxriver76

                      Hi,

                      Hab die v0.2.6 im Docker mal installiert, leider meckert er beim installieren schon, dass die Version veraltet ist und empfiehlt >19.2 zu installieren..

                      Machst du mal n Update, so funktioniert der Adapter im Docker nicht..?
                      Log kann ich gerne nachreichen

                      foxriver76F 1 Antwort Letzte Antwort
                      0
                      • ? Ein ehemaliger Benutzer

                        @foxriver76

                        Hi,

                        Hab die v0.2.6 im Docker mal installiert, leider meckert er beim installieren schon, dass die Version veraltet ist und empfiehlt >19.2 zu installieren..

                        Machst du mal n Update, so funktioniert der Adapter im Docker nicht..?
                        Log kann ich gerne nachreichen

                        foxriver76F Offline
                        foxriver76F Offline
                        foxriver76
                        Developer
                        schrieb am zuletzt editiert von
                        #182

                        @ilovegym keine Ahnung welche Version du meinst, gerne Log zeigen

                        Videotutorials & mehr

                        Hier könnt ihr mich unterstützen.

                        ? 1 Antwort Letzte Antwort
                        0
                        • foxriver76F foxriver76

                          @ilovegym keine Ahnung welche Version du meinst, gerne Log zeigen

                          ? Offline
                          ? Offline
                          Ein ehemaliger Benutzer
                          schrieb am zuletzt editiert von
                          #183

                          @foxriver76

                          Bin am Tablett mit meinen dicken Fingern.. verwende den buanet Docker mit Node 16
                          hier beim installieren:

                          host.iobroker
                          2023-03-18 21:09:38.495	info	iobroker npm WARN deprecated puppeteer@13.7.0: < 19.2.0 is no longer supported
                          
                          

                          Dann beim starten des Adapter:

                          
                          puppeteer.0
                          2023-03-18 21:10:24.951	error	Error: Failed to launch the browser process![0318/211024.570664: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 0x55aca5667b89 base::debug::CollectStackTrace()#1 0x55aca55cc433 base::debug::StackTrace::StackTrace()#2 0x55aca55df330 logging::LogMessage::~LogMessage()#3 0x55aca35c499b content::ZygoteHostImpl::Init()#4 0x55aca5175372 content::ContentMainRunnerImpl::Initialize()#5 0x55aca5173439 content::RunContentProcess()#6 0x55aca517358e content::ContentMain()#7 0x55aca51ced7a headless::(anonymous namespace)::RunContentMain()#8 0x55aca51cea85 headless::HeadlessShellMain()#9 0x55aca1c323e8 ChromeMain#10 0x7effdda9dd0a __libc_start_main#11 0x55aca1c3222a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/opt/iobroker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20) at Interface.<anonymous> (/opt/iobroker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:231:68) 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)
                          
                          puppeteer.0
                          2023-03-18 21:10:24.950	error	unhandled promise rejection: Failed to launch the browser process![0318/211024.570664: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 0x55aca5667b89 base::debug::CollectStackTrace()#1 0x55aca55cc433 base::debug::StackTrace::StackTrace()#2 0x55aca55df330 logging::LogMessage::~LogMessage()#3 0x55aca35c499b content::ZygoteHostImpl::Init()#4 0x55aca5175372 content::ContentMainRunnerImpl::Initialize()#5 0x55aca5173439 content::RunContentProcess()#6 0x55aca517358e content::ContentMain()#7 0x55aca51ced7a headless::(anonymous namespace)::RunContentMain()#8 0x55aca51cea85 headless::HeadlessShellMain()#9 0x55aca1c323e8 ChromeMain#10 0x7effdda9dd0a __libc_start_main#11 0x55aca1c3222a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
                          
                          
                          foxriver76F F 2 Antworten Letzte Antwort
                          0
                          • ? Ein ehemaliger Benutzer

                            @foxriver76

                            Bin am Tablett mit meinen dicken Fingern.. verwende den buanet Docker mit Node 16
                            hier beim installieren:

                            host.iobroker
                            2023-03-18 21:09:38.495	info	iobroker npm WARN deprecated puppeteer@13.7.0: < 19.2.0 is no longer supported
                            
                            

                            Dann beim starten des Adapter:

                            
                            puppeteer.0
                            2023-03-18 21:10:24.951	error	Error: Failed to launch the browser process![0318/211024.570664: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 0x55aca5667b89 base::debug::CollectStackTrace()#1 0x55aca55cc433 base::debug::StackTrace::StackTrace()#2 0x55aca55df330 logging::LogMessage::~LogMessage()#3 0x55aca35c499b content::ZygoteHostImpl::Init()#4 0x55aca5175372 content::ContentMainRunnerImpl::Initialize()#5 0x55aca5173439 content::RunContentProcess()#6 0x55aca517358e content::ContentMain()#7 0x55aca51ced7a headless::(anonymous namespace)::RunContentMain()#8 0x55aca51cea85 headless::HeadlessShellMain()#9 0x55aca1c323e8 ChromeMain#10 0x7effdda9dd0a __libc_start_main#11 0x55aca1c3222a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md at onClose (/opt/iobroker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:241:20) at Interface.<anonymous> (/opt/iobroker/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:231:68) 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)
                            
                            puppeteer.0
                            2023-03-18 21:10:24.950	error	unhandled promise rejection: Failed to launch the browser process![0318/211024.570664: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 0x55aca5667b89 base::debug::CollectStackTrace()#1 0x55aca55cc433 base::debug::StackTrace::StackTrace()#2 0x55aca55df330 logging::LogMessage::~LogMessage()#3 0x55aca35c499b content::ZygoteHostImpl::Init()#4 0x55aca5175372 content::ContentMainRunnerImpl::Initialize()#5 0x55aca5173439 content::RunContentProcess()#6 0x55aca517358e content::ContentMain()#7 0x55aca51ced7a headless::(anonymous namespace)::RunContentMain()#8 0x55aca51cea85 headless::HeadlessShellMain()#9 0x55aca1c323e8 ChromeMain#10 0x7effdda9dd0a __libc_start_main#11 0x55aca1c3222a _startTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
                            
                            
                            foxriver76F Offline
                            foxriver76F Offline
                            foxriver76
                            Developer
                            schrieb am zuletzt editiert von
                            #184

                            @ilovegym Krass, die sind tatsächlich innerhalb von einem Jahr von 13 auf 19.

                            Ich habe eben eine 0.2.7 auf den Weg geschickt, gerne ausprobieren.

                            Videotutorials & mehr

                            Hier könnt ihr mich unterstützen.

                            1 Antwort Letzte Antwort
                            0
                            • ? Offline
                              ? Offline
                              Ein ehemaliger Benutzer
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              0
                              • ? Ein ehemaliger Benutzer

                                @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
                                schrieb am zuletzt editiert von
                                #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 Antwort Letzte Antwort
                                0
                                • ? Offline
                                  ? Offline
                                  Ein ehemaliger Benutzer
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  0
                                  • M Offline
                                    M Offline
                                    Marty56
                                    schrieb am zuletzt editiert von
                                    #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 Antworten Letzte Antwort
                                    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
                                      schrieb am zuletzt editiert von
                                      #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 Antwort Letzte Antwort
                                      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
                                        Ein ehemaliger Benutzer
                                        schrieb am zuletzt editiert von
                                        #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 Antwort Letzte Antwort
                                        0
                                        • ? Ein ehemaliger Benutzer

                                          @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
                                          schrieb am zuletzt editiert von
                                          #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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          765

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe