Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Iobroker nach update leer nicht erreichbar

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Iobroker nach update leer nicht erreichbar

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

      hey

      habe ein update im web interface vom cloud adapter machen wollten habe folgende fehlermeldung erhalten:

      $ ./iobroker upgrade cloud
      Update cloud from @1.0.7 to @2.0.4
      host.raspberrypi2 Adapter "system.adapter.cloud.0" is stopped.
      npm install iobroker.cloud@2.0.4 --production --prefix "/opt/iobroker" (System call)
      npm
       WARN 
      read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0\. I'll try to do my best with it!
      npm
       notice created a lockfile as package-lock.json. You should commit this file.
      host.raspberrypi2 Adapter "system.adapter.cloud.0" is started
      ERROR: Cannot find io-package.json in /opt/iobroker/node_modules/iobroker.js-controller/adapter/cloud
      ERROR: process exited with code 10
      

      Nun wollte ich den nächsten Adapter updaten dann ist folgende fehler erschienen

      $ ./iobroker upgrade web
      ERROR: module.js:473      throw err;
            ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Function.Module._resolveFilename (module.js:527:15)
          at Function.Module._load (module.js:453:25)
          at Function.Module.runMain (module.js:665:10)
          at startup (bootstrap_node.js:187:16)
          at bootstrap_node.js:607:3
      
      

      nun ist kein iobroker mehr vorhanden und ich erhalte nur get / error wenn ich auf localhost zugreifen möchte.

      Probiere gerade alles zu retten mit

      cd /opt/iobroker
      ./iobroker stop
      npm install iobroker.admin
      npm install iobroker.js-controller
      chmod 777 * -R
      iobroker start
      

      es scheint aber als würde iobroker komplett neu instzalliert werden 😞 ich hoffe ich muss nicht alles neu einrichten. WO ist der fehler in meinem Raspbian ???

      geändert: Code in Code-Tags; Homoran (Mod)

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

        Hast du auch nodejs und/oder npm neu installiert/upgedated?

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • B
          badplay last edited by

          ja hab ich irgendwann

          kannst du bitte für beides die update sudo befehle geben

          hab das gefuhl hab mir durch ganze updaterei mein raspbian oder iobroker zerschossen

          gibt es irgendwo eine sammlung der wichtigsten update befehle um raspbian sowie iobroker aktuell zu halten ?

          mit dem code von oben zum updaten habe ich wieder zugriff. aber kein plan ob nun alles wieder so läuft wie es soll

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

            @badplay:

            kannst du bitte für beides die update sudo befehle geben `
            gib du mir erst einmal die Ergebnisse von:

            node -v
            npm -v
            

            Gruß

            Rainer

            1 Reply Last reply Reply Quote 0
            • B
              badplay last edited by

              Kann ich dir morgen abend geben, bin erst dann wieder in der Nähe der Installation. Leider weiß ich nicht wie ich von unterwegs drauf kommen könnte

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

                Kein Problem

                Bis morgen

                Rainer

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

                  Hallo,

                  habe heute auch ein Update von nodejs und npm durchgeführt und bekomme bei Installation eines neuen Adapters gleiche Meldung:

                  npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0\. I'll try to do my best with it!
                  

                  @Homoran:

                  gib du mir erst einmal die Ergebnisse von:

                  node -v
                  npm -v
                  ```` `  
                  

                  Meine versionen sind:

                  pi@MaJaPi:/opt/iobroker $ node -v
                  v8.6.0
                  pi@MaJaPi:/opt/iobroker $ npm -v
                  5.3.0
                  
                  

                  und JSController ist 1.2.0

                  Scheint irgendwas nicht mehr zu passen. Wie mache ich ein Downgrade von npm?

                  Mfg

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

                    sudo npm i npm@latest-4 -g
                    

                    Für v4 und wenn du noch v3 möchtest die 4 gegen eine 3 tauschen

                    Gruß

                    Rainer

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

                      Danke, nach Downgrade auf npm 4.6.1 funktioniert alles wieder!

                      Mfg

                      1 Reply Last reply Reply Quote 0
                      • B
                        badplay last edited by

                        liegt also nicht an mir super

                        hier meine versionen:

                        pi@raspberrypi2:~ $ node -v
                        v8.6.0
                        pi@raspberrypi2:~ $ npm -v
                        5.3.0
                        
                        1 Reply Last reply Reply Quote 0
                        • 0
                          0018 last edited by

                          @badplay:

                          liegt also nicht an mir super

                          hier meine versionen:

                          pi@raspberrypi2:~ $ node -v
                          v8.6.0
                          pi@raspberrypi2:~ $ npm -v
                          5.3.0
                          ```` `  Ein Downgrade von npm hilft….
                          

                          Gruß

                          Gesendet von meinem SM-G920F mit Tapatalk

                          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

                          468
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          3
                          11
                          1753
                          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