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.
    • apollon77
      apollon77 @liv-in-sky last edited by

      @liv-in-sky jetzt macht euch keinen Kopf. Die Meldungen fliegen wieder raus in der finalen Version

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @e-i-k-e last edited by

        @e-i-k-e ja klar. Sind verschiedene Versionen von SQLite drin und das will gebaut werden. Ich baue mal noch was ein das das rebuild automatisch passiert.

        1 Reply Last reply Reply Quote 1
        • liv-in-sky
          liv-in-sky @apollon77 last edited by

          @apollon77 danke

          1 Reply Last reply Reply Quote 0
          • E
            e-i-k-e last edited by e-i-k-e

            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 Reply Quote 0
            • J
              jhg last edited by

              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 Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @jhg last edited by Thomas Braun

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

                1 Reply Last reply Reply Quote 0
                • J
                  jhg last edited by

                  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 Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @jhg last edited by

                    @jhg
                    In /opt/iobroker

                    iobroker rebuild discovery --install
                    

                    versuchen.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jhg last edited by

                      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 Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @jhg last edited by

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

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

                          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 Braun 1 Reply Last reply Reply Quote 0
                          • E
                            e-s last edited by

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

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

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

                              realwax 1 Reply Last reply Reply Quote 1
                              • Feuersturm
                                Feuersturm last edited by

                                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 Reply Quote 2
                                • apollon77
                                  apollon77 @e-s last edited by

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

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

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

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

                                      @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

                                      Thisoft 1 Reply Last reply Reply Quote 1
                                      • Thisoft
                                        Thisoft @apollon77 last edited by

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

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

                                          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.

                                          1 Reply Last reply Reply Quote 1
                                          • apollon77
                                            apollon77 @Thisoft last edited by

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

                                            reffer.

                                            Super, dann kommt das später als Version

                                            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

                                            616
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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