Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Javascript Adapter 7.8.0 stuerzt ab

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Javascript Adapter 7.8.0 stuerzt ab

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      knopers1 @sigi234 last edited by

      @sigi234 puhh, bin wieder auf 7.8.0 und es läuft wieder! 🤔

      Ein Haufen meiner Scripte wurden angehalten, danach sogar der ganze Javascript Adapter.
      Unter Hosts gab es passend eine Meldung dazu....

      Da ich momentan keine Sicherung habe, lasse ich die erneute Installation auf die V.7.9.0 lieber sein.

      1 Reply Last reply Reply Quote 0
      • H
        Hawkiobroker 0 @knopers1 last edited by

        @knopers1 7.9.0 habe ich noch nicht probiert. 7.8.0 stuerzt bei mir immer ab, auch nachdem ich alle Skripte geloescht habe. Bei Ideen gerne melden.

        H 1 Reply Last reply Reply Quote 0
        • H
          Hawkiobroker 0 @Hawkiobroker 0 last edited by

          @hawkiobroker-0 Habe mittlerweile auch 7.9.0 probiert. Laeuft auch NICHT; stuerzt (ohne Skripte) in kurzer Zeit ab.

          1 Reply Last reply Reply Quote 0
          • haus-automatisierung
            haus-automatisierung Developer Most Active @knopers1 last edited by

            @knopers1 sagte in Javascript Adapter 7.8.0 stuerzt ab:

            allerdings stürzt der Adapter nach dem Update auf die 7.9.0

            Wie äußert sich das? Fehlermeldungen bitte.

            @hawkiobroker-0 sagte in Javascript Adapter 7.8.0 stuerzt ab:

            Laeuft auch NICHT; stuerzt (ohne Skripte) in kurzer Zeit ab.

            Auch hier: Bitte mehr Details liefern. Der Prozess wird ja nicht einfach verschwinden ohne ein Wort zu sagen...

            H K 2 Replies Last reply Reply Quote 0
            • H
              Hawkiobroker 0 @haus-automatisierung last edited by Homoran

              @haus-automatisierung anbei das iobroker log:

              2024-03-14 13:35:40.682 - info: javascript.0 (10004) starting. Version 7.9.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v18.19.1, js-controller: 5.0.19
              2024-03-14 13:35:40.821 - info: javascript.0 (10004) requesting all states
              2024-03-14 13:35:40.823 - info: javascript.0 (10004) requesting all objects
              2024-03-14 13:36:19.711 - info: javascript.0 (10004) received all objects
              2024-03-14 13:36:40.336 - info: host.iobrokerSchozach01 "system.adapter.javascript.0" disabled
              2024-03-14 13:36:40.340 - info: host.iobrokerSchozach01 stopInstance system.adapter.javascript.0 (force=false, process=true)
              2024-03-14 13:36:40.514 - info: host.iobrokerSchozach01 stopInstance system.adapter.javascript.0 send kill signal
              2024-03-14 13:36:41.519 - info: host.iobrokerSchozach01 stopInstance system.adapter.javascript.0 killing pid 10004
              2024-03-14 13:36:41.865 - error: host.iobrokerSchozach01 Caught by controller[0]: <--- Last few GCs --->
              2024-03-14 13:36:41.865 - error: host.iobrokerSchozach01 Caught by controller[0]: [10004:0x6500870] 60437 ms: Mark-sweep (reduce) 2046.6 (2081.9) -> 2046.5 (2082.2) MB, 2194.3 / 0.0 ms (+ 240.2 ms in 54 steps since start of marking, biggest step 11.7 ms, walltime since start of marking 2517 ms) (average mu = 0.246, current mu = 0.0[10004:0x6500870] 63786 ms: Mark-sweep (reduce) 2047.5 (2082.2) -> 2047.5 (2083.2) MB, 3343.8 / 0.0 ms (average mu = 0.130, current mu = 0.001) allocation failure; scavenge might not succeed
              2024-03-14 13:36:41.865 - error: host.iobrokerSchozach01 Caught by controller[0]: <--- JS stacktrace --->
              2024-03-14 13:36:41.865 - error: host.iobrokerSchozach01 Caught by controller[0]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[1]: 1: 0xb95be0 node::Abort() [io.javascript.0]
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[2]: 2: 0xa9a7f8 [io.javascript.0]
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[3]: 3: 0xd6f5b0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[4]: 4: 0xd6f957 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [io.javascript.0]
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[5]: 5: 0xf4ceb5 [io.javascript.0]
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[6]: 6: 0xf5f38d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [io.javascript.0]
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[7]: 7: 0xf39a7e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[8]: 8: 0xf3ae47 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [io.javascript.0]
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[9]: 9: 0xf1b3c0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [io.javascript.0]
              2024-03-14 13:36:41.866 - error: host.iobrokerSchozach01 Caught by controller[10]: 10: 0xf1298c v8::internal::FactoryBase::AllocateRawArray(int, v8::internal::AllocationType) [io.javascript.0]
              2024-03-14 13:36:41.867 - error: host.iobrokerSchozach01 Caught by controller[11]: 11: 0xf12b05 v8::internal::FactoryBase::NewFixedArrayWithFiller(v8::internal::Handle, int, v8::internal::Handle, v8::internal::AllocationType) [io.javascript.0]
              2024-03-14 13:36:41.867 - error: host.iobrokerSchozach01 Caught by controller[12]: 12: 0xf26895 v8::internal::Factory::NewJSArrayStorage(v8::internal::ElementsKind, int, v8::internal::ArrayStorageAllocationMode) [io.javascript.0]
              2024-03-14 13:36:41.867 - error: host.iobrokerSchozach01 Caught by controller[13]: 13: 0xf2699e v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::AllocationType) [io.javascript.0]
              2024-03-14 13:36:41.867 - error: host.iobrokerSchozach01 Caught by controller[14]: 14: 0x104d3e5 v8::internal::JsonParser::BuildJsonArray(v8::internal::JsonParser::JsonContinuation const&, v8::base::SmallVector, 16ul, std::allocator > > const&) [io.javascript.0]
              2024-03-14 13:36:41.867 - error: host.iobrokerSchozach01 Caught by controller[15]: 15: 0x105453e v8::internal::JsonParser::ParseJsonValue() [io.javascript.0]
              2024-03-14 13:36:41.867 - error: host.iobrokerSchozach01 Caught by controller[16]: 16: 0x10550cf v8::internal::JsonParser::ParseJson() [io.javascript.0]
              2024-03-14 13:36:41.867 - error: host.iobrokerSchozach01 Caught by controller[17]: 17: 0xdf5326 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [io.javascript.0]
              2024-03-14 13:36:41.867 - error: host.iobrokerSchozach01 Caught by controller[18]: 18: 0x170e179 [io.javascript.0]
              2024-03-14 13:36:41.867 - warn: host.iobrokerSchozach01 instance system.adapter.javascript.0 terminated due to SIGABRT
              2024-03-14 13:36:41.867 - info: host.iobrokerSchozach01 instance system.adapter.javascript.0 terminated with code null ()
              

              MOD-EDIT: Code in code-tags gesetzt!

              1 Reply Last reply Reply Quote 0
              • K
                knopers1 @haus-automatisierung last edited by 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-automatisierung 1 Reply Last reply Reply Quote 0
                • C
                  cat1510 @knopers1 last edited by 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-automatisierung 1 Reply Last reply Reply Quote 0
                  • haus-automatisierung
                    haus-automatisierung Developer Most Active @knopers1 last edited by

                    @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 1 Reply Last reply Reply Quote 0
                    • haus-automatisierung
                      haus-automatisierung Developer Most Active @cat1510 last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • K
                        knopers1 @haus-automatisierung last edited by 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-automatisierung 1 Reply Last reply Reply Quote 0
                        • haus-automatisierung
                          haus-automatisierung Developer Most Active @knopers1 last edited by 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 1 Reply Last reply Reply Quote 0
                          • K
                            knopers1 @haus-automatisierung last edited by

                            @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-automatisierung 1 Reply Last reply Reply Quote 0
                            • haus-automatisierung
                              haus-automatisierung Developer Most Active @knopers1 last edited by

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

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                knopers1 @haus-automatisierung last edited by

                                @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
                                
                                mikeal created this issue in request/request

                                open Request’s Past, Present and Future #3142

                                haus-automatisierung 1 Reply Last reply Reply Quote 0
                                • haus-automatisierung
                                  haus-automatisierung Developer Most Active @knopers1 last edited by

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

                                  Ansonsten: nein.

                                  K 1 Reply Last reply Reply Quote 0
                                  • K
                                    knopers1 @haus-automatisierung last edited by

                                    @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 Reply Last reply Reply Quote 0
                                    • H
                                      Hawkiobroker 0 last edited by

                                      @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 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      925
                                      Online

                                      31.8k
                                      Users

                                      80.0k
                                      Topics

                                      1.3m
                                      Posts

                                      9
                                      53
                                      2535
                                      Loading More Posts
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      Community
                                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                      The ioBroker Community 2014-2023
                                      logo