Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Master nach Update nicht mehr erreichbar

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    949

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Master nach Update nicht mehr erreichbar

Geplant Angeheftet Gesperrt Verschoben Gelöst Error/Bug
updatejs-controller updatemaster slave
6 Beiträge 2 Kommentatoren 473 Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • P Offline
    P Offline
    PeterPan
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    ich habe mich gerade an das Update meines Masters gemacht, nachdem der Slave problemlos durchgelaufen ist.
    Nun bekomme ich folgende Meldung bei Eingabe bspw. von iobroker start:

     module.js:550
        throw err;
        ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Function.Module._resolveFilename (module.js:548:15)
        at Function.Module._load (module.js:475:25)
        at Function.Module.runMain (module.js:694:10)
        at startup (bootstrap_node.js:204:16)
        at bootstrap_node.js:625:3
    
    

    Weiterhin liefert (in einem anderen Beitrag) gesehen:

    pi@Mathilda-RasPi:/ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
    /usr/bin/nodejs
    v8.14.0
    /usr/bin/node
    v8.14.0
    /usr/bin/npm
    6.4.1
    nodejs:
      Installiert:           8.14.0-1nodesource1
      Installationskandidat: 8.17.0-1nodesource1
      Versionstabelle:
         8.17.0-1nodesource1 500
            500 https://deb.nodesource.com/node_8.x stretch/main armhf Packages
     *** 8.14.0-1nodesource1 100
            100 /var/lib/dpkg/status
         8.11.1~dfsg-2~bpo9+1 500
            500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
         4.8.2~dfsg-1 500
            500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
    

    Was wären eure Tipps? Ich will nicht noch mehr kaputtmachen ...

    LG Martin

    HomoranH 1 Antwort Letzte Antwort
    0
    • P PeterPan

      @Homoran ok, wollte nur sicher gehen :innocent:.

      Die ersten beiden Befehle scheinen gut gelaufen zu sein.

      curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
      sudo apt-get install -y nodejs
      

      Aber mein Gefühl sagt mir, dass bei mir ggf. doch etwas Grundsätzliches schief gelaufen ist ...

      pi@Mathilda-RasPi:/opt/iobroker $ node -v
      v12.18.3
      pi@Mathilda-RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
      library: loaded
      Library version=2020-06-12
      ioBroker is not installed in /opt/iobroker! Cannot fix anything...
      pi@Mathilda-RasPi:/opt/iobroker $ cd /opt/iobroker
      pi@Mathilda-RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
      library: loaded
      Library version=2020-06-12
      ioBroker is not installed in /opt/iobroker! Cannot fix anything...
      pi@Mathilda-RasPi:/opt/iobroker $ iobroker start
      internal/modules/cjs/loader.js:968
        throw err;
        ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob                          roker.js'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
          at Function.Module._load (internal/modules/cjs/loader.js:841:27)
          at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js                          :71:12)
          at internal/main/run_main_module.js:17:47 {
        code: 'MODULE_NOT_FOUND',
        requireStack: []
      }
      pi@Mathilda-RasPi:/opt/iobroker $
      
      
       pi@Mathilda-RasPi:/opt/iobroker $ ls -l
      insgesamt 80
      drwxrwxrwx   2 root root  4096 Mär 30  2018 etc
      -rwxrwxrwx   1 root root   297 Apr  1  2018 install.sh
      -rwxrwxrwx   1 root root   101 Sep 18  2019 iob
      -rwxrwxrwx   1 root root    67 Apr  1  2018 iobroker
      drwxrwxrwx   6 root root  4096 Dez 28  2018 iobroker-data
      -rwxrwxrwx   1 root root    92 Dez  5  2018 killall.sh
      drwxrwxrwx   2 root root 20480 Sep  7 03:41 log
      drwxrwxrwx 635 root root 20480 Sep  7 18:05 node_modules
      -rwxrwxrwx   1 pi   pi    1391 Jun 27 13:38 package.json
      -rwxrwxrwx   1 root root  5738 Dez  5  2019 reinstall.js
      -rwxrwxrwx   1 root root   709 Dez  5  2018 reinstall.sh
      

      Bin ich verloren?

      P Offline
      P Offline
      PeterPan
      schrieb am zuletzt editiert von
      #6

      @Homoran Folgendes habe ich zwischenzeitlich noch gefunden und versucht:

      sudo systemctl stop iobroker
      sudo su
      cd /opt/iobroker
      sudo chmod 777 * -R
      sudo npm install iobroker.js-controller --production
      

      Danach den Fixer ausgeführt und jetzt läuft wieder alles.

      Vielen Dank!!

      1 Antwort Letzte Antwort
      0
      • P PeterPan

        Hallo zusammen,

        ich habe mich gerade an das Update meines Masters gemacht, nachdem der Slave problemlos durchgelaufen ist.
        Nun bekomme ich folgende Meldung bei Eingabe bspw. von iobroker start:

         module.js:550
            throw err;
            ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Function.Module._resolveFilename (module.js:548:15)
            at Function.Module._load (module.js:475:25)
            at Function.Module.runMain (module.js:694:10)
            at startup (bootstrap_node.js:204:16)
            at bootstrap_node.js:625:3
        
        

        Weiterhin liefert (in einem anderen Beitrag) gesehen:

        pi@Mathilda-RasPi:/ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
        /usr/bin/nodejs
        v8.14.0
        /usr/bin/node
        v8.14.0
        /usr/bin/npm
        6.4.1
        nodejs:
          Installiert:           8.14.0-1nodesource1
          Installationskandidat: 8.17.0-1nodesource1
          Versionstabelle:
             8.17.0-1nodesource1 500
                500 https://deb.nodesource.com/node_8.x stretch/main armhf Packages
         *** 8.14.0-1nodesource1 100
                100 /var/lib/dpkg/status
             8.11.1~dfsg-2~bpo9+1 500
                500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
             4.8.2~dfsg-1 500
                500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
        

        Was wären eure Tipps? Ich will nicht noch mehr kaputtmachen ...

        LG Martin

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #2

        @PeterPan wie sieht das selbe denn auf dem slave aus?

        Du nutzst noch node 8, die ist end of Life.
        mach mal ein update auf node12, dann hast du erst mal wieder Zeit.

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        P 1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @PeterPan wie sieht das selbe denn auf dem slave aus?

          Du nutzst noch node 8, die ist end of Life.
          mach mal ein update auf node12, dann hast du erst mal wieder Zeit.

          P Offline
          P Offline
          PeterPan
          schrieb am zuletzt editiert von
          #3

          @Homoran Danke für die schnelle Antwort. Mein Slave hat tatsächlich eine höhere Version, die 10. Wie gehe ich jetzt am Besten vor? Ich habe das How-to https://forum.iobroker.net/topic/22867/how-to-node-js-f%C3%BCr-iobroker-richtig-updaten gefunden. Soll ich mich daran entlang hangeln?

          HomoranH 1 Antwort Letzte Antwort
          0
          • P PeterPan

            @Homoran Danke für die schnelle Antwort. Mein Slave hat tatsächlich eine höhere Version, die 10. Wie gehe ich jetzt am Besten vor? Ich habe das How-to https://forum.iobroker.net/topic/22867/how-to-node-js-f%C3%BCr-iobroker-richtig-updaten gefunden. Soll ich mich daran entlang hangeln?

            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #4

            @PeterPan sagte in Master nach Update nicht mehr erreichbar:

            Soll ich mich daran entlang hangeln?

            wäre wohl sinnvoll ;-)

            Alternativ gibt es noch einen Thread von @Thomas-Braun mit etwas anderen Befehlen

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            P 1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @PeterPan sagte in Master nach Update nicht mehr erreichbar:

              Soll ich mich daran entlang hangeln?

              wäre wohl sinnvoll ;-)

              Alternativ gibt es noch einen Thread von @Thomas-Braun mit etwas anderen Befehlen

              P Offline
              P Offline
              PeterPan
              schrieb am zuletzt editiert von
              #5

              @Homoran ok, wollte nur sicher gehen :innocent:.

              Die ersten beiden Befehle scheinen gut gelaufen zu sein.

              curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
              sudo apt-get install -y nodejs
              

              Aber mein Gefühl sagt mir, dass bei mir ggf. doch etwas Grundsätzliches schief gelaufen ist ...

              pi@Mathilda-RasPi:/opt/iobroker $ node -v
              v12.18.3
              pi@Mathilda-RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
              library: loaded
              Library version=2020-06-12
              ioBroker is not installed in /opt/iobroker! Cannot fix anything...
              pi@Mathilda-RasPi:/opt/iobroker $ cd /opt/iobroker
              pi@Mathilda-RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
              library: loaded
              Library version=2020-06-12
              ioBroker is not installed in /opt/iobroker! Cannot fix anything...
              pi@Mathilda-RasPi:/opt/iobroker $ iobroker start
              internal/modules/cjs/loader.js:968
                throw err;
                ^
              
              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob                          roker.js'
                  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
                  at Function.Module._load (internal/modules/cjs/loader.js:841:27)
                  at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js                          :71:12)
                  at internal/main/run_main_module.js:17:47 {
                code: 'MODULE_NOT_FOUND',
                requireStack: []
              }
              pi@Mathilda-RasPi:/opt/iobroker $
              
              
               pi@Mathilda-RasPi:/opt/iobroker $ ls -l
              insgesamt 80
              drwxrwxrwx   2 root root  4096 Mär 30  2018 etc
              -rwxrwxrwx   1 root root   297 Apr  1  2018 install.sh
              -rwxrwxrwx   1 root root   101 Sep 18  2019 iob
              -rwxrwxrwx   1 root root    67 Apr  1  2018 iobroker
              drwxrwxrwx   6 root root  4096 Dez 28  2018 iobroker-data
              -rwxrwxrwx   1 root root    92 Dez  5  2018 killall.sh
              drwxrwxrwx   2 root root 20480 Sep  7 03:41 log
              drwxrwxrwx 635 root root 20480 Sep  7 18:05 node_modules
              -rwxrwxrwx   1 pi   pi    1391 Jun 27 13:38 package.json
              -rwxrwxrwx   1 root root  5738 Dez  5  2019 reinstall.js
              -rwxrwxrwx   1 root root   709 Dez  5  2018 reinstall.sh
              

              Bin ich verloren?

              P 1 Antwort Letzte Antwort
              0
              • P PeterPan

                @Homoran ok, wollte nur sicher gehen :innocent:.

                Die ersten beiden Befehle scheinen gut gelaufen zu sein.

                curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                sudo apt-get install -y nodejs
                

                Aber mein Gefühl sagt mir, dass bei mir ggf. doch etwas Grundsätzliches schief gelaufen ist ...

                pi@Mathilda-RasPi:/opt/iobroker $ node -v
                v12.18.3
                pi@Mathilda-RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
                library: loaded
                Library version=2020-06-12
                ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                pi@Mathilda-RasPi:/opt/iobroker $ cd /opt/iobroker
                pi@Mathilda-RasPi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
                library: loaded
                Library version=2020-06-12
                ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                pi@Mathilda-RasPi:/opt/iobroker $ iobroker start
                internal/modules/cjs/loader.js:968
                  throw err;
                  ^
                
                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob                          roker.js'
                    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
                    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
                    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js                          :71:12)
                    at internal/main/run_main_module.js:17:47 {
                  code: 'MODULE_NOT_FOUND',
                  requireStack: []
                }
                pi@Mathilda-RasPi:/opt/iobroker $
                
                
                 pi@Mathilda-RasPi:/opt/iobroker $ ls -l
                insgesamt 80
                drwxrwxrwx   2 root root  4096 Mär 30  2018 etc
                -rwxrwxrwx   1 root root   297 Apr  1  2018 install.sh
                -rwxrwxrwx   1 root root   101 Sep 18  2019 iob
                -rwxrwxrwx   1 root root    67 Apr  1  2018 iobroker
                drwxrwxrwx   6 root root  4096 Dez 28  2018 iobroker-data
                -rwxrwxrwx   1 root root    92 Dez  5  2018 killall.sh
                drwxrwxrwx   2 root root 20480 Sep  7 03:41 log
                drwxrwxrwx 635 root root 20480 Sep  7 18:05 node_modules
                -rwxrwxrwx   1 pi   pi    1391 Jun 27 13:38 package.json
                -rwxrwxrwx   1 root root  5738 Dez  5  2019 reinstall.js
                -rwxrwxrwx   1 root root   709 Dez  5  2018 reinstall.sh
                

                Bin ich verloren?

                P Offline
                P Offline
                PeterPan
                schrieb am zuletzt editiert von
                #6

                @Homoran Folgendes habe ich zwischenzeitlich noch gefunden und versucht:

                sudo systemctl stop iobroker
                sudo su
                cd /opt/iobroker
                sudo chmod 777 * -R
                sudo npm install iobroker.js-controller --production
                

                Danach den Fixer ausgeführt und jetzt läuft wieder alles.

                Vielen Dank!!

                1 Antwort Letzte Antwort
                0
                Antworten
                • In einem neuen Thema antworten
                Anmelden zum Antworten
                • Älteste zuerst
                • Neuste zuerst
                • Meiste Stimmen


                Support us

                ioBroker
                Community Adapters
                Donate

                664

                Online

                32.6k

                Benutzer

                82.2k

                Themen

                1.3m

                Beiträge
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                ioBroker Community 2014-2025
                logo
                • Anmelden

                • Du hast noch kein Konto? Registrieren

                • Anmelden oder registrieren, um zu suchen
                • Erster Beitrag
                  Letzter Beitrag
                0
                • Home
                • Aktuell
                • Tags
                • Ungelesen 0
                • Kategorien
                • Unreplied
                • Beliebt
                • GitHub
                • Docu
                • Hilfe