Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 2 jetzt für alle im Stable

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    12
    2
    255

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.7k

js-controller 2 jetzt für alle im Stable

js-controller 2 jetzt für alle im Stable

Scheduled Pinned Locked Moved ioBroker Allgemein
js-controllerjs-controller 2
556 Posts 74 Posters 165.8k Views 56 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F fabster0815

    Hallo Leute ... leider klappt bei mir das Update nicht
    Ich habe nach Anleitung gearbeitet und bekomme nach dem iobroker update und dann stop bei der Eingabe von

    iobroker upgrade self folgende Fehlermeldung:

    pi@ioBroker:/opt/iobroker $ sudo iobroker upgrade self
    Update js-controller from @1.5.11 to @2.2.8
    NPM version: 6.13.7
    npm install iobroker.js-controller@2.2.8 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
    npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
    npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
    npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
    
    npm ERR! code EEXIST
    npm ERR! path /opt/iobroker/node_modules/.bin/iobroker
    npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/iobroker: is outside /opt/iobroker/node_modules/iobroker.js-controller and not a link
    npm ERR! File exists: /opt/iobroker/node_modules/.bin/iobroker
    npm ERR! Remove the existing file and try again, or run npm
    npm ERR! with --force to overwrite files recklessly.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/iobroker/.npm/_logs/2020-02-06T19_49_53_426Z-debug.log
    Host "ioBroker" (linux) updated
    Execute: chmod -R 777 /opt/iobroker
    Chmod finished. Restart controller
    Starting node restart.js
    
    

    Kann mir jemand helfen ?

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #505

    @fabster0815 sieht nach fehlenden Rechten aus, bitte Mal den fixer drüber laufen lassen. ( Siehe Anleitung oben im ersten Post).

    F 1 Reply Last reply
    0
    • B Offline
      B Offline
      ben1984
      wrote on last edited by ben1984
      #506

      Hallo

      ich habe gerade versucht den js-controller von 2.1.1 auf 2.2.8 zu updaten.
      ich bekomme folgende Fehlermeldung:

      root@homematic-raspi:/usr/local/addons/hm-iobroker# ./iobroker upgrade self
      Update js-controller from @2.1.1 to @2.2.8
      NPM version: 6.13.4
      npm install iobroker.js-controller@2.2.8 --unsafe-perm --loglevel error --prefix "/usr/local/addons/hm-iobroker" (System call)
      npm ERR! code EROFS
      npm ERR! syscall mkdir
      npm ERR! path /root/.npm
      npm ERR! errno -30
      npm ERR! rofs EROFS: read-only file system, mkdir '/root/.npm'
      npm ERR! rofs Often virtualized file systems, or other file systems
      npm ERR! rofs that don't support symlinks, give this error.
      host.homematic-raspi Cannot install iobroker.js-controller@2.2.8: 226
      

      Was kann ich tun, damit de mkdir Befehl funktioniert (falls es das ist).

      Nutze ein Raspberry Pi 4 mit Rasperymatic und Iobroker als Addon installiert.

      Vielen Dank für die Hilfe.

      Grüße
      Ben

      apollon77A 1 Reply Last reply
      0
      • ? A Former User

        @fabster0815 sieht nach fehlenden Rechten aus, bitte Mal den fixer drüber laufen lassen. ( Siehe Anleitung oben im ersten Post).

        F Offline
        F Offline
        fabster0815
        wrote on last edited by
        #507

        @ilovegym Hab ich schon .... hat nicht geholfen 😞

        1 Reply Last reply
        0
        • B ben1984

          Hallo

          ich habe gerade versucht den js-controller von 2.1.1 auf 2.2.8 zu updaten.
          ich bekomme folgende Fehlermeldung:

          root@homematic-raspi:/usr/local/addons/hm-iobroker# ./iobroker upgrade self
          Update js-controller from @2.1.1 to @2.2.8
          NPM version: 6.13.4
          npm install iobroker.js-controller@2.2.8 --unsafe-perm --loglevel error --prefix "/usr/local/addons/hm-iobroker" (System call)
          npm ERR! code EROFS
          npm ERR! syscall mkdir
          npm ERR! path /root/.npm
          npm ERR! errno -30
          npm ERR! rofs EROFS: read-only file system, mkdir '/root/.npm'
          npm ERR! rofs Often virtualized file systems, or other file systems
          npm ERR! rofs that don't support symlinks, give this error.
          host.homematic-raspi Cannot install iobroker.js-controller@2.2.8: 226
          

          Was kann ich tun, damit de mkdir Befehl funktioniert (falls es das ist).

          Nutze ein Raspberry Pi 4 mit Rasperymatic und Iobroker als Addon installiert.

          Vielen Dank für die Hilfe.

          Grüße
          Ben

          apollon77A Offline
          apollon77A Offline
          apollon77
          wrote on last edited by
          #508

          @ben1984 read only file system ... dad heißt an sich das das filesystem im Eimer ist. Ggf der startende Tod der sd Karte.

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          B 1 Reply Last reply
          0
          • ChaotC Chaot

            @newbie2007
            Geh doch erst mal ins ioBroker Verzeichnis:

            cd /opt/iobroker/
            

            und versuche es dann nochmal.

            N Offline
            N Offline
            newbie2007
            wrote on last edited by
            #509

            @Chaot said in js-controller 2 jetzt für alle im Stable:

            @newbie2007
            Geh doch erst mal ins ioBroker Verzeichnis:

            cd /opt/iobroker/
            

            und versuche es dann nochmal.

            probiert, gleiches Ergebnis...

            1 Reply Last reply
            0
            • apollon77A apollon77

              @ben1984 read only file system ... dad heißt an sich das das filesystem im Eimer ist. Ggf der startende Tod der sd Karte.

              B Offline
              B Offline
              ben1984
              wrote on last edited by
              #510

              @apollon77 danke für die Antwort.

              Wie kann ich das sicher prüfen?

              Der Raspbery Pi4 ist mal gerade 3 Monate in Betrieb.

              Grüße

              ? 1 Reply Last reply
              0
              • B ben1984

                @apollon77 danke für die Antwort.

                Wie kann ich das sicher prüfen?

                Der Raspbery Pi4 ist mal gerade 3 Monate in Betrieb.

                Grüße

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by A Former User
                #511

                @ben1984
                Egal ob der Raspi erst 3 Monate alt ist. Der Raspi ist ja in Ordnung.
                Es geht um die SD Karte.
                Die sehr vielen Schreibzyklen kann eine SD nicht gut ab.
                Das kann, und wird bei Dir wohl der Fall sein.
                Ein Filesystem das mit einen mal readonly wird ist kein gutes Zeichen.
                Häng Dir anstatt einer SD eine kleine SSD dran und boote davon.
                Eine 32 GB mSATA USB3 SSD und ein Gehäuse dazu kosten bei Amazon um 25 - 30 Euro.
                Läuft bei mir seit Jahren einwandfrei.

                B 1 Reply Last reply
                0
                • ? A Former User

                  @ben1984
                  Egal ob der Raspi erst 3 Monate alt ist. Der Raspi ist ja in Ordnung.
                  Es geht um die SD Karte.
                  Die sehr vielen Schreibzyklen kann eine SD nicht gut ab.
                  Das kann, und wird bei Dir wohl der Fall sein.
                  Ein Filesystem das mit einen mal readonly wird ist kein gutes Zeichen.
                  Häng Dir anstatt einer SD eine kleine SSD dran und boote davon.
                  Eine 32 GB mSATA USB3 SSD und ein Gehäuse dazu kosten bei Amazon um 25 - 30 Euro.
                  Läuft bei mir seit Jahren einwandfrei.

                  B Offline
                  B Offline
                  ben1984
                  wrote on last edited by
                  #512

                  @Yetiberg danke für eure Infos.
                  Ich lasse IOBroker jetzt im Docker auf der Synology NAS laufen.

                  Dann sollte das Thema erledigt sein.

                  Auf dem PI läuft dann nur noch RaspberryMatic.

                  ? 1 Reply Last reply
                  0
                  • B ben1984

                    @Yetiberg danke für eure Infos.
                    Ich lasse IOBroker jetzt im Docker auf der Synology NAS laufen.

                    Dann sollte das Thema erledigt sein.

                    Auf dem PI läuft dann nur noch RaspberryMatic.

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by A Former User
                    #513

                    @ben1984 sagte in js-controller 2 jetzt für alle im Stable:

                    @Yetiberg danke für eure Infos.
                    Ich lasse IOBroker jetzt im Docker auf der Synology NAS laufen.

                    Dann sollte das Thema erledigt sein.

                    Auf dem PI läuft dann nur noch RaspberryMatic.

                    Damit ist Dein Problem jetzt und in Zukunft aber nicht gelöst 🙂
                    Denn derzeit wird auf Deinem System, dank readonly, nicht ein einziger Datenpunkt neu beschrieben.
                    Und eine neue SD Karte kann Dir jederzeit wieder abrauchen...

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      NetFritz
                      wrote on last edited by
                      #514

                      Hallo
                      Ich habe ioBroker in einem Docker Container laufen.
                      Wenn ich jetzt iobroker stop eingebe bekomme ich als
                      Fehlermeldung
                      root@ioBroker1:/opt/iobroker# iobroker stop
                      sudo: systemctl: Befehl nicht gefunden

                      Was mache ich da falsch?
                      Gruß NetFritz

                      dslraserD K 2 Replies Last reply
                      0
                      • N NetFritz

                        Hallo
                        Ich habe ioBroker in einem Docker Container laufen.
                        Wenn ich jetzt iobroker stop eingebe bekomme ich als
                        Fehlermeldung
                        root@ioBroker1:/opt/iobroker# iobroker stop
                        sudo: systemctl: Befehl nicht gefunden

                        Was mache ich da falsch?
                        Gruß NetFritz

                        dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        wrote on last edited by
                        #515

                        @NetFritz sagte in js-controller 2 jetzt für alle im Stable:

                        Ich habe ioBroker in einem Docker Container laufen.

                        Habe ich auch. (buanet Image)
                        Falls Du den auch hast, ich stoppe immer mit

                        pkill io
                        

                        zum starten, ich starte dann den gesamten Container neu

                        1 Reply Last reply
                        0
                        • N NetFritz

                          Hallo
                          Ich habe ioBroker in einem Docker Container laufen.
                          Wenn ich jetzt iobroker stop eingebe bekomme ich als
                          Fehlermeldung
                          root@ioBroker1:/opt/iobroker# iobroker stop
                          sudo: systemctl: Befehl nicht gefunden

                          Was mache ich da falsch?
                          Gruß NetFritz

                          K Offline
                          K Offline
                          Kueppert
                          wrote on last edited by
                          #516

                          Hi @NetFritz
                          ich habe ioBroker daher wieder aus meiner Syno geschmissen. Die Befehle in der Konsole bei der Syno sind abweichend zu den "normalen" Linux-Befehlen (Syno verwendet glaub ich nen Linux-lite oder sowas).
                          VG Thorsten

                          UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

                          1 Reply Last reply
                          0
                          • N Offline
                            N Offline
                            newbie2007
                            wrote on last edited by newbie2007
                            #517

                            Hallo,
                            wenn ich den JS-Controller von 2.1.1 auf die aktuelle 2.2.8 updaten möchte, dann bricht er mit einer Fehlermeldung ab.
                            Die Logdatei ist im Anhang.
                            Was Kann ich tun?

                            Gruß
                            Uwe
                            2020-02-12T13_46_19_850Z-debug.log

                            
                            438 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@2.2.8" "--unsafe-perm" "--loglevel" "error" "--prefix" "/opt/iobroker"
                            439 verbose node v10.16.3
                            440 verbose npm  v6.9.0
                            441 error code EINTEGRITY
                            442 error errno EINTEGRITY
                            443 error Invalid response body while trying to fetch https://registry.npmjs.org/pako: Integrity verification failed for sha512-siMsela4gjxPekLxxmPXXubk8loaq45MHrsV4PGDgg+Hb1OB7UuRjKIjFW9lqRcAXTHBWwnQ9LupDRzNs58nxQ== (/home/iobroker/.npm/_cacache/content-v2/sha512/b2/23/2c7a56b8823c4f7a42f1c663d75ee6e4f25a1aab8e4c1ebb15e0f183820f876f5381ed4b918ca223156f65a917005d31c15b09d0f4bba90d1ccdb39f27c5)
                            444 verbose exit [ 1, true ]
                            ? AlCalzoneA 2 Replies Last reply
                            0
                            • N newbie2007

                              Hallo,
                              wenn ich den JS-Controller von 2.1.1 auf die aktuelle 2.2.8 updaten möchte, dann bricht er mit einer Fehlermeldung ab.
                              Die Logdatei ist im Anhang.
                              Was Kann ich tun?

                              Gruß
                              Uwe
                              2020-02-12T13_46_19_850Z-debug.log

                              
                              438 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@2.2.8" "--unsafe-perm" "--loglevel" "error" "--prefix" "/opt/iobroker"
                              439 verbose node v10.16.3
                              440 verbose npm  v6.9.0
                              441 error code EINTEGRITY
                              442 error errno EINTEGRITY
                              443 error Invalid response body while trying to fetch https://registry.npmjs.org/pako: Integrity verification failed for sha512-siMsela4gjxPekLxxmPXXubk8loaq45MHrsV4PGDgg+Hb1OB7UuRjKIjFW9lqRcAXTHBWwnQ9LupDRzNs58nxQ== (/home/iobroker/.npm/_cacache/content-v2/sha512/b2/23/2c7a56b8823c4f7a42f1c663d75ee6e4f25a1aab8e4c1ebb15e0f183820f876f5381ed4b918ca223156f65a917005d31c15b09d0f4bba90d1ccdb39f27c5)
                              444 verbose exit [ 1, true ]
                              ? Offline
                              ? Offline
                              A Former User
                              wrote on last edited by
                              #518

                              @newbie2007
                              hmm hat dein iobroker keine Internet-Connection ??
                              hast du vorher den Fixer drüber laufen lassen??
                              Welches System? VM ? Docker?

                              1 Reply Last reply
                              0
                              • N Offline
                                N Offline
                                newbie2007
                                wrote on last edited by newbie2007
                                #519

                                Doch. Internet ist OK
                                Ist ein RPI3.
                                Fixer habe ich auch laufen lassen.

                                1 Reply Last reply
                                0
                                • N newbie2007

                                  Hallo,
                                  wenn ich den JS-Controller von 2.1.1 auf die aktuelle 2.2.8 updaten möchte, dann bricht er mit einer Fehlermeldung ab.
                                  Die Logdatei ist im Anhang.
                                  Was Kann ich tun?

                                  Gruß
                                  Uwe
                                  2020-02-12T13_46_19_850Z-debug.log

                                  
                                  438 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@2.2.8" "--unsafe-perm" "--loglevel" "error" "--prefix" "/opt/iobroker"
                                  439 verbose node v10.16.3
                                  440 verbose npm  v6.9.0
                                  441 error code EINTEGRITY
                                  442 error errno EINTEGRITY
                                  443 error Invalid response body while trying to fetch https://registry.npmjs.org/pako: Integrity verification failed for sha512-siMsela4gjxPekLxxmPXXubk8loaq45MHrsV4PGDgg+Hb1OB7UuRjKIjFW9lqRcAXTHBWwnQ9LupDRzNs58nxQ== (/home/iobroker/.npm/_cacache/content-v2/sha512/b2/23/2c7a56b8823c4f7a42f1c663d75ee6e4f25a1aab8e4c1ebb15e0f183820f876f5381ed4b918ca223156f65a917005d31c15b09d0f4bba90d1ccdb39f27c5)
                                  444 verbose exit [ 1, true ]
                                  AlCalzoneA Offline
                                  AlCalzoneA Offline
                                  AlCalzone
                                  Developer
                                  wrote on last edited by
                                  #520

                                  @newbie2007 Probiere mal

                                  cd /opt/iobroker
                                  npm cache verify
                                  

                                  und wenn das nicht hilft

                                  cd /opt/iobroker
                                  npm cache clean --force
                                  

                                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                  1 Reply Last reply
                                  0
                                  • N Offline
                                    N Offline
                                    newbie2007
                                    wrote on last edited by
                                    #521

                                    @AlCalzone said in js-controller 2 jetzt für alle im Stable:

                                    cd /opt/iobroker npm cache verify

                                    ==========================================================================
                                    
                                        Your installation was fixed successfully
                                        Run iobroker start to start ioBroker again!
                                    
                                    ==========================================================================
                                    
                                    pi@ioBroker-RasPi:/opt/iobroker $ iobroker upgrade self
                                    Host    "ioBroker-RasPi" is up to date.
                                    pi@ioBroker-RasPi:/opt/iobroker $ iobroker start
                                    pi@ioBroker-RasPi:/opt/iobroker $ iobroker stop
                                    pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker
                                    pi@ioBroker-RasPi:/opt/iobroker $ npm cache verify
                                    npm ERR! Usage: npm cache add <tarball file>
                                    npm ERR! npm cache add <folder>
                                    npm ERR! npm cache add <tarball url>
                                    npm ERR! npm cache add <git url>
                                    npm ERR! npm cache add <name>@<version>
                                    npm ERR! npm cache ls [<path>]
                                    npm ERR! npm cache clean [<pkg>[@<version>]]
                                    pi@ioBroker-RasPi:/opt/iobroker $
                                    
                                    
                                    AlCalzoneA 1 Reply Last reply
                                    0
                                    • N newbie2007

                                      @AlCalzone said in js-controller 2 jetzt für alle im Stable:

                                      cd /opt/iobroker npm cache verify

                                      ==========================================================================
                                      
                                          Your installation was fixed successfully
                                          Run iobroker start to start ioBroker again!
                                      
                                      ==========================================================================
                                      
                                      pi@ioBroker-RasPi:/opt/iobroker $ iobroker upgrade self
                                      Host    "ioBroker-RasPi" is up to date.
                                      pi@ioBroker-RasPi:/opt/iobroker $ iobroker start
                                      pi@ioBroker-RasPi:/opt/iobroker $ iobroker stop
                                      pi@ioBroker-RasPi:/opt/iobroker $ cd /opt/iobroker
                                      pi@ioBroker-RasPi:/opt/iobroker $ npm cache verify
                                      npm ERR! Usage: npm cache add <tarball file>
                                      npm ERR! npm cache add <folder>
                                      npm ERR! npm cache add <tarball url>
                                      npm ERR! npm cache add <git url>
                                      npm ERR! npm cache add <name>@<version>
                                      npm ERR! npm cache ls [<path>]
                                      npm ERR! npm cache clean [<pkg>[@<version>]]
                                      pi@ioBroker-RasPi:/opt/iobroker $
                                      
                                      
                                      AlCalzoneA Offline
                                      AlCalzoneA Offline
                                      AlCalzone
                                      Developer
                                      wrote on last edited by
                                      #522

                                      @newbie2007 Welche npm-Version hast du denn? npm -v

                                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                      1 Reply Last reply
                                      0
                                      • N Offline
                                        N Offline
                                        newbie2007
                                        wrote on last edited by
                                        #523
                                        pi@ioBroker-RasPi:/opt/iobroker $ npm -v
                                        2.15.12
                                        pi@ioBroker-RasPi:/opt/iobroker $ node -v
                                        v10.16.3
                                        
                                        
                                        AlCalzoneA 1 Reply Last reply
                                        0
                                        • N Offline
                                          N Offline
                                          newbie2007
                                          wrote on last edited by
                                          #524

                                          Nach zahlreichen Versuchen und nochmaligem Drüberlaufen des Fixers und eines Neustarts bin ich jetzt auf 2.2.8.
                                          Werde testen.
                                          Verstehe aber nicht, warum es jetzt auf einmal funktioniert, bzw. aktuell ist.
                                          Habe es vorher nicht anders gemacht...

                                          Gruß
                                          Uwe

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          120

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe