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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    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 @Thisoft last edited by

      @Thisoft ip ist korrekt? Port auch? Es sieht so aus als ob die dB Verbindung geschlossen wird. Sagt das logfile der Datenbank irgendwas?

      Downgrade gern mal auf sql 1.9.x und schau was da passiert. Würde mich aber wundern wenn es da tut.

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

        @Peoples Jupp. So soll es quasi sein.

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

          @apollon77 Auch wenn Du's nicht erwartest, aber die Version 1.9.5 funktioniert. Was mir dabei allerdings auffällt, er führt beim Starten automatisch ein Rebuild aus:

          2020-05-03 11:34:26.099 - info: host.ioBroker-Ubuntu Adapter system.adapter.sql.0 needs rebuild and will be restarted afterwards.
          2020-05-03 11:34:26.099 - info: host.ioBroker-Ubuntu system.adapter.sql.0 will be rebuilt
          2020-05-03 11:34:26.099 - warn: host.ioBroker-Ubuntu adapter "sql" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
          2020-05-03 11:34:26.100 - info: host.ioBroker-Ubuntu iobroker rebuild sql --install
          2020-05-03 11:34:26.240 - info: host.ioBroker-Ubuntu iobroker npm-rebuild: npm install --loglevel error --production (System call) in "/opt/iobroker/node_modules/iobroker.sql"
          2020-05-03 11:34:40.150 - info: host.ioBroker-Ubuntu iobroker npm-rebuild: ../deps/libmagic/src/fsmagic.c: In function ‘file_fsmagic’:../deps/libmagic/src/fsmagic.c:223:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . COMMA, (long)major(sb->st_rdev), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/libmagic/src/fsmagic.c:224:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . (long)minor(sb->st_rdev)) == -1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/libmagic/src/fsmagic.c:258:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . COMMA, (long)major(sb->st_rdev), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/libmagic/src/fsmagic.c:259:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . (long)minor(sb->st_rdev)) == -1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 
          2020-05-03 11:34:45.056 - info: host.ioBroker-Ubuntu iobroker npm-rebuild: 
          2020-05-03 11:34:45.057 - info: host.ioBroker-Ubuntu iobroker npm-rebuild: Rebuild sql done
          2020-05-03 11:34:46.060 - info: host.ioBroker-Ubuntu iobroker npm-rebuild: exit 0
          2020-05-03 11:34:46.082 - info: host.ioBroker-Ubuntu instance system.adapter.sql.0 started with pid 7239
          

          Wenn ich wieder auf die 1.12 gehe macht er das nicht - und es funktioniert eben auch nicht...

          Übrigens, ich hab einen MS-SQLServer im Einsatz. Ist der vielleicht zu selten um genug getestet zu sein 😉 ?

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

            @apollon77 Würde ich natürlich machen, aber ich stehe mit dem VIS auf Kriegsfuß und blicke bis heute bei dem Tool nicht durch. Ich habe über die Zeit vermutlich irgendwo in den Verzeichnissen herumgefummelt und ich würde nicht ausschließen, dass ich da Mist gebaut habe und dass die Warnings drauf zurückzuführen sind.

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

              @apollon77

              vis alleine ist das nicht

              habe auch von sayit meldungen - leider weiß ich nicht mehr, wo diese dateien herkommen (ob das standard dateien sind oder ob ich kopiert habe) - sayit habe ich schon ewig nicht mehr angesehen - die dateien liegen unter
              Image 4.png

              readFile	2020-05-03 16:03:35.104	warn	will not read this file (tts.userfiles/gong.mp3) in future versions: sayit.0 is not an object of type "meta"
              sayit.0	2020-05-03 16:03:35.103	warn	(423) readFile will not read this file (tts.userfiles/gong.mp3) in future versions: sayit.0 is not an object of type "meta"
              readFile	2020-05-03 16:03:35.100	warn	will not read this file (tts.userfiles/scifi.mp3) in future versions: sayit.0 is not an object of type "meta"
              sayit.0	2020-05-03 16:03:35.064	warn	(423) readFile will not read this file (tts.userfiles/scifi.mp3) in future versions: sayit.0 is not an object of type "meta"
              

              muss bei jedem adapter ein git issue angelegt werden ?

              crunchip apollon77 2 Replies Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @liv-in-sky last edited by

                @liv-in-sky hehe, ich schon wieder
                scheinbar standard Dateien, die habe ich auch, habe sie auch bereits gelöscht und werden wieder angelegt

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

                  @crunchip bekommst du die warnungen auch im log ?

                  crunchip 1 Reply Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active @liv-in-sky last edited by

                    @liv-in-sky ja

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

                      @crunchip diese files finde ich wenigstens - die anderen von weiter oben finde ich nicht mal - da scheint tatsächlich irgendwo in der vis noch etwas altes zu stehen ???

                      crunchip apollon77 2 Replies Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @liv-in-sky last edited by

                        @liv-in-sky welche meinst du?

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

                          @crunchip

                          https://forum.iobroker.net/post/424007

                          crunchip 1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @liv-in-sky last edited by crunchip

                            @liv-in-sky hat ich doch direkt ein post darunter geschrieben,
                            ah...editiert, ...
                            dazu hab ich leider keine Idee

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

                              Moin,
                              js.controller läuft auf 3.0.20.
                              Habe soeben ein update von node.js 10 auf 12 gewagt.

                              Bis auf einen Adapter läuft alles.
                              Der SQL-Adapter (Version 1.12.3) steht auf Gelb.
                              Auszug aus dem log.

                              sql.0	2020-05-03 14:39:38.818	error	(12037) TypeError: Cannot read property 'close' of undefined
                              sql.0	2020-05-03 14:39:38.818	error	(12037) TypeError: Cannot read property 'close' of undefined
                              sql.0	2020-05-03 16:39:38.818	error	(12037) TypeError: Cannot read property 'close' of undefined
                              sql.0	2020-05-03 16:37:38.810	error	(12037) TypeError: Cannot read property 'close' of undefined
                              sql.0	2020-05-03 16:37:38.809	error	(12037) Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md
                              sql.0	2020-05-03 16:37:08.808	error	(12037) TypeError: Cannot read property 'close' of undefined
                              sql.0	2020-05-03 16:37:08.807	error	(12037) Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md
                              

                              Auch nach einem Downgrade auf 1.9.5 läuft der Adapter nicht.

                              sql.0	2020-05-03 15:13:43.535	error	(5376) TypeError: Cannot read property 'borrow' of undefined
                              sql.0	2020-05-03 15:13:43.534	error	(5376) Selected SQL DB was not installed properly: "sqlite". SQLite requires build tools on system. See README.md
                              sql.0	2020-05-03 15:13:43.498	info	(5376) starting. Version 1.9.5 in /opt/iobroker/node_modules/iobroker.sql, node: v12.16.3, js-controller: 3.0.20
                              

                              Gibt es dazu Lösungen?

                              Edit: SQL wurde soeben grün. Habe iobroker rebuild sql --install ausgeführt. iobroker rebuild sql brachte keine Besserung.
                              Nachdem ich wieder auf die aktuelle Version 1.12.3 gesprungen bin, war der Adapter wieder gelb. Ein erneutes iobroker rebuild sql --install konnte den Fehler beheben.

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

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

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

                                  @liv-in-sky sayit schon bekannt.

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

                                            Support us

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

                                            508
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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