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.
    • E
      e-s @apollon77 last edited by e-s

      @apollon77
      Ich frage mich ständig warum hier so viele user immer noch sudo benutzen, und das obwohl du immer schreibst wie "böse" es wäre, vielleicht deswegen?
      js.png

      Edit:
      hat sich erledigt, @apollon77 hat sich hier schon dazu geäußert.

      J 1 Reply Last reply Reply Quote 0
      • J
        Jan1 @e-s last edited by

        @e-s
        Hm, ist nur bei npm böse und in dem Bild kann ich nichts finden das nach sudo aussieht.

        E 1 Reply Last reply Reply Quote 0
        • E
          e-s @Jan1 last edited by

          @Jan1
          wer richtig ausschneidet ist klar im vorteil, Bild getauscht. Danke für den Hinweis

          J 1 Reply Last reply Reply Quote 0
          • J
            Jan1 @e-s last edited by

            @e-s
            Da ist alles OK, da sudo npm auftaucht kann man das machen, wobei es nicht nötig ist, aber auch nicht böse 😉

            E ostseereiter 2 Replies Last reply Reply Quote 0
            • Diginix
              Diginix @LJSven last edited by Diginix

              @LJSven Ich hätte die GeoKoordinaten anonymisiert, falls es deine Adresse ist in Ahaus, S...weg 17.

              1 Reply Last reply Reply Quote 0
              • E
                e-s @Jan1 last edited by

                @Jan1
                Naja, die Rechte von iobroker sollte auch dem user iobroker gehören und nicht root. Einerseits wird ständig auf den fixer hingewiesen um wieder alles zu richten und dann doch die sudo Befehle, das passt nicht.
                Und root statt iobroker zu nutzen ist sicherheitstechnisch auch nicht wirklich zu diskutieren, besonders wenn man wenig Erfahrung mit Linux hat

                J 1 Reply Last reply Reply Quote 0
                • J
                  Jan1 @e-s last edited by

                  @e-s
                  Das ist richtig, nur eben nicht böse.

                  1 Reply Last reply Reply Quote 0
                  • dirk1962
                    dirk1962 @dslraser last edited by

                    @dslraser
                    Das war aber schon bei der 3.0.14 so, danach hat aber auch alles funktioniert.

                    1 Reply Last reply Reply Quote 0
                    • foxriver76
                      foxriver76 Developer @dslraser last edited by

                      @dslraser Danke, sehe das Problem.. fixen wir.

                      dslraser 1 Reply Last reply Reply Quote 2
                      • crunchip
                        crunchip Forum Testing Most Active last edited by crunchip

                        habe gerade auch mal den Versuch gestartet über iobroker upgrade self auf v3.0.14.
                        Es verlief fehlerfrei, bis auf ble.0 error im log(reiche ich nach), da iobroker aktuell gestoppt.

                        Anschließend habe ich dann ein npm install auf v3.0.16 nachgelegt und stehe aktuell hier.

                        root@IoBroker:/opt/iobroker# npm install iobroker.js-controller@3.0.16
                        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                        
                        > iobroker.js-controller@3.0.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                        > node lib/preinstallCheck.js
                        
                        NPM version: 6.14.4
                        
                        > iobroker.js-controller@3.0.16 install /opt/iobroker/node_modules/iobroker.js-controller
                        > node iobroker.js setup first
                        
                        object system.certificates updated
                        
                        The following notifications happened during sync:
                        - Ignoring Directory "cloud.admin" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "covid-19.admin" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "fb-checkpresence.admin" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "iobroker.admin.admin" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "iobroker.discovery.admin" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "mqtt-client.admin" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "multicast.admin" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "nightscout.admin" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "rssfeed.admin" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "sayit.0" because officially not created as meta object. Please remove directory!
                        - Ignoring Directory "tr-064-community.admin" because officially not created as meta object. Please remove directory!
                        
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"                                    } (current: {"os":"linux","arch":"x64"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin                                    ","arch":"any"} (current: {"os":"linux","arch":"x64"})
                        
                        + iobroker.js-controller@3.0.16
                        updated 1 package in 104.073s
                        
                        37 packages are looking for funding
                          run `npm fund` for details
                        
                        

                        nun die Frage, was jetzt am besten zu tun wäre

                        EDIT: Nachgereichte Meldungen aus dem log

                        (gekürztes log)

                        2020-04-22 20:57:19.661 - warn: socketio.0 (29243) Empty pattern!
                        2020-04-22 20:57:38.411 - error: ble.0 (1819) uncaught exception: undefined is not a valid state value
                        2020-04-22 20:57:38.414 - error: ble.0 (1819) Error: undefined is not a valid state value
                        at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1570:39
                        at Adapter.setStateChanged (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5833:21)
                        at Promise (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1567:16)
                        at new Promise ()
                        at Adapter.setStateChangedAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1566:16)
                        at Noble. (/opt/iobroker/node_modules/iobroker.ble/build/main.js:331:35)
                        at Generator.next ()
                        at fulfilled (/opt/iobroker/node_modules/iobroker.ble/build/main.js:5:58)
                        at process._tickCallback (internal/process/next_tick.js:68:7)
                        2020-04-22 20:57:38.416 - info: ble.0 (1819) stopping scan
                        2020-04-22 20:57:38.418 - error: ble.0 (1819) unhandled promise rejection: Error: undefined is not a valid state value
                        ...
                        ...
                        2020-04-22 21:03:11.206 - error: socketio.0 (29243) uncaught exception: Cannot read property 'sockets' of null
                        2020-04-22 21:03:11.207 - error: socketio.0 (29243) TypeError: Cannot read property 'sockets' of null
                        ...
                        ...
                        2020-04-22 21:03:13.611 - info: host.IoBroker instance system.adapter.simple-api.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                        2020-04-22 21:03:13.616 - error: host.IoBroker Caught by controller[0]: TypeError: Cannot read property 'sockets' of null
                        2020-04-22 21:03:13.616 - error: host.IoBroker Caught by controller[0]: at Timeout.updateConnectedInfo (/opt/iobroker/node_modules/iobroker.socketio/lib/socket.js:1593:25)
                        2020-04-22 21:03:13.616 - error: host.IoBroker Caught by controller[0]: at ontimeout (timers.js:436:11)
                        2020-04-22 21:03:13.617 - error: host.IoBroker Caught by controller[0]: at tryOnTimeout (timers.js:300:5)
                        2020-04-22 21:03:13.617 - error: host.IoBroker Caught by controller[0]: at listOnTimeout (timers.js:263:5)
                        2020-04-22 21:03:13.617 - error: host.IoBroker Caught by controller[0]: at Timer.processTimers (timers.js:223:10)
                        2020-04-22 21:03:13.617 - info: host.IoBroker instance system.adapter.socketio.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        
                        

                        aktuell verbleibt jetzt noch

                        ble.0	2020-04-22 21:45:33.027	info	(19500) starting scan for services ["fe95"]
                        ble.0	2020-04-22 21:45:32.696	info	(19500) monitored services: fe95
                        ble.0	2020-04-22 21:45:32.693	info	(19500) enabled plugins: Xiaomi, mi-flora, _default
                        ble.0	2020-04-22 21:45:32.690	info	(19500) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                        ble.0	2020-04-22 21:45:32.420	info	(19500) starting. Version 0.11.1 in /opt/iobroker/node_modules/iobroker.ble, node: v10.20.1, js-controller: 3.0.16
                        host.IoBroker	2020-04-22 21:45:28.794	info	instance system.adapter.ble.0 started with pid 19500
                        host.IoBroker	2020-04-22 21:45:27.738	info	Restart adapter system.adapter.ble.0 because enabled
                        host.IoBroker	2020-04-22 21:45:27.737	info	instance system.adapter.ble.0 terminated with code 0 (NO_ERROR)
                        ble.0	2020-04-22 21:45:27.152	info	(19119) Terminated (NO_ERROR): Without reason
                        ble.0	2020-04-22 21:45:27.149	info	(19119) terminating
                        ble.0	2020-04-22 21:45:27.095	error	(19119) unhandled promise rejection: Error: undefined is not a valid state value
                        ble.0	2020-04-22 21:45:27.092	info	(19119) stopping scan
                        ble.0	2020-04-22 21:45:27.090	error	(19119) Error: undefined is not a valid state value at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1581:39 at Adapter.setStateChanged (/opt/iobroker/node_modules/iobroker.js
                        ble.0	2020-04-22 21:45:27.086	error	(19119) uncaught exception: undefined is not a valid state value
                        ...
                        ...
                        ble.0	2020-04-22 21:54:38.618	info	(22603) Terminated (NO_ERROR): Without reason
                        ble.0	2020-04-22 21:54:38.615	info	(22603) terminating
                        ble.0	2020-04-22 21:54:38.584	error	(22603) unhandled promise rejection: Error: undefined is not a valid state value
                        ble.0	2020-04-22 21:54:38.576	info	(22603) stopping scan
                        ble.0	2020-04-22 21:54:38.573	error	at process._tickCallback (internal/process/next_tick.js:68:7)
                        ble.0	2020-04-22 21:54:38.573	error	at fulfilled (/opt/iobroker/node_modules/iobroker.ble/build/main.js:5:58)
                        ble.0	2020-04-22 21:54:38.573	error	at Generator.next (<anonymous>)
                        ble.0	2020-04-22 21:54:38.573	error	at Noble.<anonymous> (/opt/iobroker/node_modules/iobroker.ble/build/main.js:331:35)
                        ble.0	2020-04-22 21:54:38.573	error	at Adapter.setStateChangedAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1577:16)
                        ble.0	2020-04-22 21:54:38.573	error	at new Promise (<anonymous>)
                        ble.0	2020-04-22 21:54:38.573	error	at Promise (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1578:16)
                        ble.0	2020-04-22 21:54:38.573	error	at Adapter.setStateChanged (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5908:21)
                        ble.0	2020-04-22 21:54:38.573	error	at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1581:39
                        ble.0	2020-04-22 21:54:38.573	error	(22603) Error: undefined is not a valid state value
                        ble.0	2020-04-22 21:54:38.570	error	(22603) uncaught exception: undefined is not a valid state value
                        
                        mikeal created this issue in request/request

                        open Request’s Past, Present and Future #3142

                        wendy2702 apollon77 AlCalzone 3 Replies Last reply Reply Quote 0
                        • wendy2702
                          wendy2702 @crunchip last edited by wendy2702

                          @crunchip iobroker starten.

                          Wegen den Directory Sachen kannst du mal uploads der einzelnen Adapter probieren. Das hatte ich auch für Z.B. den Sayit adapter.

                          Wenn Fehler dann weg ist gut, sonst Issue beim Adapter.

                          crunchip 1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active @wendy2702 last edited by

                            @wendy2702 cloud, multicast, nightscout und tr-64-community sind aber eigentlich gar nicht installiert

                            wendy2702 apollon77 2 Replies Last reply Reply Quote 0
                            • ostseereiter
                              ostseereiter @Jan1 last edited by

                              @Jan1 das ist schon richtig aber es gibt so wie ich wo der Iobroker schon seit 3 Jahren läuft und da geht es nun mal nur mit root

                              1 Reply Last reply Reply Quote 0
                              • wendy2702
                                wendy2702 @crunchip last edited by

                                @crunchip gibt es die Ordner denn?

                                Waren die vielleicht mal installiert?

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

                                  @crunchip mal schauen bei ble ob es ein update gibt sonst issiue anlegen. Ich weiss aber das @AlCalzone dran ist

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

                                    @crunchip Waren Sie bestimmt mal 🙂 Kannst dann ignoreren oder manuell löschen

                                    1 Reply Last reply Reply Quote 1
                                    • crunchip
                                      crunchip Forum Testing Most Active @apollon77 last edited by

                                      @apollon77 es gibt aktuell 0.11.2, bin im Moment auf 0.11.1, ich teste mal

                                      ja natürlich waren die mal installiert, wo finde ich die Dateien zum manuellen löschen?

                                      wendy2702 apollon77 2 Replies Last reply Reply Quote 0
                                      • wendy2702
                                        wendy2702 @crunchip last edited by wendy2702

                                        @crunchip

                                        /opt/iobroker/node_modules/
                                        

                                        EDIT: sorry wahr im falschen FILM. Werde alt...

                                        Hatte es vor 2 Tagen selber noch gepostet ..sogar mit Bild.

                                        Duck und weg 😥

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

                                          @crunchip ne die Files um die es hier geht liegen bei einem File Storage in iobroker-data/files/.. im ioBroker Verzeichnis

                                          crunchip 1 Reply Last reply Reply Quote 1
                                          • JB_Sullivan
                                            JB_Sullivan last edited by

                                            @apollon77
                                            Ich hänge immer noch an dieser Kack Fritzbox Geschichte seit dem letzten Update.

                                            Was macht eingentlich der Admin Adapter? Irgend etwas mit Rechte Verwaltung o.ä.?

                                            Ich bin beim js-controller schon wieder zurück auf 0.2.2.9 aber der Admin ist noch auf 4.0.9.

                                            Alles was mit der Fritzbox zu tun hat (siehe oben) scheitert angeblich am falschen Passwort. Hier z.B. die FritzDect Geräte - ich drehe noch durch.

                                            fritzdect.0	2020-04-22 22:08:57.723	error	(10676) Did not get session id- invalid username or password?
                                            fritzdect.0	2020-04-22 22:08:57.722	error	(10676) fritzbox returned this "0000000000000000"
                                            fritzdect.0	2020-04-22 22:08:57.234	error	(10676) Did not get session id- invalid username or password?
                                            fritzdect.0	2020-04-22 22:08:57.234	error	(10676) fritzbox returned this "0000000000000000"
                                            
                                            apollon77 Chaot 2 Replies 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

                                            752
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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