Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 2 jetzt für alle im Stable

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 2 jetzt für alle im Stable

    This topic has been deleted. Only users with topic management privileges can see it.
    • Hiltex
      Hiltex last edited by

      Ich hab mal eine Frage zum neuen Speicherort für selbst-hochgeladene Dateien.

      In der Beschreibung ganz oben steht zum einen, dass es den neuen Speicherort 0_userdata.0 gibt, der für eigene Datenpunkte und Dateien genutzt werden soll. Andererseits steht da auch, dass man eigene Dateien nach vis.0 hochladen soll.

      Ist jetzt beides möglich/erwünscht?

      Hintergrund meiner Frage:
      Natürlich waren alle eigenen Bilder, die ich unter /opt/iobroker/iobroker-data/files/_bilder/abgelegt hatte, nicht mehr zusehen. Der Befehl iobroker file sync hat das auch angemeckert, also hab ich mit das Verzeichnis /opt/iobroker/iobroker-data/files/0_userdata.0/ selber angelegt und meine Bilder hinein geschoben. Erneut iobroker file syncausgeführt, und da sind sie.

      Aber: im VIS-Dateimanager kann man nichts in dieses Verzeichnis laden, dabei fände ich das garnicht so schlecht und es wäre konsequent.

      Kann mir das bitte nochmal jemand erklären?

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

        Aaaaalso 🙂

        Wenn ein Adapter es braucht kann er einen Platz bestimmen wo "user spezifische Inhalte/Dateien" abgelegt werden können. vis tutu das mit vis.0, iqontrol tut das auch. Beide bieten aktuell jeweils über Ihre Editoren an das man in diese "eigenen" Bereiche DFateien hochladen kann.

        Da (und das haben findige User gezeigt) das scheinbar nicht ausreichte haben wir einen sonstigen Platz für eigene File geschaffen - was noch fehlt ist der offizielle Editor dafür der einen Upload erlaubt 😉
        Dein Umweg über den sync Befehl tut.

        1 Reply Last reply Reply Quote 1
        • P
          P-A-L-A-D-I-N @apollon77 last edited by

          @apollon77 Leider noch immer nichts auf der Download-Seite... Sofern heute oder morgen von Eurer Seite nichts mehr kommt, würde ich es dann jetzt mal mit der derzeit aktuellsten Version versuchen.

          apollon77 1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 @P-A-L-A-D-I-N last edited by

            @P-A-L-A-D-I-N Download Seite? Meinst Du nen Windows Installer? Also generell ist die 2.2.8 draussen ... der Windows Installer fehlt glaube ich noch.

            P 1 Reply Last reply Reply Quote 0
            • P
              P-A-L-A-D-I-N @apollon77 last edited by

              @apollon77 Diese hier: https://www.iobroker.net/#de/download Man weiß es eben nie ganz sicher, weil es ja auch schon vorgekommen ist, daß der neue Installer da war, aber das Datum nicht angepaßt worden ist. 😉

              1 Reply Last reply Reply Quote 1
              • S
                Schimi last edited by

                Gibt es schon was neues?

                1 Reply Last reply Reply Quote 0
                • N
                  newbie2007 last edited by Negalein

                  Was kann ich hier tun?

                  root@ioBroker-RasPi:/opt/iobroker# sudo iobroker upgrade self
                  Update js-controller from @2.1.1 to @2.2.8
                  NPM version: 6.9.0
                  npm install iobroker.js-controller@2.2.8 --unsafe-perm --loglevel error --prefix                                                                                                              "/opt/iobroker" (System call)
                  npm ERR! code EINTEGRITY
                  npm ERR! errno EINTEGRITY
                  npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/                                                                                                             pako: Integrity verification failed for sha512-siMsela4gjxPekLxxmPXXubk8loaq45MH                                                                                                             rsV4PGDgg+Hb1OB7UuRjKIjFW9lqRcAXTHBWwnQ9LupDRzNs58nxQ== (/home/iobroker/.npm/_ca                                                                                                             cache/content-v2/sha512/b2/23/2c7a56b8823c4f7a42f1c663d75ee6e4f25a1aab8e4c1ebb15                                                                                                             e0f183820f876f5381ed4b918ca223156f65a917005d31c15b09d0f4bba90d1ccdb39f27c5)
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2020-02-06T16_06_04_903Z-debug.log
                  Starting node restart.js
                  

                  Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
                  Hier gehts zur Hilfe.

                  Neuschwansteini apollon77 2 Replies Last reply Reply Quote 0
                  • Neuschwansteini
                    Neuschwansteini @newbie2007 last edited by

                    @newbie2007 warum sudo und warum als root?
                    Besser an die Anleitung halten, die oben angepinnt ist..

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

                      @newbie2007 Neben den genannten Anmerkungen scheint das eher was mit npmjs zu sein. Internet Verbindung und so prüfen..

                      1 Reply Last reply Reply Quote 0
                      • N
                        newbie2007 last edited by Negalein

                        steht doch so in der Beschreibung direkt im ioBroker.
                        Habe es aber jetzt wie oben angepinnt probiert.
                        Geht aber auch nicht.

                        Gruß
                        Uwe

                        pi@ioBroker-RasPi:~ $ iobroker upgrade self
                        Update js-controller from @2.1.1 to @2.2.8
                        NPM version: 6.9.0
                        npm install iobroker.js-controller@2.2.8 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
                        npm ERR! code EINTEGRITY
                        npm ERR! errno EINTEGRITY
                        npm ERR! 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)
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2020-02-06T16_17_04_750Z-debug.log
                        Starting node restart.js
                        

                        Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
                        Hier gehts zur Hilfe.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jan1 @newbie2007 last edited by

                          @newbie2007
                          Du bist lustig, im ersten Beispiel bist als root angemeldet und verwendest "sudo", bei root nicht nötig da eh root Rechte und im zweiten bist als User pi ohne root Rechte angemeldet und machst das ohne sudo. Ich glaub Du weißt einfach nicht was Du da überhaupt tust.

                          1 Reply Last reply Reply Quote 1
                          • N
                            newbie2007 last edited by

                            Stimmt. Bin noch am Lernen.
                            Deshalb hatte ich gefragt.
                            Hast du denn eine Lösung?

                            1 Reply Last reply Reply Quote 0
                            • N
                              newbie2007 last edited by

                              Besser?
                              Geht aber auch nicht...

                              pi@ioBroker-RasPi:~ $ sudo su
                              root@ioBroker-RasPi:/home/pi# iobroker stop
                              root@ioBroker-RasPi:/home/pi# iobroker upgrade self
                              Update js-controller from @2.1.1 to @2.2.8
                              NPM version: 6.9.0
                              npm install iobroker.js-controller@2.2.8 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
                              npm ERR! code EINTEGRITY
                              npm ERR! errno EINTEGRITY
                              npm ERR! 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)
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2020-02-06T16_50_16_438Z-debug.log
                              Starting node restart.js
                              root@ioBroker-RasPi:/home/pi#
                              
                              
                              J Chaot 2 Replies Last reply Reply Quote 0
                              • J
                                Jan1 @newbie2007 last edited by

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

                                code EINTEGRITY

                                Steht auch oben schon, da scheint die Quelle nicht erreichbar zu sein. Also entweder Du bist mit der Kiste nicht online, oder der Server ist down.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  newbie2007 last edited by

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

                                  https://registry.npmjs.org/pako

                                  Online bin ich mit dem RPI und wenn ich den Server anspreche, ist der auch erreichbar.

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    Jan1 @newbie2007 last edited by Jan1

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

                                    https://registry.npmjs.org/pako

                                    Aber runter laden möchte er es einfach nicht, warum ist dann die Frage.
                                    boote mal den Pi neu, schadet nicht und lass den Fixer laufen, schadet auch nicht.

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      newbie2007 last edited by

                                      schon getan.

                                      pi@ioBroker-RasPi:~ $ iobroker stop
                                      sudo iobrokepi@ioBroker-RasPi:~ $ sudo iobroker upgrade self
                                      Update js-controller from @2.1.1 to @2.2.8
                                      NPM version: 6.9.0
                                      npm install iobroker.js-controller@2.2.8 --unsafe-perm --loglevel error --prefix "/opt/iobroker" (System call)
                                      npm ERR! code EINTEGRITY
                                      npm ERR! errno EINTEGRITY
                                      npm ERR! 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)
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2020-02-06T17_12_45_468Z-debug.log
                                      Starting node restart.js
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Chaot
                                        Chaot @newbie2007 last edited by

                                        @newbie2007
                                        Geh doch erst mal ins ioBroker Verzeichnis:

                                        cd /opt/iobroker/
                                        

                                        und versuche es dann nochmal.

                                        N 1 Reply Last reply Reply Quote 0
                                        • F
                                          fabster0815 last edited by

                                          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 ?

                                          Neuschwansteini 1 Reply Last reply Reply Quote 0
                                          • Neuschwansteini
                                            Neuschwansteini @fabster0815 last edited by

                                            @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 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

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller js-controller 2
                                            74
                                            556
                                            138776
                                            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