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.2 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.2 jetzt im Latest!

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      w00dy @apollon77 last edited by w00dy

      Hallo,
      gestern habe ich den js-controller aktualisiert (v3.2.16). Seitdem spuckt der shelly-Adapter alle paar Sekunden diese Meldung aus:

      shelly.0	2021-02-24 13:15:24.759	error	(12536) Cannot find search "folder" in "system"
      

      Sonst läuft das System unauffällig.

      Hat jemand eine Idee, was da los ist?

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

        @w00dy Ja, da ist der Master nicht auf controller 3.2.16 aber ein Client oder Adapter mit 3.2er code greift darauf zu. Ggf nochmal alles restarten.

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

          @apollon77
          ...ich dachte ich mache dazu gleich einen Reboot und nun ist er ganz tot, anpingen lässt er sich auch nicht mehr. Da war wohl mehr defekt - OK dann eben alles neu.

          1 Reply Last reply Reply Quote 0
          • K
            klassisch Most Active @paul53 last edited by

            @paul53 sagte in js-controller 3.2 jetzt im Latest!:

            Habe "writeFileInterval" in der iobroker.json ergänzt: So funktioniert es.

            Wenn ich fragen darf: Was genau eintragen? An eine bestimmte Stelle?

            Bin jetzt auch auf JS-Controller 3.2.16 und hatte im 3.1 dieses dort verwendet.

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

              @klassisch in der Datei /opt/iobroker/iobroker-data/iobroker.json
              https://forum.iobroker.net/post/564759 bzw https://forum.iobroker.net/post/565703

              K 1 Reply Last reply Reply Quote 1
              • K
                klassisch Most Active @crunchip last edited by

                @crunchip perfekt, vielen Dank!

                1 Reply Last reply Reply Quote 0
                • P
                  peterfido last edited by

                  Hallo,

                  bei mir mag er die Updates nicht ausführen. Auch die Holzhammer-Methode bringt kein Erfolg:

                  peter@proxbroker:/opt/iobroker$ iobroker upgrade self
                  Update js-controller from @3.1.6 to @3.2.16
                  NPM version: 6.14.11
                  npm install iobroker.js-controller@3.2.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                  npm ERR! code EBADPLATFORM
                  npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                  npm ERR! notsup Valid OS:    darwin
                  npm ERR! notsup Valid Arch:  any
                  npm ERR! notsup Actual OS:   linux
                  npm ERR! notsup Actual Arch: x64
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2021-02-28T06_48_31_302Z-debug.log
                  Starting node restart.js
                  peter@proxbroker:/opt/iobroker$ sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                  
                  npm ERR! code EBADPLATFORM
                  npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                  npm ERR! notsup Valid OS:    darwin
                  npm ERR! notsup Valid Arch:  any
                  npm ERR! notsup Actual OS:   linux
                  npm ERR! notsup Actual Arch: x64
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2021-02-28T06_49_12_710Z-debug.log
                  peter@proxbroker:/opt/iobroker$
                  
                  
                  apollon77 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @peterfido last edited by

                    @peterfido und du bist sicher das es nicht tat? An sich ist fsevents eine optionale dep.

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

                      @apollon77
                      Die Meldung, dass mein JS-Controller veraltet ist, kommt weiterhin. iobroker upgrade self will immer wieder den JS-Controller aktualisieren. Von daher ja.

                      iobroker update gibt folgende Zeile aus:

                      Controller "js-controller" : 3.2.16   , installed 3.1.6 [Updateable]
                      

                      Nach einem Neustart keine Besserung:

                      peter@proxbroker:/opt/iobroker$ iobroker upgrade self
                      Update js-controller from @3.1.6 to @3.2.16
                      NPM version: 6.14.11
                      npm install iobroker.js-controller@3.2.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                      npm ERR! code EBADPLATFORM
                      npm ERR! notsup Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                      npm ERR! notsup Valid OS:    darwin
                      npm ERR! notsup Valid Arch:  any
                      npm ERR! notsup Actual OS:   linux
                      npm ERR! notsup Actual Arch: x64
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2021-02-28T07_52_57_477Z-debug.log
                      Starting node restart.js
                      peter@proxbroker:/opt/iobroker$
                      
                      ```[2021-02-28T07_38_18_850Z-debug.log](/assets/uploads/files/1614499780577-2021-02-28t07_38_18_850z-debug.log)
                      crunchip 1 Reply Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @peterfido last edited by

                        @peterfido sagte in js-controller 3.2 jetzt im Latest!:

                        Nach einem Neustart keine Besserung:

                        Du stoppst aber den iobroker bevor du ein update und upgrade self ausführst, liest sich eher so, als wenn du versuchst im laufenden Betrieb dies zu versuchen.

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

                          @crunchip

                          ja, wird mit iobroker stop gestoppt.

                          Habe auch schon mehrere Versuche unternommen. Einmal ohne vorher das System mit

                          sudo apt-get update
                          sudo apt-get upgrade
                          

                          zu aktualisieren. Dann wieder mit. Dann mal versucht, die fsevents manuell zu deinstallieren.

                          Der Fehler kommt trotzdem jedesmal.

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

                            @peterfido nicht sicher, aber vllt hilft es vorher mal den npm cache zu löschen.

                            npm cache clean --force
                            
                            P 1 Reply Last reply Reply Quote 0
                            • P
                              peterfido @crunchip last edited by peterfido

                              @crunchip

                              Leider auch nicht. Ich hänge mal die Log-Datei2021-02-28T08_33_23_642Z-debug.zip hier an.

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

                                @peterfido kann ich nicht öffnen

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

                                  @crunchip
                                  Hier nochmal 2021-02-28T08_33_23_642Z-debug.log ungezippt.

                                  eine erzwungene Installation (mit dem Parameter -f) hat jetzt den JS-Controller aktualisiert. Ob es Nebeneffekte gab, kann ich noch nicht sagen...

                                  Ah, okay. Jetzt habe ich den 3.3 drauf. Also zurück zum Snapshot von heute Morgen...

                                  Edit: Jetzt gleich mal mit -f installiert und läuft.

                                  peter@proxbroker:~$ npm install -f iobroker.js-controller@3.2.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker"
                                  
                                  > iobroker.js-controller@3.2.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                  > node lib/preinstallCheck.js
                                  
                                  NPM version: 6.14.11
                                  
                                  > iobroker.js-controller@3.2.16 install /opt/iobroker/node_modules/iobroker.js-controller
                                  > node iobroker.js setup first
                                  
                                  object _design/system updated
                                  Renamed repository "default to "stable"
                                  Renamed repository "latest to "beta"
                                  
                                  > @root/acme@3.1.0 postinstall /opt/iobroker/node_modules/@root/acme
                                  > node scripts/postinstall
                                  
                                  + iobroker.js-controller@3.2.16
                                  added 54 packages from 25 contributors, removed 32 packages, updated 26 packages and moved 1 package in 23.176s
                                  
                                  62 packages are looking for funding
                                    run `npm fund` for details
                                  
                                  
                                  
                                     ╭───────────────────────────────────────────────────────────────╮
                                     │                                                               │
                                     │      New major version of npm available! 6.14.11 → 7.6.0      │
                                     │   Changelog: https://github.com/npm/cli/releases/tag/v7.6.0   │
                                     │               Run npm install -g npm to update!               │
                                     │                                                               │
                                     ╰───────────────────────────────────────────────────────────────╯
                                  
                                  peter@proxbroker:~$ iobroker start
                                  
                                  
                                  crunchip 2 Replies Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @peterfido last edited by

                                    @peterfido auch wenn optional, vllt wäre es sauber durchgelaufen, wenn du fsevent@2.3.1 installiert hättest, zumindest zeigt meine Installation diese Version

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

                                      @crunchip

                                      Hat "er" ja bereits selbst versucht. Eben mal schnell nen Snapshot erstellt und manuell getestet:

                                      peter@proxbroker:~$ npm i fsevents@2.3.1
                                      npm ERR! code EBADPLATFORM
                                      npm ERR! notsup Unsupported platform for fsevents@2.3.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                      npm ERR! notsup Valid OS:    darwin
                                      npm ERR! notsup Valid Arch:  any
                                      npm ERR! notsup Actual OS:   linux
                                      npm ERR! notsup Actual Arch: x64
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/peter/.npm/_logs/2021-02-28T09_52_02_937Z-debug.log
                                      peter@proxbroker:~$
                                      
                                      

                                      fsEvents ist für darwin gedacht. darwin könnte Apple bedeuten.

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

                                        @peterfido sagte in js-controller 3.2 jetzt im Latest!:

                                        peter@proxbroker:~$ npm install -f iobroker.js-controller@3.2.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker"

                                        bist du hier nicht im falschen Verzeichnis?

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

                                          @crunchip
                                          Jo, ist mir auch aufgefallen. Macht aber keinen Unterschied.

                                          peter@proxbroker:/opt/iobroker$ npm i fsevents
                                          npm ERR! code EBADPLATFORM
                                          npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          npm ERR! notsup Valid OS:    darwin
                                          npm ERR! notsup Valid Arch:  any
                                          npm ERR! notsup Actual OS:   linux
                                          npm ERR! notsup Actual Arch: x64
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2021-02-28T10_01_47_431Z-debug.log
                                          peter@proxbroker:/opt/iobroker$
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @peterfido last edited by

                                            @peterfido Ja ist Apple und damit an sich optional.

                                            Mach mal im ioBroker Verzeichnis ein "npm ls fsevents"

                                            P 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

                                            581
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            575
                                            108741
                                            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