Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] ioBroker js-controller Upgrade Wahnsinn

    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

    [gelöst] ioBroker js-controller Upgrade Wahnsinn

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

      Probier mal

      sudo npm cache clean
      

      vor der Installation

      1 Reply Last reply Reply Quote 0
      • A
        aski71 last edited by

        @AlCalzone:

        Probier mal

        sudo npm cache clean
        

        vor der Installation `

        Das hatten wir doch weiter oben schon, oder?

        Hat auch nicht funktioniert.

        1 Reply Last reply Reply Quote 0
        • AlCalzone
          AlCalzone Developer last edited by

          Sorry, hatte ich nicht auf dem Schirm.

          1 Reply Last reply Reply Quote 0
          • A
            aski71 last edited by

            @AlCalzone:

            Sorry, hatte ich nicht auf dem Schirm. `

            Lieber ein Tipp zu viel, als einer zu wenig.

            Hätte das Ding gerne wieder in aktueller Version am Laufen.

            1 Reply Last reply Reply Quote 0
            • A
              aski71 last edited by

              @Dutchman:

              @aski71:

              @arteck:

              rechte ?? `

              Sollten angesichts sudo doch keine Rolle spielen?

              Fakt ist aber: Dieser Pfad existiert nicht. `

              trotzdem waere es sinvoll mal:

              sudo chmod -R 777 /opt/iobroker
              ````\
              
              aus zu fuehren
              
              ~Dutch `  
              

              Nope. Gleiches Problem.

              Außerdem probiert:

              einen````
              chown -R root /opt/iobroker

              einen````
              chgrp -R root /opt/iobroker
              

              das gleiche mit einem unverdächtigen User und den Upgrade ohne sudo und mit sudo versucht.

              Es kommt immer auf's gleiche raus. 😞

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

                Dateisystem kaputt?

                Man kann so machen:

                cd /opt/iobroker
                sudo iobroker stop
                mv node_modules node_modules_
                sudo npm cache clean
                npm i npm@latest-3 -g
                npm i iobroker.js-controller --production
                npm i iobroker.admin --production
                npm i iobroker.discovery --production
                sudo iobroker start
                
                

                Und warten…. ioBroker installiert dann alle fehlende Adapter.

                Achtung! Alle installierte module werden dabei gelöscht (moved) und neu installiert.

                1 Reply Last reply Reply Quote 0
                • A
                  aski71 last edited by

                  @Bluefox:

                  Dateisystem kaputt?

                  Man kann so machen:

                  cd /opt/iobroker
                  sudo iobroker stop
                  mv node_modules node_modules_
                  sudo npm cache clean
                  npm i npm@latest-3 -g
                  npm i iobroker.js-controller --production
                  npm i iobroker.admin --production
                  npm i iobroker.discovery --production
                  sudo iobroker start
                  
                  

                  Und warten…. ioBroker installiert dann alle fehlende Adapter.

                  Achtung! Alle installierte module werden dabei gelöscht (moved) und neu installiert. `

                  That did the trick!

                  Danke.

                  Keine Ahnung, was da schief war…

                  1 Reply Last reply Reply Quote 0
                  • D
                    dtp last edited by

                    Ich kenne das Problem.

                    Geholfen hat bei mir dann bisher immer die manuelle Deinstallation des js-controllers. Danach konnte ich den neuen js-controller installieren. http://forum.iobroker.net/viewtopic.php?f=36&t=8209&start=40#p87969 hatte ich es mal für die Version 1.2.0 beschrieben.

                    Letztlich war es aber der Grund, weshalb ich den ioBroker nun noch mal unter Raspian Stretch komplett neu aufgesetzt habe (bzw. gerade dabei bin). Trotzdem danke an Bluefox für den geposteten Workaround.

                    Gruß,

                    Thorsten

                    1 Reply Last reply Reply Quote 0
                    • R
                      RobS last edited by

                      @Bluefox:

                      Achtung! Alle installierte module werden dabei gelöscht (moved) und neu installiert. `

                      Gehen denn dabei Einstellungen, Skripte u.s.w. verloren?

                      Grüße,

                      Rob

                      1 Reply Last reply Reply Quote 0
                      • M
                        mri4iobroker last edited by

                        Hallo zusammen,

                        ich habe es so gelöst ..

                        cd /opt/iobroker
                        sudo iobroker stop
                        mv node_modules node_modules_
                        sudo npm cache clean
                        npm i npm@latest-3 -g
                        npm i iobroker.js-controller --production
                        iobroker restore 0
                        sudo iobroker start
                        

                        Damit kommen die alten Konfigurationen aus dem Backup wieder.

                        vg

                        Micha

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

                          iobroker backup
                          

                          vorrausgesetzt 😉

                          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

                          908
                          Online

                          31.9k
                          Users

                          80.2k
                          Topics

                          1.3m
                          Posts

                          12
                          24
                          2930
                          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