Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Js.controller update auf 0.14.x (vorher0.13.2) => totalausfall

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Js.controller update auf 0.14.x (vorher0.13.2) => totalausfall

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

      @Bluefox:

      Bin heute auch auf diese Fehler gestoßen. Gogge sagt wenig. Bis jetzt konnte ich aber mit

      chmod 700 /root
      chmod 777 /root/.node-gyp
      chmod 777 /root/.node-gyp/* -R
      
      

      Lösen. `

      Brachte leider nichts. Obwohl die Rechte so vergeben sind, habe ich es nochmals durchgeführt. Keine Chance.

      Was ist mit diesen Infos hier:

      Error: EACCES: permission denied, open '/volume1/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../killall.sh'
          at Error (native)
          at Object.fs.openSync (fs.js:549:18)
          at Object.fs.writeFileSync (fs.js:1156:15)
          at Setup.setup (/volume1/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:88:24)
          at /volume1/iobroker/node_modules/iobroker.js-controller/lib/setup.js:554:23
          at Object. <anonymous>(/volume1/iobroker/node_modules/iobroker.js-controller/lib/setup.js:575:11)
          at Module._compile (module.js:409:26)
          at Object.Module._extensions..js (module.js:416:10)
          at Module.load (module.js:343:32)
          at Function.Module._load (module.js:300:12)</anonymous>
      

      Und

      npm ERR! iobroker.js-controller@0.14.0 install: `node lib/setup.js setup first`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the iobroker.js-controller@0.14.0 install script 'node lib/setup.js setup first'.
      npm ERR! This is most likely a problem with the iobroker.js-controller package,
      npm ERR! not with npm itself.
      
      

      Fitti.

      1 Reply Last reply Reply Quote 0
      • F
        Fitti last edited by

        Etwas geforscht. Node.js und dieser Kram scheint eine Diva zu sein.

        1.) Mir scheint die Skripts der Updateroutine nicht ganz sauber zu sein. Speziell das fs.js Modul macht Schwierigkeiten beim Kopieren des killall.sh Skriptes - das hat auch nur wenig Rechte.

        2.) Laut diversen Seiten ist ein npm install iobroker nicht so gut, da hier node den User zu nobody wechselt. Und zack haben wir unsere Leseschwierigkeiten mit node-gyp!

        <u>Lösung:</u>

        [sudo] npm install –unsafe-perm iobroker UND

        Add the unsafe-perm flag to your package.json:

        "config": {
            "unsafe-perm":true
        }
        
        

        <= Das müsste dann in die Updateroutine. Falls es hier jemand noch liest und interessiert.

        Meine Update habe ich nun hinbekommen, indem ich iobroker neu mit –unsafe-perm installierte und dann die iobroker-data und node_modules Ordner zurückkopierte. Dabei aber dann den Ordner iobroker.js-controller.... beibehielt.

        1 Reply Last reply Reply Quote 0
        • E
          Elektroman last edited by

          Habe das gleiche Problem Neuinstallation geht auch nicht [emoji15][emoji848][emoji22]

          1 Reply Last reply Reply Quote 0
          • E
            Elektroman last edited by

            Egal was ich versuche, ich bekomme IOBroker auf Synology nach dem Update nicht mehr zum laufen [emoji30]![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201701 ... dd088b.png">https://uploads.tapatalk-cdn.com/20170124/d3465315a2c49078b99b395a5add088b.png</link_text>" />

            1 Reply Last reply Reply Quote 0
            • E
              Elektroman last edited by

              Habe es auch schon in anderen Verzeichnissen mit einer Neuinstallation versucht

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                Du hast einen EACCESS

                anscheinend fehlen dir die Rechte.

                Mit Synology habe ich es noch nicht probiert, aber üblicherweise gibt man dem Ordner /opt/iobroker alle Rechte mit

                sudo chmod 777 -R /opt/iobroker
                

                Wenn da etwas schiefgeht (es wurde berichtet!) ist anschließend die ganze Syno für alle offen!

                Lass das mal lieber noch jemanden bestätigen, der ioBroker auf einer Syno hat.

                Gruß

                Rainer

                1 Reply Last reply Reply Quote 0
                • E
                  Elektroman last edited by

                  Hallo

                  Erst einmal vielen Dank für die Antwort,

                  Habe aber alle Kombinationen durch was rechtevergabe betrifft [emoji30]

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

                    @Elektroman:

                    Hallo

                    Erst einmal vielen Dank für die Antwort,

                    Habe aber alle Kombinationen durch was rechtevergabe betrifft [emoji30] `
                    Im welchem Verzeichnis steht jetzt ioBroker?

                    Gibt es Komando "sudo" auf deinem Platform?

                    1 Reply Last reply Reply Quote 0
                    • E
                      Elektroman last edited by

                      Ja, sudo geht auf dem NAS (Synology) 214+

                      Ich habe es schon unter mehreren Verzeichnissen versucht

                      Aufbauend ab Home

                      Aber auch schon ab Volume1

                      …....opt/IOBroker/

                      Lief ja auch alles bis zum Update

                      Jetzt habe ich auch schon alles gelöscht und alles neu versucht, leider nichts

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators last edited by

                        Ich weiss nicht ob das bei einem updare abgefangen wird, aber der originalpfad heisst /opt/iobroker in Kleinschreibung!

                        Gruß

                        Rainer

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

                          @Elektroman:

                          Ja, sudo geht auf dem NAS (Synology) 214+

                          Ich habe es schon unter mehreren Verzeichnissen versucht

                          Aufbauend ab Home

                          Aber auch schon ab Volume1

                          …....opt/IOBroker/

                          Lief ja auch alles bis zum Update

                          Jetzt habe ich auch schon alles gelöscht und alles neu versucht, leider nichts `
                          Immer gleicher Fehler? Mit EACCES ?

                          1 Reply Last reply Reply Quote 0
                          • E
                            Elektroman last edited by

                            So wie ich das überschauen kann ja

                            1 Reply Last reply Reply Quote 0
                            • E
                              Elektroman last edited by

                              Habe dir mal eine persönliche Nachricht geschickt mit Debug file / ich hoffe das ist ok

                              1 Reply Last reply Reply Quote 0
                              • F
                                Fitti last edited by

                                okay - als erstes installiere das mal bitte nur in /volume1/iobroker .

                                kein /opt/iobroker und auch kein /home… denn da greift die syn voll rein und schreibt rechte neu!

                                dann mache vorher ein sudo -s - dann bleibst Du auf sudo. Du müstest dann einen anderen kurzen Prompt haben, sowas wie 4.3#

                                Probier das mal als erstes aus!

                                Fitti

                                1 Reply Last reply Reply Quote 0
                                • E
                                  Elektroman last edited by

                                  Unter volume1 kann ich kein Ordner IOBroker anlegen

                                  ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201701 ... eb4883.jpg">https://uploads.tapatalk-cdn.com/20170125/fe3ab592517543a0170f633534eb4883.jpg</link_text>" />

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators last edited by

                                    @Elektroman:

                                    Unter volume1 kann ich kein Ordner IOBroker anlegen genau: > file exists `

                                    Da ist aber was schief gelaufen.

                                    Ich glaube ich überlasse fitti das Feld 😉

                                    Gruß

                                    Rainer

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      Elektroman last edited by

                                      Schon mal vielen Dank für die Anteilnahme [emoji106][emoji12]

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

                                        @Elektroman:

                                        Unter volume1 kann ich kein Ordner IOBroker anlegen

                                        ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201701 ... eb4883.jpg">https://uploads.tapatalk-cdn.com/20170125/fe3ab592517543a0170f633534eb4883.jpg</link_text>" /> ` ~~du hast wohl ioBroke direkt in volume1 installiert.

                                        jetzt sollte man erst "rm iobroker" machen.

                                        sudo -s
                                        cd /volume1
                                        rm iobroker
                                        rm killall.sh
                                        rm node_modules/* -R
                                        rmdir node_modules
                                        rm reinstall.sh
                                        rm install.sh
                                        rm log/* -R
                                        rmdir log
                                        
                                        

                                        Was ist mit iobroker-data ? Hast du da Einstellungen? Wenn nicht dann auch löschen.

                                        Und erst danach:

                                        mkdir iobroker
                                        cd iobroker
                                        chmod 777 .
                                        npm i iobroker
                                        ````~~
                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          Elektroman last edited by

                                          Danke

                                          hat leider nicht funktioniert

                                          Mit Sudo und ohne probiert

                                          ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201701 ... 975f8b.jpg">https://uploads.tapatalk-cdn.com/20170125/ca14d8dd16bcc508c0015067bc975f8b.jpg</link_text>" />

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            Elektroman last edited by

                                            Muss mal morgen weiter schauen

                                            Gute Nacht

                                            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

                                            570
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            85
                                            10271
                                            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