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. Error/Bug
  4. Javascript Adapter 7.8.0 stuerzt ab

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.4k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    803

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

Javascript Adapter 7.8.0 stuerzt ab

Geplant Angeheftet Gesperrt Verschoben Error/Bug
53 Beiträge 9 Kommentatoren 2.9k Aufrufe 7 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.
  • K knopers1

    muss das Thema nach oben setzen....
    Javascript 7.8.0 läuft bei mir, allerdings stürzt der Adapter nach dem Update auf die 7.9.0
    Jemand Probleme noch außer mir?

    C Offline
    C Offline
    cat1510
    schrieb am zuletzt editiert von cat1510
    #43

    Hi, bei mir stuerzt er auch einfach ab seit Update auf 7.9.0.

    Alles was hier geraten wurde habe ich schon gemacht.
    Es erscheint tatsaechlich nicht viel im Log.

    Habe nun mal ALLE scripts geloescht und bin zu stable repo gegangen.
    Das ist Version 5.7.9 glaub ich, laeuft sofort.

    2024-03-15 13:03:22.648  - ESC[32minfoESC[39m: javascript.0 (14113) starting. Version 7.9.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.17.1, js-controller: 5.0.19
    2024-03-15 13:03:22.686  - ESC[32minfoESC[39m: javascript.0 (14113) requesting all states
    2024-03-15 13:03:22.687  - ESC[32minfoESC[39m: javascript.0 (14113) requesting all objects
    2024-03-15 13:03:22.981  - ESC[32minfoESC[39m: javascript.0 (14113) received all objects
    2024-03-15 13:03:22.995  - ESC[32minfoESC[39m: javascript.0 (14113) received all states
    2024-03-15 13:03:23.106  - ESC[31merrorESC[39m: javascript.0 (14113) 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().
    2024-03-15 13:03:23.106  - ESC[31merrorESC[39m: javascript.0 (14113) unhandled promise rejection: Invalid time value
    2024-03-15 13:03:23.107  - ESC[31merrorESC[39m: javascript.0 (14113) RangeError: Invalid time value
        at Date.toISOString (<anonymous>)
        at sunTimeSchedules (/opt/iobroker/node_modules/iobroker.javascript/main.js:1477:82)
    2024-03-15 13:03:23.107  - ESC[31merrorESC[39m: javascript.0 (14113) Invalid time value
    2024-03-15 13:03:23.111  - ESC[32minfoESC[39m: javascript.0 (14113) terminating
    2024-03-15 13:03:23.112  - ESC[33mwarnESC[39m: javascript.0 (14113) Terminated (UNCAUGHT_EXCEPTION): Without reason
    2024-03-15 13:03:23.610  - ESC[32minfoESC[39m: javascript.0 (14113) terminating
    
    haus-automatisierungH 1 Antwort Letzte Antwort
    0
    • K knopers1

      @haus-automatisierung

      Habe gerade nochmal auf die 7.9.0 versucht! Schmiert nach 1 min alles ab! Kommst du damit weiter?

      log.txt

      Edit: schau doch mal ab;
      2024-03-14 18:25:54.768 - info: host.raspberrypi iobroker Installing iobroker.javascript@7.9.0... (System call)

      vorher habe ich ein neustart gemacht!

      haus-automatisierungH Offline
      haus-automatisierungH Offline
      haus-automatisierung
      Developer Most Active
      schrieb am zuletzt editiert von
      #44

      @knopers1 sagte in Javascript Adapter 7.8.0 stuerzt ab:

      Edit: schau doch mal ab;

      Hatten wir gerade schon in einem anderen Thread. Liegt daran, dass deine GPS-Koornaten nicht richtig konfiguriert sind (System oder in der Instanz). Was genau hast Du dort konfiguriert?

      2024-03-14 18:27:22.764 - error: javascript.0 (3037) RangeError: Invalid time value
      at Date.toISOString ()
      at sunTimeSchedules (/opt/iobroker/node_modules/iobroker.javascript/main.js:1477:82)
      

      Ist in der nächsten Version etwas toleranter.

      🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
      🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
      📚 Meine inoffizielle ioBroker Dokumentation

      K 1 Antwort Letzte Antwort
      0
      • C cat1510

        Hi, bei mir stuerzt er auch einfach ab seit Update auf 7.9.0.

        Alles was hier geraten wurde habe ich schon gemacht.
        Es erscheint tatsaechlich nicht viel im Log.

        Habe nun mal ALLE scripts geloescht und bin zu stable repo gegangen.
        Das ist Version 5.7.9 glaub ich, laeuft sofort.

        2024-03-15 13:03:22.648  - ESC[32minfoESC[39m: javascript.0 (14113) starting. Version 7.9.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.17.1, js-controller: 5.0.19
        2024-03-15 13:03:22.686  - ESC[32minfoESC[39m: javascript.0 (14113) requesting all states
        2024-03-15 13:03:22.687  - ESC[32minfoESC[39m: javascript.0 (14113) requesting all objects
        2024-03-15 13:03:22.981  - ESC[32minfoESC[39m: javascript.0 (14113) received all objects
        2024-03-15 13:03:22.995  - ESC[32minfoESC[39m: javascript.0 (14113) received all states
        2024-03-15 13:03:23.106  - ESC[31merrorESC[39m: javascript.0 (14113) 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().
        2024-03-15 13:03:23.106  - ESC[31merrorESC[39m: javascript.0 (14113) unhandled promise rejection: Invalid time value
        2024-03-15 13:03:23.107  - ESC[31merrorESC[39m: javascript.0 (14113) RangeError: Invalid time value
            at Date.toISOString (<anonymous>)
            at sunTimeSchedules (/opt/iobroker/node_modules/iobroker.javascript/main.js:1477:82)
        2024-03-15 13:03:23.107  - ESC[31merrorESC[39m: javascript.0 (14113) Invalid time value
        2024-03-15 13:03:23.111  - ESC[32minfoESC[39m: javascript.0 (14113) terminating
        2024-03-15 13:03:23.112  - ESC[33mwarnESC[39m: javascript.0 (14113) Terminated (UNCAUGHT_EXCEPTION): Without reason
        2024-03-15 13:03:23.610  - ESC[32minfoESC[39m: javascript.0 (14113) terminating
        
        haus-automatisierungH Offline
        haus-automatisierungH Offline
        haus-automatisierung
        Developer Most Active
        schrieb am zuletzt editiert von
        #45

        @cat1510 sagte in Javascript Adapter 7.8.0 stuerzt ab:

        Alles was hier geraten wurde habe ich schon gemacht.

        Einen Beitrag weiter schauen oder auf 7.9.1 aktualisieren.

        🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
        🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
        📚 Meine inoffizielle ioBroker Dokumentation

        1 Antwort Letzte Antwort
        0
        • haus-automatisierungH haus-automatisierung

          @knopers1 sagte in Javascript Adapter 7.8.0 stuerzt ab:

          Edit: schau doch mal ab;

          Hatten wir gerade schon in einem anderen Thread. Liegt daran, dass deine GPS-Koornaten nicht richtig konfiguriert sind (System oder in der Instanz). Was genau hast Du dort konfiguriert?

          2024-03-14 18:27:22.764 - error: javascript.0 (3037) RangeError: Invalid time value
          at Date.toISOString ()
          at sunTimeSchedules (/opt/iobroker/node_modules/iobroker.javascript/main.js:1477:82)
          

          Ist in der nächsten Version etwas toleranter.

          K Offline
          K Offline
          knopers1
          schrieb am zuletzt editiert von knopers1
          #46

          @haus-automatisierung

          hmm, kann es unter Systemeinstellung das Problem liegen? Dort scheint nichts eingetragen zu sein!

          Screenshot 2024-03-15 182944.png

          Ich habe meine Instanzen durchgesehen und wüsste nicht wo GPS Koordinaten notwenig sind?

          Hast Du einen Tip?

          Astroeinstellung bei jawascript.0 sieht so aus...

          Screenshot 2024-03-15 .png

          Was kann ich tun?

          HP Microserver Gen8, RPI-4, IoBroker,

          haus-automatisierungH 1 Antwort Letzte Antwort
          0
          • K knopers1

            @haus-automatisierung

            hmm, kann es unter Systemeinstellung das Problem liegen? Dort scheint nichts eingetragen zu sein!

            Screenshot 2024-03-15 182944.png

            Ich habe meine Instanzen durchgesehen und wüsste nicht wo GPS Koordinaten notwenig sind?

            Hast Du einen Tip?

            Astroeinstellung bei jawascript.0 sieht so aus...

            Screenshot 2024-03-15 .png

            Was kann ich tun?

            haus-automatisierungH Offline
            haus-automatisierungH Offline
            haus-automatisierung
            Developer Most Active
            schrieb am zuletzt editiert von haus-automatisierung
            #47

            @knopers1 Ein Update auf 7.9.1 machen oder halt die richtigen Koordinaten hinterlegen. Die werden ja für alle möglichen Funktionen genutzt

            🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
            🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
            📚 Meine inoffizielle ioBroker Dokumentation

            K 1 Antwort Letzte Antwort
            0
            • haus-automatisierungH haus-automatisierung

              @knopers1 Ein Update auf 7.9.1 machen oder halt die richtigen Koordinaten hinterlegen. Die werden ja für alle möglichen Funktionen genutzt

              K Offline
              K Offline
              knopers1
              schrieb am zuletzt editiert von
              #48

              @haus-automatisierung

              okay, Koordinaten habe ich angepasst, ein Update auf die V7.9.1 wird mir aber nicht angeboten!
              Ich habe alle Adapter auf Update überprüft.... ?

              HP Microserver Gen8, RPI-4, IoBroker,

              haus-automatisierungH 1 Antwort Letzte Antwort
              0
              • K knopers1

                @haus-automatisierung

                okay, Koordinaten habe ich angepasst, ein Update auf die V7.9.1 wird mir aber nicht angeboten!
                Ich habe alle Adapter auf Update überprüft.... ?

                haus-automatisierungH Offline
                haus-automatisierungH Offline
                haus-automatisierung
                Developer Most Active
                schrieb am zuletzt editiert von
                #49

                @knopers1 Also ist das Problem damit gelöst? Dann ist doch gut und Du brauchst die beta nicht installieren

                🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
                🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
                📚 Meine inoffizielle ioBroker Dokumentation

                K 1 Antwort Letzte Antwort
                0
                • haus-automatisierungH haus-automatisierung

                  @knopers1 Also ist das Problem damit gelöst? Dann ist doch gut und Du brauchst die beta nicht installieren

                  K Offline
                  K Offline
                  knopers1
                  schrieb am zuletzt editiert von
                  #50

                  @haus-automatisierung

                  sehr gut, läuft ... Unten kommen noch einige Warnmeldungen auf! Muss ich da tätig werden?

                  2024-03-15 19:23:50.036	error	npm
                  javascript.0
                  	2024-03-15 19:23:50.039	error	WARN deprecated har-validator@5.1.5: this library is no longer supported
                  javascript.0
                  	2024-03-15 19:23:50.311	error	npm
                  javascript.0
                  	2024-03-15 19:23:50.313	error	WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                  javascript.0
                  	2024-03-15 19:23:50.419	error	npm
                  javascript.0
                  	2024-03-15 19:23:50.420	error	WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
                  javascript.0
                  	2024-03-15 19:23:50.489	error	npm WARN
                  javascript.0
                  	2024-03-15 19:23:50.491	error	deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                  

                  HP Microserver Gen8, RPI-4, IoBroker,

                  haus-automatisierungH 1 Antwort Letzte Antwort
                  0
                  • K knopers1

                    @haus-automatisierung

                    sehr gut, läuft ... Unten kommen noch einige Warnmeldungen auf! Muss ich da tätig werden?

                    2024-03-15 19:23:50.036	error	npm
                    javascript.0
                    	2024-03-15 19:23:50.039	error	WARN deprecated har-validator@5.1.5: this library is no longer supported
                    javascript.0
                    	2024-03-15 19:23:50.311	error	npm
                    javascript.0
                    	2024-03-15 19:23:50.313	error	WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                    javascript.0
                    	2024-03-15 19:23:50.419	error	npm
                    javascript.0
                    	2024-03-15 19:23:50.420	error	WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
                    javascript.0
                    	2024-03-15 19:23:50.489	error	npm WARN
                    javascript.0
                    	2024-03-15 19:23:50.491	error	deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                    
                    haus-automatisierungH Offline
                    haus-automatisierungH Offline
                    haus-automatisierung
                    Developer Most Active
                    schrieb am zuletzt editiert von
                    #51

                    @knopers1 Jau du könntest dich auf GitHub an der Adapterentwicklung beteiligen um die alten Pakete zu ersetzen 😉

                    Ansonsten: nein.

                    🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
                    🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
                    📚 Meine inoffizielle ioBroker Dokumentation

                    K 1 Antwort Letzte Antwort
                    0
                    • haus-automatisierungH haus-automatisierung

                      @knopers1 Jau du könntest dich auf GitHub an der Adapterentwicklung beteiligen um die alten Pakete zu ersetzen 😉

                      Ansonsten: nein.

                      K Offline
                      K Offline
                      knopers1
                      schrieb am zuletzt editiert von
                      #52

                      @haus-automatisierung

                      puhh, - das überlasse ich lieber anderen, die von der Materie etwas verstehen!

                      Danke Dir für deine Hilfe und wünsche ein schönes Wochenende :+1: :grinning:

                      HP Microserver Gen8, RPI-4, IoBroker,

                      1 Antwort Letzte Antwort
                      0
                      • H Offline
                        H Offline
                        Hawkiobroker 0
                        schrieb am zuletzt editiert von
                        #53

                        @knopers1 @haus-automatisierung habe jetzt 7.9.2 installiert. Die Instanz schmiert immer noch ab:

                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.558	warn	instance system.adapter.javascript.0 terminated due to SIGABRT
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.558	error	Caught by controller[14]: 18: 0x170e179 [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[14]: 17: 0xdf5326 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[14]: 16: 0x10550cf v8::internal::JsonParser<unsigned char>::ParseJson() [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[14]: 15: 0x105453e v8::internal::JsonParser<unsigned char>::ParseJsonValue() [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[14]: 14: 0x104d5a9 v8::internal::JsonParser<unsigned char>::BuildJsonArray(v8::internal::JsonParser<unsigned char>::JsonContinuation const&, v8::base::SmallVector<v8::internal::Handle<v8::internal::Object>, 16ul, std::allocator<v8::internal::Handle<v8::internal::Object> > > const&) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[13]: 13: 0xf2699e v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::AllocationType) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[12]: 12: 0xf26895 v8::internal::Factory::NewJSArrayStorage(v8::internal::ElementsKind, int, v8::internal::ArrayStorageAllocationMode) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[11]: 11: 0xf12b05 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[10]: 10: 0xf1298c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[9]: 9: 0xf1b3c0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.557	error	Caught by controller[8]: 8: 0xf3ae47 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.556	error	Caught by controller[7]: 7: 0xf39a7e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.556	error	Caught by controller[6]: 6: 0xf5f38d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.556	error	Caught by controller[5]: 5: 0xf4ceb5 [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.556	error	Caught by controller[4]: 4: 0xd6f957 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.556	error	Caught by controller[3]: 3: 0xd6f5b0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.556	error	Caught by controller[2]: 2: 0xa9a7f8 [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.556	error	Caught by controller[1]: 1: 0xb95be0 node::Abort() [io.javascript.0]
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.556	error	Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.556	error	Caught by controller[0]: <--- JS stacktrace --->
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.555	error	Caught by controller[0]: [31460:0x629d870] 63706 ms: Mark-sweep (reduce) 2046.8 (2081.9) -> 2046.7 (2082.2) MB, 2291.8 / 0.0 ms (+ 191.9 ms in 48 steps since start of marking, biggest step 17.6 ms, walltime since start of marking 2566 ms) (average mu = 0.251, current mu = 0.0[31460:0x629d870] 66864 ms: Mark-sweep (reduce) 2047.6 (2082.2) -> 2047.6 (2083.2) MB, 3150.6 / 0.0 ms (average mu = 0.141, current mu = 0.002) allocation failure; scavenge might not succeed
                        host.iobrokerSchozach01
                        2024-03-18 20:20:11.555	error	Caught by controller[0]: <--- Last few GCs --->
                        
                        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

                        476

                        Online

                        32.6k

                        Benutzer

                        82.0k

                        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