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.
    • Thomas Braun
      Thomas Braun Most Active @freak1051 last edited by

      @freak1051

      iobroker update
      iobroker upgrade
      iobroker stop 
      iobroker upgrade self
      
      F 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Diginix last edited by

        @Diginix sagte in js-controller 3.0/3.1 jetzt im Latest!:

        @Thomas-Braun Bei mir läuft Ubuntu.

        Mach nix. Kann jedem mal passieren.

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

          @Thomas-Braun Sehr unterhaltsam, aber wenig hilfreich...

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

            @Diginix Was willst du denn jetzt hören?
            Ubuntu basiert auf Debian und es gibt von nodesource ein eigenes Repo für Ubuntu.
            ICH würde node sauber installieren. Befehle sind bei ubuntu und debian die gleichen in deinem Fall.

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

              @Thomas-Braun Hat geklappt. iobroker version 3.1.4
              danke dir

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

                @freak1051 sagte in js-controller 3.0/3.1 jetzt im Latest!:

                @Thomas-Braun Hat geklappt. iobroker version 3.1.4
                danke dir

                Fein, freut mich. Und nebenher haben wir dein System und auch node noch sauber gemacht. Tipp am Rande: Mal öfter das System mit

                sudo apt update && sudo apt upgrade
                

                auf Stand halten. Schadet nie. (Bzw. nur äußerst selten...)

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

                  @Thomas-Braun bin da immer wieder nen schisser... never change a running system 🙂

                  Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @freak1051 last edited by

                    @freak1051

                    ...never fix your security issues, never touch your low performance.

                    Debian Stable ist da recht konservativ, was da noch upgedatet wird hat schon seine Berechtigung. In Stable werden nie neue Versionen eingespielt, lediglich patches für existierende Versionen.

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

                      @freak1051 Ich sehe gerade da noch einen 'Fehler'.

                      Zeig mal

                      apt policy node-yargs-parser nodejs-doc
                      

                      Das sollte eigentlich nicht installiert sein.
                      Falls doch:

                      sudo apt remove node-yargs-parser nodejs-doc
                      sudo apt install nodejs --reinstall
                      
                      1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 last edited by

                        @freak1051 sagte in js-controller 3.0/3.1 jetzt im Latest!:

                        Cannot download json from http://download.iobroker.net/sources-dist-latest.json. Error: Error: ESOCKETTIMEDOUT

                        Ihr habt schon diese meldung gesehen oder ?!

                        Entschuldigung und super das es viele Versucht gibts zu helfen ... aber schaut doch bitte genau hin und schaut das offensichtliche zuerst!

                        Wenn das Repofile nicht heruntergeladen werden kann, kann es auch kein aktuelles Repo geben!

                        Ein versuch wäre daher mal zu schauen was zb ein "wget http://download.iobroker.net/sources-dist-latest.json" gibt. Kann das File da runtergeladen werden?

                        Auch Strange was keiner gesehen hat: Bei einem "npm install iobroker.js-controller" müsste Version 3.1.4 kommen und nicht nochmal die 2.2.10 ... heisst da ist noch irgendwas komisch.

                        Also wäre eine Idee ein "npm i iobroker.js-controller@3.1.4" bzw bei Rechtefehlern die sudo Variante wie im Eingangspost. Klappt das?
                        So oder so scheint da irgendwas netzwerktechnisch komisch zu sein ... mehr kann ich jetzt nicht sagen.

                        Für die Zukunft bitte: Hinschauen und mit dem offensichtlichen und "einfachen" Anfangen ... mit apt, nodejs versionen und installationspfaden kann man noch früh genug anfangen 🙂

                        Thomas Braun F 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @apollon77 last edited by

                          @apollon77 Ist doch alles erkannt worden. Und die node Installation war auch meilenweit neben der Spur.

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

                            Hallo,

                            wenn ich mit Safari über Remotezugriff auf meine Vis (pro cloud) zugreife, bekomme ich je nach Komplexität der Seite 20 -40 Errors Meldungen

                            cloud.0	2020-05-21 12:57:19.501	error	(13885) Received unknown command: log
                            

                            Bei Zugriff mit Chrome sind die Fehler weg.
                            Hat jemand einen Tip?

                            Bei einem zweiten iobroker Server, auf dem nur die free cloud aktiv ist, komme keine Fehler mit Zugriff über safari.

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

                              @apollon77 Ich dachte mir schon auch, dass ich "kein Internet" habe... Aber Jegliche Pings gingen raus. also hab ich Persönlich das Ausgeschlossen.

                              Wobei, wie schon gesagt, er hat mir auch seit einiger zeit keine adapter mehr Upgedatet....

                              Mit der neuen Quelle lief alles einwandfrei durch...

                              ausser der IOT.. der hat nun keine Verbindung mehr... weis aber noch nicht warum... Forumsanfrage läuft

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

                                @Thomas-Braun Also ich habs jetzt noch mal zurückgesetzt und die Updates erneut durchgeführt. Danach nicht die Hammer Methode sondern mit

                                iobroker rebuild maxcul
                                

                                Das hat leider überhaupt nichts gebracht.

                                Könnte ich das dann noch mal versuchen ?

                                iobroker rebuild maxcul--install
                                
                                Thomas Braun 1 Reply Last reply Reply Quote -1
                                • Thomas Braun
                                  Thomas Braun Most Active @D3ltoroxp last edited by

                                  @D3ltoroxp sagte in js-controller 3.0/3.1 jetzt im Latest!:

                                  iobroker rebuild maxcul--install

                                  Da fehlt ein Leerzeichen:

                                  iobroker rebuild maxcul --install
                                  
                                  D3ltoroxp 1 Reply Last reply Reply Quote 0
                                  • D3ltoroxp
                                    D3ltoroxp @Thomas Braun last edited by

                                    @Thomas-Braun

                                    Also das hat zumindest den Adapter wieder zum laufen gebracht, Fehler sind aber immer noch vorhanden. Danke

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

                                      @D3ltoroxp
                                      Fehler heißt?

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

                                        @Marty56 Ignorieren. Bite ein Issue bei "cloud" bitte anlegen

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

                                          @Thomas-Braun Sowas ähnliches wie hier. Sobald er wieder in der Log auftaucht, ,melde ich mich noch mal. Grad mal reingeschaut, war nichts zu sehen. Ist aber nicht exakt gleich wie beim verlinkten Fehler.

                                          promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          

                                          EDIT: Und schon sind sie wieder da.

                                          
                                          host.iobroker	2020-05-23 13:11:26.853	info	Restart adapter system.adapter.maxcul.0 because enabled
                                          host.iobroker	2020-05-23 13:11:26.853	info	instance system.adapter.maxcul.0 terminated with code 0 (NO_ERROR)
                                          host.iobroker	2020-05-23 13:11:26.852	error	Caught by controller[0]: Cannot load serialport module
                                          maxcul.0	2020-05-23 13:11:26.311	info	(2353) Terminated (NO_ERROR): Without reason
                                          maxcul.0	2020-05-23 13:11:26.309	info	(2353) terminating
                                          maxcul.0	2020-05-23 13:11:26.260	error	(2353) Error: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'. at Object.Module._extensions..node (internal/modules/cjs/loader.js:1183:1
                                          maxcul.0	2020-05-23 13:11:26.258	error	(2353) unhandled promise rejection: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                                          maxcul.0	2020-05-23 13:11:26.257	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          maxcul.0	2020-05-23 13:11:25.903	info	(2353) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.maxcul, node: v12.16.3, js-controller: 3.1.4
                                          host.iobroker	2020-05-23 13:11:23.689	info	instance system.adapter.maxcul.0 started with pid 2353
                                          fhem.0	2020-05-23 13:11:15.511	info	(345) stateChange: fhem.0.info.Commands.sendFHEM | set fhem.0.alive on-for-timer 360 > set fhem.0.alive on-for-timer 360
                                          host.iobroker	2020-05-23 13:10:53.650	info	Restart adapter system.adapter.maxcul.0 because enabled
                                          host.iobroker	2020-05-23 13:10:53.650	info	instance system.adapter.maxcul.0 terminated with code 0 (NO_ERROR)
                                          host.iobroker	2020-05-23 13:10:53.649	error	Caught by controller[0]: Cannot load serialport module
                                          maxcul.0	2020-05-23 13:10:53.101	info	(2336) Terminated (NO_ERROR): Without reason
                                          maxcul.0	2020-05-23 13:10:53.099	info	(2336) terminating
                                          maxcul.0	2020-05-23 13:10:53.084	error	(2336) Error: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'. at Object.Module._extensions..node (internal/modules/cjs/loader.js:1183:1
                                          maxcul.0	2020-05-23 13:10:53.083	error	(2336) unhandled promise rejection: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                                          maxcul.0	2020-05-23 13:10:53.081	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          maxcul.0	2020-05-23 13:10:52.725	info	(2336) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.maxcul, node: v12.16.3, js-controller: 3.1.4
                                          host.iobroker	2020-05-23 13:10:50.676	info	instance system.adapter.maxcul.0 started with pid 2336
                                          javascript.0	2020-05-23 13:10:46.103	info	(29269) script.js.Heizung.Buero_HT: setForeignState(id=0_userdata.0.Buero.Fenster_Auf, state=true)
                                          javascript.0	2020-05-23 13:10:46.102	info	(29269) script.js.Heizung.Buero_HT: getState(id=zigbee.0.00158d0003216589.opened, timerId=undefined) => {"val":true,"ack":true,"ts":1590229353761,"q":0,"from":"system.adapter.zigbee.0","user":"system.
                                          javascript.0	2020-05-23 13:10:46.101	info	(29269) script.js.Heizung.Buero_HT: getState(id=0_userdata.0.Aussen.Heizperiode, timerId=undefined) => {"val":true,"ack":false,"ts":1588514198512,"q":0,"from":"system.adapter.admin.0","user":"system.u
                                          host.iobroker	2020-05-23 13:10:20.640	info	Restart adapter system.adapter.maxcul.0 because enabled
                                          host.iobroker	2020-05-23 13:10:20.639	info	instance system.adapter.maxcul.0 terminated with code 0 (NO_ERROR)
                                          host.iobroker	2020-05-23 13:10:20.638	error	Caught by controller[0]: Cannot load serialport module
                                          maxcul.0	2020-05-23 13:10:20.107	info	(2315) Terminated (NO_ERROR): Without reason
                                          maxcul.0	2020-05-23 13:10:20.105	info	(2315) terminating
                                          maxcul.0	2020-05-23 13:10:20.052	error	(2315) Error: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'. at Object.Module._extensions..node (internal/modules/cjs/loader.js:1183:1
                                          maxcul.0	2020-05-23 13:10:20.051	error	(2315) unhandled promise rejection: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                                          maxcul.0	2020-05-23 13:10:20.050	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          maxcul.0	2020-05-23 13:10:19.717	info	(2315) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.maxcul, node: v12.16.3, js-controller: 3.1.4
                                          host.iobroker	2020-05-23 13:10:17.629	info	instance system.adapter.maxcul.0 started with pid 2315
                                          

                                          Jetzt läuft er auch gar nicht mehr, startet immer wieder neu.

                                          host.iobroker	2020-05-23 13:14:16.770	info	Do not restart adapter system.adapter.maxcul.0 because disabled or deleted
                                          host.iobroker	2020-05-23 13:14:16.770	error	instance system.adapter.maxcul.0 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
                                          host.iobroker	2020-05-23 13:14:16.769	error	Caught by controller[0]: Cannot load serialport module
                                          maxcul.0	2020-05-23 13:14:16.229	warn	(2473) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
                                          maxcul.0	2020-05-23 13:14:16.213	error	(2473) adapter disabled
                                          host.iobroker	2020-05-23 13:14:13.558	info	"system.adapter.maxcul.0" disabled
                                          host.iobroker	2020-05-23 13:13:43.918	info	Restart adapter system.adapter.maxcul.0 because enabled
                                          host.iobroker	2020-05-23 13:13:43.917	info	instance system.adapter.maxcul.0 terminated with code 0 (NO_ERROR)
                                          host.iobroker	2020-05-23 13:13:43.916	error	Caught by controller[0]: Cannot load serialport module
                                          maxcul.0	2020-05-23 13:13:43.377	info	(2452) Terminated (NO_ERROR): Without reason
                                          maxcul.0	2020-05-23 13:13:43.376	info	(2452) terminating
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Module._compile (internal/modules/cjs/loader.js:1133:30)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/index.js:14:22)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at require (internal/modules/cjs/helpers.js:77:18)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Module.require (internal/modules/cjs/loader.js:1019:19)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Function.Module._load (internal/modules/cjs/loader.js:877:14)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Module.load (internal/modules/cjs/loader.js:977:32)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Module._compile (internal/modules/cjs/loader.js:1133:30)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Object.<anonymous> (/opt/iobroker/node_modules/@serialport/bindings/lib/linux.js:2:36)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at bindings (/opt/iobroker/node_modules/@serialport/bindings/node_modules/bindings/bindings.js:112:48)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at require (internal/modules/cjs/helpers.js:77:18)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Module.require (internal/modules/cjs/loader.js:1019:19)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Function.Module._load (internal/modules/cjs/loader.js:877:14)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Module.load (internal/modules/cjs/loader.js:977:32)
                                          maxcul.0	2020-05-23 13:13:43.362	error	at Object.Module._extensions..node (internal/modules/cjs/loader.js:1183:18)
                                          maxcul.0	2020-05-23 13:13:43.362	error	(2452) Error: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                                          maxcul.0	2020-05-23 13:13:43.361	error	(2452) unhandled promise rejection: Module did not self-register: '/opt/iobroker/node_modules/@serialport/bindings/build/Release/bindings.node'.
                                          Unhandled	2020-05-23 13:13:43.360	error	promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                          maxcul.0	2020-05-23 13:13:42.993	info	(2452) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.maxcul, node: v12.16.3, js-controller: 3.1.4
                                          host.iobroker	2020-05-23 13:13:40.372	info	instance system.adapter.maxcul.0 started with pid 2452
                                          

                                          Das sieht so aus, wie vor meinem

                                          iobroker rebuild maxcul --install
                                          

                                          Also bis jetzt keine Chance, er lief nicht mehr. Hab dann den NUC einmal komplett ausgeschaltet neu hochgefahren. Den Stick ab wieder dran, immer noch nichts.

                                          Nun hab ich noch mal's rebuild gemacht und er startet ohne Fehler.

                                          maxcul.0	2020-05-23 16:56:26.256	info	(1463) serialPort /dev/ttyUSB0 is open!
                                          maxcul.0	2020-05-23 16:56:26.237	info	(1463) using serial device /dev/ttyUSB0@38400
                                          maxcul.0	2020-05-23 16:56:25.892	info	(1463) starting. Version 1.3.0 in /opt/iobroker/node_modules/iobroker.maxcul, node: v12.16.3, js-controller: 3.1.4
                                          host.iobroker	2020-05-23 16:56:23.619	info	instance system.adapter.maxcul.0 started with pid 1463
                                          host.iobroker	2020-05-23 16:56:23.582	info	"system.adapter.maxcul.0" enabled
                                          

                                          Er lief jetzt nen guten Tag ohne Probleme, dann fingen sie an.

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

                                            @D3ltoroxp

                                            Also scheinbar hat es das serialport zerhauen irgendwie. Geh mal in /opt/iobroker/node_modules/@serialport/ und ruf dort "npm rebuild" auf

                                            D3ltoroxp 3 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            875
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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