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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 3.0/3.1 jetzt im Latest!

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                  • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            711
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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