Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.0/3.1 jetzt im Latest!

    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

    js-controller 3.0/3.1 jetzt im Latest!

    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      oFbEQnpoLKKl6mbY5e13 @apollon77 last edited by oFbEQnpoLKKl6mbY5e13

      @apollon77 sagte in js-controller 3.0 jetzt im Latest!:

      @oFbEQnpoLKKl6mbY5e13 Leg es bitte an bzw reopen wenn falsch geschlossen. Kriegen wir alles irgendwie hin

      Der Fehler ist nicht mehr aufgetaucht, sodass ich jetzt erst mal abwarte.

      Allerdings melden beim Start meines Containers verschiedene Adapter und nicht immer dieselben:
      warn (329) no connection to objects DB

      apollon77 O 2 Replies Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active last edited by crunchip

        ein no connection to objects DB kommt bei mir auch bei sämtlichen Adaptern nach einem Neustart des Iobrokers.
        Auszug aus dem log
        25e31f48-c0a0-46a1-aefb-6d5374b8e161-image.png 78b46d45-9be9-4d94-9b12-932999a4a010-image.png

        1 Reply Last reply Reply Quote 0
        • O
          oFbEQnpoLKKl6mbY5e13 last edited by oFbEQnpoLKKl6mbY5e13

          Ist also nicht ungewöhnlich oder wie ist das gemeint?

          So viel tritt das bei mir nicht auf.

          1 Reply Last reply Reply Quote 0
          • A
            amsernat last edited by

            Hi,

            Frage von Noob:
            nach js-controller update funkt backitup nicht mehr.
            kann mir bitte jemand sagen was hier schief gelaufen ist?

            Danke im Voraus.

            host.raspberrypi	2020-05-01 12:56:19.026	info	Update repository "latest" under "http://download.iobroker.net/sources-dist-latest.json"
            host.raspberrypi	2020-05-01 12:56:07.650	info	Restart adapter system.adapter.backitup.0 because enabled
            host.raspberrypi	2020-05-01 12:56:07.649	info	instance system.adapter.backitup.0 terminated with code 0 (NO_ERROR)
            host.raspberrypi	2020-05-01 12:56:07.649	error	Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.backitup/main.js:840:9
            host.raspberrypi	2020-05-01 12:56:07.648	error	Caught by controller[1]: at detectLatestBackupFile (/opt/iobroker/node_modules/iobroker.backitup/main.js:699:33)
            host.raspberrypi	2020-05-01 12:56:07.648	error	Caught by controller[1]: at Array.map (<anonymous>)
            host.raspberrypi	2020-05-01 12:56:07.648	error	Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.backitup/main.js:699:48
            host.raspberrypi	2020-05-01 12:56:07.648	error	Caught by controller[1]: at new Promise (<anonymous>)
            host.raspberrypi	2020-05-01 12:56:07.647	error	Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.backitup/main.js:700:13
            host.raspberrypi	2020-05-01 12:56:07.647	error	Caught by controller[1]: at module.exports (/opt/iobroker/node_modules/iobroker.backitup/lib/list.js:72:36)
            host.raspberrypi	2020-05-01 12:56:07.647	error	Caught by controller[1]: at Object.list (/opt/iobroker/node_modules/iobroker.backitup/lib/list/googledrive.js:6:24)
            host.raspberrypi	2020-05-01 12:56:07.647	error	Caught by controller[1]: at new GoogleDrive (/opt/iobroker/node_modules/iobroker.backitup/lib/googleDriveLib.js:15:31)
            host.raspberrypi	2020-05-01 12:56:07.646	error	Caught by controller[1]: at JSON.parse (<anonymous>)
            host.raspberrypi	2020-05-01 12:56:07.646	error	Caught by controller[1]: SyntaxError: Unexpected token ' in JSON at position 1
            host.raspberrypi	2020-05-01 12:56:07.645	error	Caught by controller[0]: 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(). The promise rejected
            backitup.0	2020-05-01 12:56:07.108	info	(20766) Terminated (NO_ERROR): Without reason
            backitup.0	2020-05-01 12:56:07.106	info	(20766) terminating
            backitup.0	2020-05-01 12:56:07.057	info	(20766) cleaned everything up...
            backitup.0	2020-05-01 12:56:07.055	error	(20766) SyntaxError: Unexpected token ' in JSON at position 1 at JSON.parse (<anonymous>) at new GoogleDrive (/opt/iobroker/node_modules/iobroker.backitup/lib/googleDriveLib.js:15:31) at O
            backitup.0	2020-05-01 12:56:07.049	error	(20766) uncaught exception: Unexpected token ' in JSON at position 1
            backitup.0	2020-05-01 12:56:06.962	info	(20766) [iobroker] backup was activated at 02:00 every 3 day(s)
            backitup.0	2020-05-01 12:56:06.903	info	(20766) starting. Version 1.5.4 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.16.3, js-controller: 3.0.20
            host.raspberrypi	2020-05-01 12:56:02.989	info	instance system.adapter.backitup.0 started with pid 20766
            
            pi@raspberrypi:~ $ node -v
            v12.16.3
            
            pi@raspberrypi:~ $ iobroker status
            iobroker is running on this host.
            At least one iobroker host is running.
            Objects type: file
            States  type: file
            
            pi@raspberrypi:~ $ npm -v
            6.14.4
            
            
            RAM
            3.81 GB
            System Betriebszeit
            14 T. 01:25:12
            Festplatte Größe
            28.98 GB
            Festplatte frei
            22.98 GB
            Anzahl der Adapter
            346
            Betriebszeit
            13:25:16
            Aktive Instanzen
            21
            
            raspberrypi
            Typ: js-controller
            Titel: JS controller
            OS: linux
            Verfügbar: 3.0.20
            Installiert: 3.0.20
            Ereignisse: ⇥26 / ↦15
            
            apollon77 1 Reply Last reply Reply Quote 0
            • M
              Marty56 last edited by apollon77

              Habe die Version 3.0.20 installiert. Soweit keine Probleme. Gut Arbeit.

              Im Log File habe jetzt ein paar Warnings, z. B.

              readFile 2020-05-01 14:05:43.635 warn will not read this file (devices/cpu.png) in future versions: icons-open-icon-library-png is not an object of type "meta"

              Es handelt sich da wohl um eigene Icons, die ich in VIS verwende.

              Bei dem Update vom VIS Module gab es auch mal eine Memory Warnung, aber nach Abschuss der Installation war wieder ausreichend Memory frei.

              Bei Zigbee Adapter gab es die Warnung

              zigbee.0 2020-05-01 14:05:07.228 warn (COMPACT) no connection to objects DB

              Er scheint aber zu laufen.

              Ich habe auch versucht auf die neueste Version (4.5.1) der Script Engine upzudaten, aber die Installation scheint nicht zu funktionieren und es wird immer noch 4.4.3 angezeigt.

              2020-05-01 14:18:19.059 - info: host.ioBroker-RasPi4 iobroker Update javascript from @4.4.3 to @4.5.1
              2020-05-01 14:18:21.640 - info: host.ioBroker-RasPi4 iobroker NPM version: 6.11.3
              2020-05-01 14:18:21.646 - info: host.ioBroker-RasPi4 iobroker npm install iobroker.javascript@4.5.1 --loglevel error --prefix "/opt/iobroker" (System call)
              2020-05-01 14:19:25.371 - info: host.ioBroker-RasPi4 iobroker npm
              2020-05-01 14:19:25.377 - info: host.ioBroker-RasPi4 iobroker ERR! code ENOTSUPnpm ERR! notsup
              2020-05-01 14:19:25.383 - info: host.ioBroker-RasPi4 iobroker Unsupported engine for puppeteer@3.0.2: wanted: {"node":">=10.18.1"} (current: {"node":"10.17.0","npm":"6.11.3"})npm ERR! notsup Not compatible with your version of node/npm: puppeteer@3.0.2npm ERR! notsup Not compatible with your version of node/npm: puppeteer@3.0.2npm ERR! notsup Required: {"node":">=10.18.1"}npm ERR! notsup Actual: {"npm":"6.11.3","node":"10.17.0"}
              2020-05-01 14:19:25.473 - info: host.ioBroker-RasPi4 iobroker
              2020-05-01 14:19:25.478 - info: host.ioBroker-RasPi4 iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2020-05-01T12_19_25_434Z-debug.log
              2020-05-01 14:19:25.985 - info: host.ioBroker-RasPi4 iobroker Update "system.adapter.javascript.0"
              2020-05-01 14:19:26.178 - info: host.ioBroker-RasPi4 stopInstance system.adapter.javascript.0 (force=false, process=true)
              2020-05-01 14:19:26.197 - info: host.ioBroker-RasPi4 stopInstance system.adapter.javascript.0 send kill signal
              2020-05-01 14:19:26.197 - info: javascript.0 (3513) Got terminate signal TERMINATE_YOURSELF
              2020-05-01 14:19:26.208 - info: javascript.0 (3513) Stop script script.js.common.Heizung
              2020-05-01 14:19:26.215 - info: javascript.0 (3513) Stop script script.js.common.Jalousien
              2020-05-01 14:19:26.220 - info: javascript.0 (3513) Stop script script.js.common.Licht_und_Schalter
              2020-05-01 14:19:26.224 - info: javascript.0 (3513) Stop script script.js.common.Sicherheit
              2020-05-01 14:19:26.228 - info: javascript.0 (3513) Stop script script.js.common.Sound
              2020-05-01 14:19:26.231 - info: javascript.0 (3513) Stop script script.js.common.Systeminfo
              2020-05-01 14:19:26.235 - info: javascript.0 (3513) Stop script script.js.common.Waschen
              2020-05-01 14:19:26.237 - info: javascript.0 (3513) Stop script script.js.common.Tagescharakteristik
              2020-05-01 14:19:26.240 - info: javascript.0 (3513) Stop script script.js.common.Email_und_Telegram_über_IFTTT_senden
              2020-05-01 14:19:26.243 - info: javascript.0 (3513) Stop script script.js.common.Batteriezustände_und_Fensteröffnungen
              2020-05-01 14:19:26.248 - info: javascript.0 (3513) Stop script script.js.common.Feuchte_und_Belüftung
              2020-05-01 14:19:26.251 - info: javascript.0 (3513) Stop script script.js.common.Telefonanrufe_verarbeiten
              2020-05-01 14:19:26.253 - info: javascript.0 (3513) Stop script script.js.common.Presence
              2020-05-01 14:19:26.256 - info: javascript.0 (3513) Stop script script.js.common.Wetter_und_Bewässerung_mit_Promisses
              2020-05-01 14:19:26.260 - info: javascript.0 (3513) terminating
              2020-05-01 14:19:26.263 - info: javascript.0 (3513) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              2020-05-01 14:19:26.875 - info: host.ioBroker-RasPi4 instance system.adapter.javascript.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
              2020-05-01 14:19:29.332 - info: host.ioBroker-RasPi4 instance system.adapter.javascript.0 started with pid 3893
              

              Edit: code tags

              Thomas Braun BBTown apollon77 4 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Marty56 last edited by

                @Marty56 Dein node ist zu alt. Auf eine aktuelle 10er bringen, ich würde aber direkt auf node 12 springen.

                1 Reply Last reply Reply Quote -1
                • BBTown
                  BBTown @Marty56 last edited by BBTown

                  @Marty56
                  mal etwas OT ... Du hast bereits 700 post hier, und packst dennoch die LOGs nicht in code-Tags, das kann ich nicht nachvollziehen ... es gibt so viele User die von unterwegs mobil hier reinschauen und versuchen zu unterstützen, für die ist so eine Antwort einfach schei...

                  J apollon77 2 Replies Last reply Reply Quote 0
                  • J
                    Jan1 @BBTown last edited by

                    @BBTown
                    Und er schafft es auch nicht den ersten Post zu lesen, in dem sehr deutlich steht, dass mindestens Node 10 vorausgesetzt wird.

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Jan1 last edited by Thomas Braun

                      @Jan1 said in js-controller 3.0 jetzt im Latest!:

                      @BBTown
                      Und er schafft es auch nicht den ersten Post zu lesen, in dem sehr deutlich steht, dass mindestens Node 10 vorausgesetzt wird.

                      node10 hat er ja, allerdings ist die minor version auch zu alt:

                      "node":"10.17.0
                      
                      J apollon77 2 Replies Last reply Reply Quote 0
                      • J
                        Jan1 @Thomas Braun last edited by

                        @Thomas-Braun
                        Die wird doch mit nem System Update hochgezogen und das sollte wohl auch ab und an gemacht werden.

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @oFbEQnpoLKKl6mbY5e13 last edited by

                          @oFbEQnpoLKKl6mbY5e13 der fehler passiert wenn ein Adapter zu lange braucht um die Verbindung mit der iobroker dB zu bekommen. Kann es sein das in den Situationen recht viel Last auf der Liste herrschen? Wie geht es den Prozessen/cpu/RAM ...?

                          O 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @amsernat last edited by

                            @amsernat irgend ein json file ist kaputt. Speicher mal die konfig neu. Hat nix mit Controller zu tun. Bitte in einem der backitup threads fragen Oder-Neiße-Linie anlegen.

                            1 Reply Last reply Reply Quote 0
                            • O
                              oFbEQnpoLKKl6mbY5e13 @apollon77 last edited by

                              @apollon77
                              Heute macht mein NAS ein RAID-Scrubbing, da ist es ziemlich träge. Das dauert auch fast den ganzen Tag. Ich beobachte das.

                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @Marty56 last edited by

                                @Marty56 zu dem Icon Thema. Eigene icons in eigenen Verzeichnissen sind schon seit controller 2.2 „böse“. Bitte sauber aufsetzen oder in einen Ordner bewegen wo sie erlaubt sind.

                                M 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @Thomas Braun last edited by

                                  @Thomas-Braun exakr. Formal muss der js Adapter das korrekt angeben. Legt bitte jemand ein issue dort an?

                                  1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @oFbEQnpoLKKl6mbY5e13 last edited by

                                    @oFbEQnpoLKKl6mbY5e13 das wär eine Vermutung weil damit i/o Träger ist.

                                    1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @BBTown last edited by

                                      @BBTown ich hab’s mal gefixt.

                                      1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Jan1 last edited by

                                        @Jan1 said in js-controller 3.0 jetzt im Latest!:

                                        Die wird doch mit nem System Update hochgezogen und das sollte wohl auch ab und an gemacht werden.

                                        Aber auch nur, wenn man ein Repo für node hat und halt auch das Gesamtsystem ab und an frisch hält. Ich würde das wenigstens so einmal im Monat machen.

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Jan1 @Thomas Braun last edited by

                                          @Thomas-Braun
                                          Auf dem Pi und jetzt mit Debian auf dem Beelink war das auf alle Fälle immer so 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • padrino
                                            padrino Most Active last edited by

                                            So, jetzt wage ich mich an den Kram und was ist?
                                            Ich krieg es ja nicht mal hin NodeJS auf V12 upzudaten. 😞 (wie man es macht, steht wohl nirgends, nur dass man muss?)
                                            Ich weiß schon, wieso ich die ganze Zeit bei V1 geblieben bin... das lief wenigstens. 😢

                                            BBTown 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            725
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            127
                                            1340
                                            424743
                                            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