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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 3.0/3.1 jetzt im Latest!

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    11
    2
    195

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

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

js-controller 3.0/3.1 jetzt im Latest!

js-controller 3.0/3.1 jetzt im Latest!

Scheduled Pinned Locked Moved ioBroker Allgemein
js-controller
1.3k Posts 127 Posters 493.9k Views 89 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    e-i-k-e
    wrote on last edited by e-i-k-e
    #751

    Slave: (Raspberry/Rasbian) Update von node.js 10 auf 12, js.controller 2.0.30
    RPI-Adapter wird zwar Grün, die GPIO lassen sich allerdings nicht steuern.

    LOG:

    rpi2.3	2020-05-03 17:48:33.112	warn	(11922) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
    rpi2.3	2020-05-03 17:48:33.050	info	(11922) starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.rpi2, node: v12.16.3, js-controller: 3.0.20
    rpi2.3	2020-05-03 17:48:27.832	info	(11412) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
    rpi2.3	2020-05-03 17:48:27.830	info	(11412) terminating
    rpi2.3	2020-05-03 17:48:27.828	info	(11412) Got terminate signal TERMINATE_YOURSELF
    rpi2.3	2020-05-03 17:47:53.595	error	(11412) GPIO is not initialized!
    rpi2.3	2020-05-03 17:47:51.593	error	(11412) GPIO is not initialized!
    rpi2.3	2020-05-03 17:42:47.016	error	(11412) GPIO is not initialized!
    rpi2.3	2020-05-03 17:42:19.480	warn	(11412) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
    rpi2.3	2020-05-03 17:42:19.416	info	(11412) starting. Version 1.1.0 in /opt/iobroker/node_modules/iobroker.rpi2, node: v12.16.3, js-controller: 3.0.20
    rpi2.3	2020-05-03 17:42:14.061	info	(10753) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
    rpi2.3	2020-05-03 17:42:14.059	info	(10753) terminating
    rpi2.3	2020-05-03 17:42:14.056	info	(10753) Got terminate signal TERMINATE_YOURSELF
    rpi2.3	2020-05-03 17:38:00.253	error	(10753) GPIO is not initialized!
    rpi2.3	2020-05-03 17:35:34.761	warn	(10753) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
    rpi2.3	2020-05-03 17:35:34.713	info	(10753) starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.rpi2, node: v12.16.3, js-controller: 3.0.20
    rpi2.3	2020-05-03 17:31:14.638	info	(17396) Got terminate signal TERMINATE_YOURSELF
    rpi2.3	2020-05-03 17:31:14.619	info	(17396) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
    rpi2.3	2020-05-03 17:02:08.103	error	(17396) read ECONNRESET
    

    Ein Down-/Upgrade des Adapters brachte keine Änderung.
    Erst nachdem in den Adapter händisch gelöscht und neu Installiert habe, werden die GPIO angesteuert.

    LOG:

    rpi2.3	2020-05-03 18:14:07.761	warn	(14278) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
    rpi2.3	2020-05-03 18:14:07.706	info	(14278) starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.rpi2, node: v12.16.3, js-controller: 3.0.20
    rpi2.3	2020-05-03 18:14:02.762	info	(14154) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
    rpi2.3	2020-05-03 18:14:02.760	info	(14154) terminating
    rpi2.3	2020-05-03 18:14:02.756	info	(14154) Got terminate signal TERMINATE_YOURSELF
    rpi2.3	2020-05-03 18:13:08.638	info	(14154) GPIO ports are not configured
    rpi2.3	2020-05-03 18:13:08.575	error	(14154) No Value found for cpu_frequency
    rpi2.3	2020-05-03 18:13:04.520	warn	(14154) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer!
    rpi2.3	2020-05-03 18:13:04.443	info	(14154) starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.rpi2, node: v12.16.3, js-controller: 3.0.20
    
    1 Reply Last reply
    0
    • J Offline
      J Offline
      jhg
      wrote on last edited by
      #752

      Hi,
      ich habe nach dem Update auf js. 3.0.20 das Problem, dass mein Serialport nicht mehr funktioniert.
      Habe von dem Update auf 3.0.20 noch node auf 12.16.3 aktualisiert.

      Folgender Fehlermeldung:
      prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
      gyp ERR! clean error
      gyp ERR! stack Error: EACCES: permission denied, unlink 'build/Makefile'
      gyp ERR! System Linux 4.19.97-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
      gyp ERR! node -v v12.16.3
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! serialport@6.2.2 install: prebuild-install || node-gyp rebuild
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the serialport@6.2.2 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      Jemand einen Tipp, wie ich das beheben kann.

      Thomas BraunT 1 Reply Last reply
      0
      • J jhg

        Hi,
        ich habe nach dem Update auf js. 3.0.20 das Problem, dass mein Serialport nicht mehr funktioniert.
        Habe von dem Update auf 3.0.20 noch node auf 12.16.3 aktualisiert.

        Folgender Fehlermeldung:
        prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
        gyp ERR! clean error
        gyp ERR! stack Error: EACCES: permission denied, unlink 'build/Makefile'
        gyp ERR! System Linux 4.19.97-v7+
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/serialport
        gyp ERR! node -v v12.16.3
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! serialport@6.2.2 install: prebuild-install || node-gyp rebuild
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the serialport@6.2.2 install script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

        Jemand einen Tipp, wie ich das beheben kann.

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by Thomas Braun
        #753

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

        permission denied
        

        Da stimmen die Rechte nicht.

        iobroker fix
        

        mal ausgeführt? Danach evtl. mal 'discovery' rebuilden.

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

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jhg
          wrote on last edited by
          #754

          Ja, Fix habe ich laufenlassen.
          Keine Änderung

          Wie starte ich ein discovery rebuild?

          Evtl. noch als Ergänzung:
          Das Problem ist auf dem slave, denn dort hängt der Volkszähler am Raspi.

          Thomas BraunT 1 Reply Last reply
          0
          • J jhg

            Ja, Fix habe ich laufenlassen.
            Keine Änderung

            Wie starte ich ein discovery rebuild?

            Evtl. noch als Ergänzung:
            Das Problem ist auf dem slave, denn dort hängt der Volkszähler am Raspi.

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #755

            @jhg
            In /opt/iobroker

            iobroker rebuild discovery --install
            

            versuchen.

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

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jhg
              wrote on last edited by
              #756

              Habe ich durchgeführt.
              Fehler bleibt.

              Habe jetzt nochmals den Smartmeter.gelöscht und dann neu installiert.
              Nur für den benötige ich den serialport, also USB.

              Trotzdem erhalte ich im Log die Fehlermeldung, dass der Smartmeter-Adapter für eine ältere node-version installiert wurde und aktualisiert werden muss.
              Die Aktualisierung habe ich mit npm rebuild manuell gestartet, was dann den Fehler bringt.
              Der Smartmeter-Adapter kann die Serial-Portliste nicht öffnen.

              Thomas BraunT 1 Reply Last reply
              0
              • J jhg

                Habe ich durchgeführt.
                Fehler bleibt.

                Habe jetzt nochmals den Smartmeter.gelöscht und dann neu installiert.
                Nur für den benötige ich den serialport, also USB.

                Trotzdem erhalte ich im Log die Fehlermeldung, dass der Smartmeter-Adapter für eine ältere node-version installiert wurde und aktualisiert werden muss.
                Die Aktualisierung habe ich mit npm rebuild manuell gestartet, was dann den Fehler bringt.
                Der Smartmeter-Adapter kann die Serial-Portliste nicht öffnen.

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #757

                @jhg Dann würde ich analog den smartmeter Adapter auf die aktuelle node Version bauen.

                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

                realwaxR 1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @jhg Dann würde ich analog den smartmeter Adapter auf die aktuelle node Version bauen.

                  realwaxR Offline
                  realwaxR Offline
                  realwax
                  wrote on last edited by
                  #758

                  Eine Frage in die Runde Thema Debian/Rasbian stretch -> buster. - off topic und irgendwie auch nicht.

                  NodesJS 12 läuft bei mir ohne Probleme auf meinen docker container master, wie auf den RBP 3b+. Überall ist stretch drauf.
                  Never change a running system - in diesem Gedanken möchte ich nicht zu früh oder unnötig auf Buster wechseln. (Soweit ich verstanden habe, ist das seit März full freeze)
                  Ab wann schätzt ihr wäre es wichtig, wegen dependencies doch auf Buster zu upzugraden.
                  Danke & LG

                  Thomas BraunT 1 Reply Last reply
                  0
                  • E Online
                    E Online
                    e-s
                    wrote on last edited by
                    #759

                    @apollon77
                    Irgendwie nerven die Einträge:

                    admin.0	2020-05-03 21:23:45.231	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:22:17.985	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:21:11.581	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:20:18.463	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:19:02.562	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:18:17.302	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:17:01.222	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:16:08.045	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:15:48.477	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:14:11.902	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:12:56.607	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:08:14.165	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:06:44.568	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    admin.0	2020-05-03 21:04:19.204	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                    

                    Passiert jedes mal wenn ich unter Objekte den Schlüssel drücke, keine Ahnung welcher Adapter nun daran Schuld ist.

                    apollon77A 1 Reply Last reply
                    0
                    • realwaxR realwax

                      Eine Frage in die Runde Thema Debian/Rasbian stretch -> buster. - off topic und irgendwie auch nicht.

                      NodesJS 12 läuft bei mir ohne Probleme auf meinen docker container master, wie auf den RBP 3b+. Überall ist stretch drauf.
                      Never change a running system - in diesem Gedanken möchte ich nicht zu früh oder unnötig auf Buster wechseln. (Soweit ich verstanden habe, ist das seit März full freeze)
                      Ab wann schätzt ihr wäre es wichtig, wegen dependencies doch auf Buster zu upzugraden.
                      Danke & LG

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by Thomas Braun
                      #760

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

                      (Soweit ich verstanden habe, ist das seit März full freeze)

                      Aber seit März 2019. So langsam könnte man darüber nachdenken, von 'oldstable' (Stretch) auf 'stable' (Buster) zu wechseln.
                      Auf der anderen Seite: Solange da nichts 'kneift' ist das nicht unbedingt erforderlich. Ich würde nur dann die 'default'-Quelle für iobroker aktivieren, sonst könnte es schneller kneifen, da die Entwicklung in 'latest' ja voranschreitet.

                      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

                      realwaxR 1 Reply Last reply
                      1
                      • FeuersturmF Online
                        FeuersturmF Online
                        Feuersturm
                        wrote on last edited by
                        #761

                        Ich möchte einfach einmal Danke an die Entwickler (besonders an @apollon77 ) für ihren unermüdlichen Einsatz in ihrer Freizeit sagen. Ich habe gestern abend auf js-controller 3.0.20 aktualisiert mit Node.js: v12.16.3 und NPM: 6.14.4
                        Das System läuft seitdem ohne Warnungen oder Fehler 🙂
                        Dankeschön.👏

                        M 1 Reply Last reply
                        2
                        • E e-s

                          @apollon77
                          Irgendwie nerven die Einträge:

                          admin.0	2020-05-03 21:23:45.231	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:22:17.985	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:21:11.581	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:20:18.463	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:19:02.562	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:18:17.302	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:17:01.222	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:16:08.045	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:15:48.477	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:14:11.902	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:12:56.607	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:08:14.165	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:06:44.568	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          admin.0	2020-05-03 21:04:19.204	warn	readFile will not read this file (words.js) in future versions: template.admin is not an object of type "meta"
                          

                          Passiert jedes mal wenn ich unter Objekte den Schlüssel drücke, keine Ahnung welcher Adapter nun daran Schuld ist.

                          apollon77A Offline
                          apollon77A Offline
                          apollon77
                          wrote on last edited by
                          #762

                          @e-s siehe weiter oben. Die verschwinden noch in der finalen Version.

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          1 Reply Last reply
                          0
                          • apollon77A apollon77

                            @Thisoft vor allem der Mssql war in 1.11 kaputt und haben wir mit einigen Usern im Forum getestet. Daher sollte an sich tun.

                            Ich schaue nochmal heute Abend. Bitte mach nochmal die 1.12 und Starterin debug und zeig mal das log davon bitte.

                            ThisoftT Offline
                            ThisoftT Offline
                            Thisoft
                            wrote on last edited by
                            #763

                            @apollon77 hab's nochmal getestet. Hier das Log:

                            2020-05-04 00:10:42.867  - info: sql.0 (9156) Adapter is disabled => stop
                            2020-05-04 00:10:43.053  - info: host.ioBroker-Ubuntu iobroker NPM version: 6.14.4
                            2020-05-04 00:10:43.054  - info: host.ioBroker-Ubuntu iobroker npm install iobroker.sql@1.12.3 --loglevel error --prefix "/opt/iobroker" (System call)
                            2020-05-04 00:10:43.172  - error: sql.0 (9156) uncaught exception: Cannot read property 'return' of null
                            2020-05-04 00:10:43.172  - error: sql.0 (9156) TypeError: Cannot read property 'return' of null
                               at /opt/iobroker/node_modules/iobroker.sql/main.js:1246:24
                               at /opt/iobroker/node_modules/iobroker.sql/lib/mssql-client.js:46:17
                               at /opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/main.js:1588:20
                               at Request.userCallback (/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/tedious.js:853:61)
                               at Request.callback (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/request.js:33:27)
                               at Connection.message (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:1179:27)
                               at Connection.dispatchEvent (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:519:45)
                               at MessageIO.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:439:23)
                               at MessageIO.emit (events.js:310:20)
                               at MessageIO.EventEmitter.emit (domain.js:482:12)
                            2020-05-04 00:10:43.173  - warn: sql.0 (9156) Exception: TypeError: Cannot read property 'return' of null
                            2020-05-04 00:10:43.173  - error: sql.0 (9156) uncaught exception: Cannot read property 'return' of null
                            2020-05-04 00:10:43.173  - error: sql.0 (9156) TypeError: Cannot read property 'return' of null
                               at /opt/iobroker/node_modules/iobroker.sql/main.js:1286:24
                               at /opt/iobroker/node_modules/iobroker.sql/lib/mssql-client.js:46:17
                               at /opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/main.js:1588:20
                               at Request.userCallback (/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/tedious.js:853:61)
                               at Request.callback (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/request.js:33:27)
                               at Connection.message (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:1179:27)
                               at Connection.dispatchEvent (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:519:45)
                               at MessageIO.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:439:23)
                               at MessageIO.emit (events.js:310:20)
                               at MessageIO.EventEmitter.emit (domain.js:482:12)
                            2020-05-04 00:10:43.173  - warn: sql.0 (9156) Exception: TypeError: Cannot read property 'return' of null
                            2020-05-04 00:10:43.175  - error: sql.0 (9156) uncaught exception: Cannot read property 'return' of null
                            2020-05-04 00:10:43.175  - error: sql.0 (9156) TypeError: Cannot read property 'return' of null
                               at /opt/iobroker/node_modules/iobroker.sql/main.js:1246:24
                               at /opt/iobroker/node_modules/iobroker.sql/lib/mssql-client.js:46:17
                               at /opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/main.js:1588:20
                               at Request.userCallback (/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/tedious.js:853:61)
                               at Request.callback (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/request.js:33:27)
                               at Connection.message (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:1179:27)
                               at Connection.dispatchEvent (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:519:45)
                               at MessageIO.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:439:23)
                               at MessageIO.emit (events.js:310:20)
                               at MessageIO.EventEmitter.emit (domain.js:482:12)
                            2020-05-04 00:10:43.175  - warn: sql.0 (9156) Exception: TypeError: Cannot read property 'return' of null
                            2020-05-04 00:10:43.370  - info: sql.0 (9156) terminating
                            2020-05-04 00:10:43.370  - info: sql.0 (9156) Terminated (NO_ERROR): Without reason
                            2020-05-04 00:10:43.895  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 terminated with code 0 (NO_ERROR)
                            2020-05-04 00:10:43.895  - info: host.ioBroker-Ubuntu Do not restart adapter system.adapter.sql.0 because disabled or deleted
                            2020-05-04 00:11:00.756  - info: host.ioBroker-Ubuntu iobroker upload [5] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/words.js words.js application/javascript
                            2020-05-04 00:11:00.785  - info: host.ioBroker-Ubuntu iobroker Update "system.adapter.sql.0"
                            2020-05-04 00:11:00.897  - info: host.ioBroker-Ubuntu iobroker upload [4] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/sql.png sql.png image/png
                            2020-05-04 00:11:00.950  - info: host.ioBroker-Ubuntu iobroker upload [3] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/index_m.html index_m.html text/html
                            2020-05-04 00:11:01.003  - info: host.ioBroker-Ubuntu iobroker upload [2] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/index.html index.html text/html
                            2020-05-04 00:11:01.056  - info: host.ioBroker-Ubuntu iobroker upload [1] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/custom_m.html custom_m.html text/html
                            2020-05-04 00:11:01.111  - info: host.ioBroker-Ubuntu iobroker upload [0] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/custom.html custom.html text/html
                            2020-05-04 00:11:01.164  - info: host.ioBroker-Ubuntu iobroker Adapter "sql" updated
                            2020-05-04 00:11:01.165  - info: host.ioBroker-Ubuntu iobroker host.ioBroker-Ubuntu Adapter "system.adapter.sql.0" is started
                            2020-05-04 00:11:01.179  - info: host.ioBroker-Ubuntu "system.adapter.sql.0" enabled
                            2020-05-04 00:11:01.194  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 started with pid 20213
                            2020-05-04 00:11:02.111  - info: sql.0 (20213) starting. Version 1.12.3 in /opt/iobroker/node_modules/iobroker.sql, node: v12.16.3, js-controller: 3.0.20
                            2020-05-04 00:11:02.187  - info: host.ioBroker-Ubuntu iobroker exit 0
                            2020-05-04 00:11:02.366  - error: sql.0 (20213) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:11:32.376  - error: sql.0 (20213) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:11:52.300  - info: host.ioBroker-Ubuntu "system.adapter.sql.0" disabled
                            2020-05-04 00:11:52.300  - info: host.ioBroker-Ubuntu stopInstance system.adapter.sql.0 (force=false, process=true)
                            2020-05-04 00:11:52.514  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 terminated with code 0 (NO_ERROR)
                            2020-05-04 00:11:52.515  - info: host.ioBroker-Ubuntu Do not restart adapter system.adapter.sql.0 because disabled or deleted
                            2020-05-04 00:12:00.011  - info: host.ioBroker-Ubuntu instance system.adapter.weatherunderground.0 started with pid 20262
                            2020-05-04 00:12:00.889  - info: weatherunderground.0 (20262) starting. Version 3.2.1 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v12.16.3, js-controller: 3.0.20
                            2020-05-04 00:12:04.702  - info: weatherunderground.0 (20262) Terminated (NO_ERROR): Without reason
                            2020-05-04 00:12:05.207  - info: host.ioBroker-Ubuntu instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
                            2020-05-04 00:12:57.822  - info: host.ioBroker-Ubuntu "system.adapter.sql.0" enabled
                            2020-05-04 00:12:57.846  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 started with pid 20316
                            2020-05-04 00:12:58.865  - info: sql.0 (20316) starting. Version 1.12.3 in /opt/iobroker/node_modules/iobroker.sql, node: v12.16.3, js-controller: 3.0.20
                            2020-05-04 00:12:59.122  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:13:29.133  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:13:59.142  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:14:29.151  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:14:59.160  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:15:23.599  - info: host.ioBroker-Ubuntu stopInstance system.adapter.sql.0 (force=false, process=true)
                            2020-05-04 00:15:23.815  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 terminated with code 0 (NO_ERROR)
                            2020-05-04 00:15:23.816  - info: host.ioBroker-Ubuntu Restart adapter system.adapter.sql.0 because enabled
                            2020-05-04 00:15:24.834  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 started with pid 20378
                            2020-05-04 00:15:25.085  - debug: sql.0 (20378) Redis Objects: Use Redis connection: 0.0.0.0:9001
                            2020-05-04 00:15:25.100  - debug: sql.0 (20378) Objects client ready ... initialize now
                            2020-05-04 00:15:25.101  - debug: sql.0 (20378) Objects create System PubSub Client
                            2020-05-04 00:15:25.102  - debug: sql.0 (20378) Objects create User PubSub Client
                            2020-05-04 00:15:25.102  - debug: sql.0 (20378) Objects client initialize lua scripts
                            2020-05-04 00:15:25.108  - debug: sql.0 (20378) Objects connected to redis: 0.0.0.0:9001
                            2020-05-04 00:15:25.111  - debug: sql.0 (20378) objectDB connected
                            2020-05-04 00:15:25.112  - debug: sql.0 (20378) Redis States: Use Redis connection: 0.0.0.0:9000
                            2020-05-04 00:15:25.115  - debug: sql.0 (20378) States create User PubSub Client
                            2020-05-04 00:15:25.116  - debug: sql.0 (20378) States create System PubSub Client
                            2020-05-04 00:15:25.119  - debug: sql.0 (20378) States connected to redis: 0.0.0.0:9000
                            2020-05-04 00:15:25.119  - debug: sql.0 (20378) statesDB connected
                            2020-05-04 00:15:25.679  - debug: sql.0 (20378) Plugin sentry Initialize Plugin (enabled=true)
                            2020-05-04 00:15:25.722  - info: sql.0 (20378) starting. Version 1.12.3 in /opt/iobroker/node_modules/iobroker.sql, node: v12.16.3, js-controller: 3.0.20
                            2020-05-04 00:15:26.007  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:15:56.016  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:16:26.024  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:16:56.031  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:17:26.038  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:17:56.047  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            2020-05-04 00:18:26.054  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                            


                            Seltsamerweise schreibt er da während der Installation Fehler ins Log obwohl er in der Konsolenbox im Admin keine anzeigt und auch sagt dass das Update mit Code 0 beendet wurde.

                            22 HM-Geräte; PivCCU2 auf RasPi

                            ioBroker-Multihost; Ubuntu-Master auf Intel-Atom und 3 RasPi-Clients

                            apollon77A 1 Reply Last reply
                            0
                            • ThisoftT Thisoft

                              @apollon77 hab's nochmal getestet. Hier das Log:

                              2020-05-04 00:10:42.867  - info: sql.0 (9156) Adapter is disabled => stop
                              2020-05-04 00:10:43.053  - info: host.ioBroker-Ubuntu iobroker NPM version: 6.14.4
                              2020-05-04 00:10:43.054  - info: host.ioBroker-Ubuntu iobroker npm install iobroker.sql@1.12.3 --loglevel error --prefix "/opt/iobroker" (System call)
                              2020-05-04 00:10:43.172  - error: sql.0 (9156) uncaught exception: Cannot read property 'return' of null
                              2020-05-04 00:10:43.172  - error: sql.0 (9156) TypeError: Cannot read property 'return' of null
                                 at /opt/iobroker/node_modules/iobroker.sql/main.js:1246:24
                                 at /opt/iobroker/node_modules/iobroker.sql/lib/mssql-client.js:46:17
                                 at /opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/main.js:1588:20
                                 at Request.userCallback (/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/tedious.js:853:61)
                                 at Request.callback (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/request.js:33:27)
                                 at Connection.message (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:1179:27)
                                 at Connection.dispatchEvent (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:519:45)
                                 at MessageIO.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:439:23)
                                 at MessageIO.emit (events.js:310:20)
                                 at MessageIO.EventEmitter.emit (domain.js:482:12)
                              2020-05-04 00:10:43.173  - warn: sql.0 (9156) Exception: TypeError: Cannot read property 'return' of null
                              2020-05-04 00:10:43.173  - error: sql.0 (9156) uncaught exception: Cannot read property 'return' of null
                              2020-05-04 00:10:43.173  - error: sql.0 (9156) TypeError: Cannot read property 'return' of null
                                 at /opt/iobroker/node_modules/iobroker.sql/main.js:1286:24
                                 at /opt/iobroker/node_modules/iobroker.sql/lib/mssql-client.js:46:17
                                 at /opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/main.js:1588:20
                                 at Request.userCallback (/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/tedious.js:853:61)
                                 at Request.callback (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/request.js:33:27)
                                 at Connection.message (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:1179:27)
                                 at Connection.dispatchEvent (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:519:45)
                                 at MessageIO.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:439:23)
                                 at MessageIO.emit (events.js:310:20)
                                 at MessageIO.EventEmitter.emit (domain.js:482:12)
                              2020-05-04 00:10:43.173  - warn: sql.0 (9156) Exception: TypeError: Cannot read property 'return' of null
                              2020-05-04 00:10:43.175  - error: sql.0 (9156) uncaught exception: Cannot read property 'return' of null
                              2020-05-04 00:10:43.175  - error: sql.0 (9156) TypeError: Cannot read property 'return' of null
                                 at /opt/iobroker/node_modules/iobroker.sql/main.js:1246:24
                                 at /opt/iobroker/node_modules/iobroker.sql/lib/mssql-client.js:46:17
                                 at /opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/main.js:1588:20
                                 at Request.userCallback (/opt/iobroker/node_modules/iobroker.sql/node_modules/mssql/lib/tedious.js:853:61)
                                 at Request.callback (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/request.js:33:27)
                                 at Connection.message (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:1179:27)
                                 at Connection.dispatchEvent (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:519:45)
                                 at MessageIO.<anonymous> (/opt/iobroker/node_modules/iobroker.sql/node_modules/tedious/lib/connection.js:439:23)
                                 at MessageIO.emit (events.js:310:20)
                                 at MessageIO.EventEmitter.emit (domain.js:482:12)
                              2020-05-04 00:10:43.175  - warn: sql.0 (9156) Exception: TypeError: Cannot read property 'return' of null
                              2020-05-04 00:10:43.370  - info: sql.0 (9156) terminating
                              2020-05-04 00:10:43.370  - info: sql.0 (9156) Terminated (NO_ERROR): Without reason
                              2020-05-04 00:10:43.895  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 terminated with code 0 (NO_ERROR)
                              2020-05-04 00:10:43.895  - info: host.ioBroker-Ubuntu Do not restart adapter system.adapter.sql.0 because disabled or deleted
                              2020-05-04 00:11:00.756  - info: host.ioBroker-Ubuntu iobroker upload [5] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/words.js words.js application/javascript
                              2020-05-04 00:11:00.785  - info: host.ioBroker-Ubuntu iobroker Update "system.adapter.sql.0"
                              2020-05-04 00:11:00.897  - info: host.ioBroker-Ubuntu iobroker upload [4] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/sql.png sql.png image/png
                              2020-05-04 00:11:00.950  - info: host.ioBroker-Ubuntu iobroker upload [3] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/index_m.html index_m.html text/html
                              2020-05-04 00:11:01.003  - info: host.ioBroker-Ubuntu iobroker upload [2] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/index.html index.html text/html
                              2020-05-04 00:11:01.056  - info: host.ioBroker-Ubuntu iobroker upload [1] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/custom_m.html custom_m.html text/html
                              2020-05-04 00:11:01.111  - info: host.ioBroker-Ubuntu iobroker upload [0] sql.admin /opt/iobroker/node_modules/iobroker.sql/admin/custom.html custom.html text/html
                              2020-05-04 00:11:01.164  - info: host.ioBroker-Ubuntu iobroker Adapter "sql" updated
                              2020-05-04 00:11:01.165  - info: host.ioBroker-Ubuntu iobroker host.ioBroker-Ubuntu Adapter "system.adapter.sql.0" is started
                              2020-05-04 00:11:01.179  - info: host.ioBroker-Ubuntu "system.adapter.sql.0" enabled
                              2020-05-04 00:11:01.194  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 started with pid 20213
                              2020-05-04 00:11:02.111  - info: sql.0 (20213) starting. Version 1.12.3 in /opt/iobroker/node_modules/iobroker.sql, node: v12.16.3, js-controller: 3.0.20
                              2020-05-04 00:11:02.187  - info: host.ioBroker-Ubuntu iobroker exit 0
                              2020-05-04 00:11:02.366  - error: sql.0 (20213) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:11:32.376  - error: sql.0 (20213) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:11:52.300  - info: host.ioBroker-Ubuntu "system.adapter.sql.0" disabled
                              2020-05-04 00:11:52.300  - info: host.ioBroker-Ubuntu stopInstance system.adapter.sql.0 (force=false, process=true)
                              2020-05-04 00:11:52.514  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 terminated with code 0 (NO_ERROR)
                              2020-05-04 00:11:52.515  - info: host.ioBroker-Ubuntu Do not restart adapter system.adapter.sql.0 because disabled or deleted
                              2020-05-04 00:12:00.011  - info: host.ioBroker-Ubuntu instance system.adapter.weatherunderground.0 started with pid 20262
                              2020-05-04 00:12:00.889  - info: weatherunderground.0 (20262) starting. Version 3.2.1 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v12.16.3, js-controller: 3.0.20
                              2020-05-04 00:12:04.702  - info: weatherunderground.0 (20262) Terminated (NO_ERROR): Without reason
                              2020-05-04 00:12:05.207  - info: host.ioBroker-Ubuntu instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
                              2020-05-04 00:12:57.822  - info: host.ioBroker-Ubuntu "system.adapter.sql.0" enabled
                              2020-05-04 00:12:57.846  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 started with pid 20316
                              2020-05-04 00:12:58.865  - info: sql.0 (20316) starting. Version 1.12.3 in /opt/iobroker/node_modules/iobroker.sql, node: v12.16.3, js-controller: 3.0.20
                              2020-05-04 00:12:59.122  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:13:29.133  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:13:59.142  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:14:29.151  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:14:59.160  - error: sql.0 (20316) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:15:23.599  - info: host.ioBroker-Ubuntu stopInstance system.adapter.sql.0 (force=false, process=true)
                              2020-05-04 00:15:23.815  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 terminated with code 0 (NO_ERROR)
                              2020-05-04 00:15:23.816  - info: host.ioBroker-Ubuntu Restart adapter system.adapter.sql.0 because enabled
                              2020-05-04 00:15:24.834  - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 started with pid 20378
                              2020-05-04 00:15:25.085  - debug: sql.0 (20378) Redis Objects: Use Redis connection: 0.0.0.0:9001
                              2020-05-04 00:15:25.100  - debug: sql.0 (20378) Objects client ready ... initialize now
                              2020-05-04 00:15:25.101  - debug: sql.0 (20378) Objects create System PubSub Client
                              2020-05-04 00:15:25.102  - debug: sql.0 (20378) Objects create User PubSub Client
                              2020-05-04 00:15:25.102  - debug: sql.0 (20378) Objects client initialize lua scripts
                              2020-05-04 00:15:25.108  - debug: sql.0 (20378) Objects connected to redis: 0.0.0.0:9001
                              2020-05-04 00:15:25.111  - debug: sql.0 (20378) objectDB connected
                              2020-05-04 00:15:25.112  - debug: sql.0 (20378) Redis States: Use Redis connection: 0.0.0.0:9000
                              2020-05-04 00:15:25.115  - debug: sql.0 (20378) States create User PubSub Client
                              2020-05-04 00:15:25.116  - debug: sql.0 (20378) States create System PubSub Client
                              2020-05-04 00:15:25.119  - debug: sql.0 (20378) States connected to redis: 0.0.0.0:9000
                              2020-05-04 00:15:25.119  - debug: sql.0 (20378) statesDB connected
                              2020-05-04 00:15:25.679  - debug: sql.0 (20378) Plugin sentry Initialize Plugin (enabled=true)
                              2020-05-04 00:15:25.722  - info: sql.0 (20378) starting. Version 1.12.3 in /opt/iobroker/node_modules/iobroker.sql, node: v12.16.3, js-controller: 3.0.20
                              2020-05-04 00:15:26.007  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:15:56.016  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:16:26.024  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:16:56.031  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:17:26.038  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:17:56.047  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              2020-05-04 00:18:26.054  - error: sql.0 (20378) ConnectionError: Failed to connect to 192.168.137.13:1433 - Cannot call write after a stream was destroyed
                              


                              Seltsamerweise schreibt er da während der Installation Fehler ins Log obwohl er in der Konsolenbox im Admin keine anzeigt und auch sagt dass das Update mit Code 0 beendet wurde.

                              apollon77A Offline
                              apollon77A Offline
                              apollon77
                              wrote on last edited by
                              #764

                              @Thisoft Also irgendwas ist sehr schräg ... die Code Teile die da meckert ist definitiv nicht von der 1.12.3! Sieht eher wir eine frühere version aus. Da war noch was altes. nach 0:15 Uhr sieht es ja dann besser aus

                              Generell gab es zwischen 1.9.x und 1.12 ein grosses Update der verwendeten MSSQL Library wie weiter oben schon gesagt (an sich ist das Thema eigentlich ein sql Adapter issue ... hier falsch aber naja). Ich habe mal die Issues durchgeschaut und nichts gefunden was deinem problem ähnelt.
                              Was ist es denn für ein MSSQL Server? In der Liste hier drin? https://www.npmjs.com/package/tedious#supported-tds-versions .

                              EDIT: Ha, ist galub ich hab was:
                              https://github.com/tediousjs/tedious/issues/931

                              Versuch mal GitHub version vom adapter bitte

                              bj9215 created this issue in tediousjs/tedious

                              closed ConnectionError: Failed to connect to {{host}}:1433 - Cannot call write after a stream was destroyed #931

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              ThisoftT 1 Reply Last reply
                              1
                              • apollon77A apollon77

                                @Thisoft Also irgendwas ist sehr schräg ... die Code Teile die da meckert ist definitiv nicht von der 1.12.3! Sieht eher wir eine frühere version aus. Da war noch was altes. nach 0:15 Uhr sieht es ja dann besser aus

                                Generell gab es zwischen 1.9.x und 1.12 ein grosses Update der verwendeten MSSQL Library wie weiter oben schon gesagt (an sich ist das Thema eigentlich ein sql Adapter issue ... hier falsch aber naja). Ich habe mal die Issues durchgeschaut und nichts gefunden was deinem problem ähnelt.
                                Was ist es denn für ein MSSQL Server? In der Liste hier drin? https://www.npmjs.com/package/tedious#supported-tds-versions .

                                EDIT: Ha, ist galub ich hab was:
                                https://github.com/tediousjs/tedious/issues/931

                                Versuch mal GitHub version vom adapter bitte

                                bj9215 created this issue in tediousjs/tedious

                                closed ConnectionError: Failed to connect to {{host}}:1433 - Cannot call write after a stream was destroyed #931

                                ThisoftT Offline
                                ThisoftT Offline
                                Thisoft
                                wrote on last edited by
                                #765

                                @apollon77 Du hast 100 Punkte 🙂 Das war ein Treffer. Die GitHub-Version funktioniert ohne Fehlermeldungen.
                                Ich hab übrigens SQLServer 2014, sollte also lt. der verlinkten Liste supported sein.

                                22 HM-Geräte; PivCCU2 auf RasPi

                                ioBroker-Multihost; Ubuntu-Master auf Intel-Atom und 3 RasPi-Clients

                                apollon77A 1 Reply Last reply
                                1
                                • FeuersturmF Feuersturm

                                  Ich möchte einfach einmal Danke an die Entwickler (besonders an @apollon77 ) für ihren unermüdlichen Einsatz in ihrer Freizeit sagen. Ich habe gestern abend auf js-controller 3.0.20 aktualisiert mit Node.js: v12.16.3 und NPM: 6.14.4
                                  Das System läuft seitdem ohne Warnungen oder Fehler 🙂
                                  Dankeschön.👏

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

                                  Auch mein großen Dank an alle Entwickler.
                                  Auch bei mir verlief die Umstellung auf 3.0.20 und Update auf Node.js 12 ohne Probleme.

                                  Der BLE- Adapter funktionierte am Anfang nicht und musste "nachbehandelt" werden.
                                  https://forum.iobroker.net/topic/32985/gelöst-ble-adapter-crashed-nach-update-auf-node-js-v12

                                  Bildschirmfoto 2020-05-04 um 06.02.39.jpg

                                  Wie man sehen kann, benutze ich den compact Modus relativ intensiv. Mein Memory Bedarf hat sich gefühlsmäßig durch das Update auch verbessert.

                                  Mit Node 10 hatte ich ab und zu Betriebssystemabstürze, wenn ich Adapter upgedatet habe oder auch wenn ich zu viele Admin Tabs auf hatte. Mal sehn, ob das jetzt mit dem neuen Heap Management von Node 12 besser wird.

                                  Ich glaube auch, dass sich die Admin Oberfläche flüssiger bedienen lässt. Insbesondere das Script Fenster öffnet sich schneller.

                                  Der hartnäckige Syntaxchecker Bug, der bei require (z.B. var DP = require('dewpoint');) immer das fehlende Modul markiert, ist leider immer noch da.

                                  Jetzt hoffe ich nur, dass das Ganze langzeitstabil ist.

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

                                  1 Reply Last reply
                                  1
                                  • ThisoftT Thisoft

                                    @apollon77 Du hast 100 Punkte 🙂 Das war ein Treffer. Die GitHub-Version funktioniert ohne Fehlermeldungen.
                                    Ich hab übrigens SQLServer 2014, sollte also lt. der verlinkten Liste supported sein.

                                    apollon77A Offline
                                    apollon77A Offline
                                    apollon77
                                    wrote on last edited by
                                    #767

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

                                    reffer.

                                    Super, dann kommt das später als Version

                                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                    1 Reply Last reply
                                    0
                                    • apollon77A Offline
                                      apollon77A Offline
                                      apollon77
                                      wrote on last edited by
                                      #768

                                      An alle radar2 Nutzer ... Frank hat eine neue Version 1.2.3 ins Latest gepublished ... bitte checken. Die sollte mit nodejs 12 (bluetooth) besser klar kommen und auch die Meldungen beseitigen

                                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        steimi
                                        wrote on last edited by
                                        #769

                                        Wenn man die Version aktualisiert wird dies als fehlerfrei angezeigt, allerdings wird das Adapter-Update auf die 1.2.3 immer wieder angezeigt.

                                        DiginixD 1 Reply Last reply
                                        0
                                        • D Offline
                                          D Offline
                                          dtp
                                          wrote on last edited by
                                          #770

                                          Mein ioBroker läuft super rund und stabil in der aktuellen Version. Allerdings habe ich noch node.js 10 installiert. Sollte ich trotzdem auf Version 12 upgraden? Wenn ja, warum?

                                          ioBroker im Docker-Container auf Synology DiskStation DS718+, HomeMatic IP über CCU3, IKEA Dirigera inkl. Matter, Apple Homekit, Amazon Alexa.

                                          J apollon77A 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          167

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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