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. English
  3. ioBroker general
  4. Update System iobroker failed

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    493

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.6k

Update System iobroker failed

Geplant Angeheftet Gesperrt Verschoben ioBroker general
update iobroker
164 Beiträge 7 Kommentatoren 23.9k Aufrufe 5 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.
  • Thomas BraunT Thomas Braun

    @tiger

    Then you never did update your system before.
    And you are running the Desktop-Variant. Both is a no-go.

    T Offline
    T Offline
    Tiger
    schrieb am zuletzt editiert von
    #24

    @thomas-braun
    Once everything was working.. i Didn't made any update...
    Now It's because I would like to add some functionnality as Smappee on my Vis...
    I need it.
    or I will continue like that with old version and will continue to work as before :)

    Whatever, thanks to all for your help.

    progress is 48%

    HomoranH Thomas BraunT 2 Antworten Letzte Antwort
    0
    • T Tiger

      @thomas-braun
      Once everything was working.. i Didn't made any update...
      Now It's because I would like to add some functionnality as Smappee on my Vis...
      I need it.
      or I will continue like that with old version and will continue to work as before :)

      Whatever, thanks to all for your help.

      progress is 48%

      HomoranH Offline
      HomoranH Offline
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von Homoran
      #25

      @tiger sagte in Update System iobroker failed:

      or I will continue like that with old version and will continue to work as before

      don't even think about this.
      the day will come and you have to update an adapter you need.

      due to the 'never change a running system' approach, now you are in trouble.
      And then you'll be in big trouble for sure.

      Please keep your system up to date always. for security and convenience

      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 -

      1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @tiger

        So what is the output to

        sudo apt update
        

        then?

        T Offline
        T Offline
        Tiger
        schrieb am zuletzt editiert von
        #26

        @thomas-braun
        so, here the result
        pi@raspberrypi:~ $ sudo apt update
        Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Hit:2 https://deb.nodesource.com/node_10.x buster InRelease
        Hit:3 http://archive.raspberrypi.org/debian buster InRelease
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        All packages are up to date.

        1 Antwort Letzte Antwort
        0
        • T Tiger

          @thomas-braun
          Once everything was working.. i Didn't made any update...
          Now It's because I would like to add some functionnality as Smappee on my Vis...
          I need it.
          or I will continue like that with old version and will continue to work as before :)

          Whatever, thanks to all for your help.

          progress is 48%

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #27

          @tiger sagte in Update System iobroker failed:

          Once everything was working.. i Didn't made any update...

          I'm not sure if it makes any sense to help you with that attitude...

          Once again:

          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          T 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @tiger sagte in Update System iobroker failed:

            Once everything was working.. i Didn't made any update...

            I'm not sure if it makes any sense to help you with that attitude...

            Once again:

            uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            
            T Offline
            T Offline
            Tiger
            schrieb am zuletzt editiert von Tiger
            #28

            @thomas-braun
            I understand you, but I would like to be up to date and continue, it's just because i dont like to not understand everything and take time of other poeple ;)
            That's why I thank you for all.

            
            pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            armv7l
            /usr/bin/nodejs
            /usr/local/bin/node
            /usr/local/bin/npm
            v10.24.1
            v14.20.0
            6.14.17
            pi
            /home/pi
            Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
            Hit:2 http://archive.raspberrypi.org/debian buster InRelease                   
            Hit:3 https://deb.nodesource.com/node_10.x buster InRelease                    
            Reading package lists... Done                                     
            Building dependency tree       
            Reading state information... Done
            All packages are up to date.
            nodejs:
              Installed: 10.24.1-1nodesource1
              Candidate: 10.24.1-1nodesource1
              Version table:
             *** 10.24.1-1nodesource1 500
                    500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                    100 /var/lib/dpkg/status
                 10.24.0~dfsg-1~deb10u1 500
                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
            
            
            
            HomoranH Thomas BraunT 2 Antworten Letzte Antwort
            0
            • T Tiger

              @thomas-braun
              I understand you, but I would like to be up to date and continue, it's just because i dont like to not understand everything and take time of other poeple ;)
              That's why I thank you for all.

              
              pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              armv7l
              /usr/bin/nodejs
              /usr/local/bin/node
              /usr/local/bin/npm
              v10.24.1
              v14.20.0
              6.14.17
              pi
              /home/pi
              Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
              Hit:2 http://archive.raspberrypi.org/debian buster InRelease                   
              Hit:3 https://deb.nodesource.com/node_10.x buster InRelease                    
              Reading package lists... Done                                     
              Building dependency tree       
              Reading state information... Done
              All packages are up to date.
              nodejs:
                Installed: 10.24.1-1nodesource1
                Candidate: 10.24.1-1nodesource1
                Version table:
               *** 10.24.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                      100 /var/lib/dpkg/status
                   10.24.0~dfsg-1~deb10u1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
              
              
              
              HomoranH Offline
              HomoranH Offline
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von Homoran
              #29

              @tiger sagte in Update System iobroker failed:

              because i dont like to not understand everything

              that's a good point of view

              so we will work on it, making you to understand it

              @tiger sagte in Update System iobroker failed:

              take time of other poeple

              that's our decision! hoping you learn something and possible give this to others

              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 -

              T 1 Antwort Letzte Antwort
              0
              • T Tiger

                @thomas-braun
                I understand you, but I would like to be up to date and continue, it's just because i dont like to not understand everything and take time of other poeple ;)
                That's why I thank you for all.

                
                pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                armv7l
                /usr/bin/nodejs
                /usr/local/bin/node
                /usr/local/bin/npm
                v10.24.1
                v14.20.0
                6.14.17
                pi
                /home/pi
                Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                Hit:2 http://archive.raspberrypi.org/debian buster InRelease                   
                Hit:3 https://deb.nodesource.com/node_10.x buster InRelease                    
                Reading package lists... Done                                     
                Building dependency tree       
                Reading state information... Done
                All packages are up to date.
                nodejs:
                  Installed: 10.24.1-1nodesource1
                  Candidate: 10.24.1-1nodesource1
                  Version table:
                 *** 10.24.1-1nodesource1 500
                        500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                        100 /var/lib/dpkg/status
                     10.24.0~dfsg-1~deb10u1 500
                        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #30

                @tiger sagte in Update System iobroker failed:

                sudo rm /usr/local/bin/node
                sudo rm /usr/local/bin/npm
                
                curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash
                sudo apt install nodejs
                sudo ln -s /usr/bin/node /usr/bin/nodejs
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                T 1 Antwort Letzte Antwort
                0
                • HomoranH Homoran

                  @tiger sagte in Update System iobroker failed:

                  because i dont like to not understand everything

                  that's a good point of view

                  so we will work on it, making you to understand it

                  @tiger sagte in Update System iobroker failed:

                  take time of other poeple

                  that's our decision! hoping you learn something and possible give this to others

                  T Offline
                  T Offline
                  Tiger
                  schrieb am zuletzt editiert von
                  #31

                  @homoran
                  Thanks, like to see that.

                  1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @tiger sagte in Update System iobroker failed:

                    sudo rm /usr/local/bin/node
                    sudo rm /usr/local/bin/npm
                    
                    curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash
                    sudo apt install nodejs
                    sudo ln -s /usr/bin/node /usr/bin/nodejs
                    
                    T Offline
                    T Offline
                    Tiger
                    schrieb am zuletzt editiert von
                    #32

                    @thomas-braun said in Update System iobroker failed:

                    sudo ln -s /usr/bin/node /usr/bin/nodejs

                    You'll find here after all I've done

                    pi@raspberrypi:~ $ sudo rm /usr/local/bin/node
                    pi@raspberrypi:~ $ sudo rm /usr/local/bin/npm
                    pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash
                     
                    ## Installing the NodeSource Node.js 16.x repo...
                    
                    
                    ## Populating apt-get cache...
                    
                    + apt-get update
                    Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                    Hit:2 https://deb.nodesource.com/node_10.x buster InRelease                    
                    Hit:3 http://archive.raspberrypi.org/debian buster InRelease                   
                    Reading package lists... Done                                  
                    
                    ## Confirming "buster" is supported...
                    
                    + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/buster/Release'
                    
                    ## Adding the NodeSource signing key to your keyring...
                    
                    + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                    gpg: WARNING: unsafe ownership on homedir '/home/pi/.gnupg'
                    
                    ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
                    
                    + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main' > /etc/apt/sources.list.d/nodesource.list
                    + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main' >> /etc/apt/sources.list.d/nodesource.list
                    
                    ## Running `apt-get update` for you...
                    
                    + apt-get update
                    Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                    Hit:2 http://archive.raspberrypi.org/debian buster InRelease                                               
                    Get:3 https://deb.nodesource.com/node_16.x buster InRelease [4,584 B]                                      
                    Get:4 https://deb.nodesource.com/node_16.x buster/main armhf Packages [782 B]
                    Fetched 5,366 B in 1s (3,599 B/s)
                    Reading package lists... Done
                    
                    ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
                    ## You may also need development tools to build native addons:
                         sudo apt-get install gcc g++ make
                    ## To install the Yarn package manager, run:
                         curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                         echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                         sudo apt-get update && sudo apt-get install yarn
                    
                    
                    pi@raspberrypi:~ $ sudo apt install nodejs
                    Reading package lists... Done
                    Building dependency tree       
                    Reading state information... Done
                    The following packages were automatically installed and are no longer required:
                      gconf-service gconf2-common libbluetooth3 libexiv2-14 libgconf-2-4 libgfortran3 libgmime-2.6-0
                      libncurses5 lxplug-volume python-colorzero
                    Use 'sudo apt autoremove' to remove them.
                    The following packages will be upgraded:
                      nodejs
                    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                    Need to get 23.6 MB of archives.
                    After this operation, 38.8 MB of additional disk space will be used.
                    Get:1 https://deb.nodesource.com/node_16.x buster/main armhf nodejs armhf 16.16.0-deb-1nodesource1 [23.6 MB]
                    Fetched 23.6 MB in 1min 14s (318 kB/s)                                                                     
                    Reading changelogs... Done
                    (Reading database ... 167450 files and directories currently installed.)
                    Preparing to unpack .../nodejs_16.16.0-deb-1nodesource1_armhf.deb ...
                    Unpacking nodejs (16.16.0-deb-1nodesource1) over (10.24.1-1nodesource1) ...
                    Setting up nodejs (16.16.0-deb-1nodesource1) ...
                    Processing triggers for man-db (2.8.5-2) ...
                    pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                    ln: failed to create symbolic link '/usr/bin/nodejs': File exists
                    
                    
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • T Tiger

                      @thomas-braun said in Update System iobroker failed:

                      sudo ln -s /usr/bin/node /usr/bin/nodejs

                      You'll find here after all I've done

                      pi@raspberrypi:~ $ sudo rm /usr/local/bin/node
                      pi@raspberrypi:~ $ sudo rm /usr/local/bin/npm
                      pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash
                       
                      ## Installing the NodeSource Node.js 16.x repo...
                      
                      
                      ## Populating apt-get cache...
                      
                      + apt-get update
                      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                      Hit:2 https://deb.nodesource.com/node_10.x buster InRelease                    
                      Hit:3 http://archive.raspberrypi.org/debian buster InRelease                   
                      Reading package lists... Done                                  
                      
                      ## Confirming "buster" is supported...
                      
                      + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/buster/Release'
                      
                      ## Adding the NodeSource signing key to your keyring...
                      
                      + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
                      gpg: WARNING: unsafe ownership on homedir '/home/pi/.gnupg'
                      
                      ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
                      
                      + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main' > /etc/apt/sources.list.d/nodesource.list
                      + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main' >> /etc/apt/sources.list.d/nodesource.list
                      
                      ## Running `apt-get update` for you...
                      
                      + apt-get update
                      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                      Hit:2 http://archive.raspberrypi.org/debian buster InRelease                                               
                      Get:3 https://deb.nodesource.com/node_16.x buster InRelease [4,584 B]                                      
                      Get:4 https://deb.nodesource.com/node_16.x buster/main armhf Packages [782 B]
                      Fetched 5,366 B in 1s (3,599 B/s)
                      Reading package lists... Done
                      
                      ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
                      ## You may also need development tools to build native addons:
                           sudo apt-get install gcc g++ make
                      ## To install the Yarn package manager, run:
                           curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
                           echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
                           sudo apt-get update && sudo apt-get install yarn
                      
                      
                      pi@raspberrypi:~ $ sudo apt install nodejs
                      Reading package lists... Done
                      Building dependency tree       
                      Reading state information... Done
                      The following packages were automatically installed and are no longer required:
                        gconf-service gconf2-common libbluetooth3 libexiv2-14 libgconf-2-4 libgfortran3 libgmime-2.6-0
                        libncurses5 lxplug-volume python-colorzero
                      Use 'sudo apt autoremove' to remove them.
                      The following packages will be upgraded:
                        nodejs
                      1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                      Need to get 23.6 MB of archives.
                      After this operation, 38.8 MB of additional disk space will be used.
                      Get:1 https://deb.nodesource.com/node_16.x buster/main armhf nodejs armhf 16.16.0-deb-1nodesource1 [23.6 MB]
                      Fetched 23.6 MB in 1min 14s (318 kB/s)                                                                     
                      Reading changelogs... Done
                      (Reading database ... 167450 files and directories currently installed.)
                      Preparing to unpack .../nodejs_16.16.0-deb-1nodesource1_armhf.deb ...
                      Unpacking nodejs (16.16.0-deb-1nodesource1) over (10.24.1-1nodesource1) ...
                      Setting up nodejs (16.16.0-deb-1nodesource1) ...
                      Processing triggers for man-db (2.8.5-2) ...
                      pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                      ln: failed to create symbolic link '/usr/bin/nodejs': File exists
                      
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #33

                      @tiger sagte in Update System iobroker failed:

                      sudo apt autoremove
                      iobroker restart 
                      iobroker status
                      

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      T 2 Antworten Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @tiger sagte in Update System iobroker failed:

                        sudo apt autoremove
                        iobroker restart 
                        iobroker status
                        
                        T Offline
                        T Offline
                        Tiger
                        schrieb am zuletzt editiert von
                        #34

                        @thomas-braun

                        pi@raspberrypi:~ $ sudo apt autoremove
                        Reading package lists... Done
                        Building dependency tree       
                        Reading state information... Done
                        The following packages will be REMOVED:
                          gconf-service gconf2-common libbluetooth3 libexiv2-14 libgconf-2-4 libgfortran3 libgmime-2.6-0
                          libncurses5 lxplug-volume python-colorzero
                        0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
                        After this operation, 11.8 MB disk space will be freed.
                        Do you want to continue? [Y/n] y
                        (Reading database ... 165809 files and directories currently installed.)
                        Removing gconf-service (3.2.6-5) ...
                        Removing libgconf-2-4:armhf (3.2.6-5) ...
                        Removing gconf2-common (3.2.6-5) ...
                        Removing libbluetooth3:armhf (5.50-1.2~deb10u2+rpt1) ...
                        Removing libexiv2-14:armhf (0.25-4+deb10u2) ...
                        Removing libgfortran3:armhf (6.5.0-1+rpi1+b1) ...
                        Removing libgmime-2.6-0:armhf (2.6.23+dfsg1-4) ...
                        Removing libncurses5:armhf (6.1+20181013-2+deb10u2) ...
                        Removing lxplug-volume (0.25) ...
                        Removing python-colorzero (1.1) ...
                        Processing triggers for sgml-base (1.29) ...
                        Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u1) ...
                        pi@raspberrypi:~ $ iobroker restart
                        pi@raspberrypi:~ $ iobroker status
                        node:internal/modules/cjs/loader:936
                          throw err;
                          ^
                        
                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                            at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
                            at node:internal/main/run_main_module:17:47 {
                          code: 'MODULE_NOT_FOUND',
                          requireStack: []
                        }
                        pi@raspberrypi:~ $ 
                        
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @tiger sagte in Update System iobroker failed:

                          sudo apt autoremove
                          iobroker restart 
                          iobroker status
                          
                          T Offline
                          T Offline
                          Tiger
                          schrieb am zuletzt editiert von
                          #35

                          @thomas-braun
                          juste one things more... I'd forgot to reboot ...
                          I'd just reboot now...
                          Sorry...

                          1 Antwort Letzte Antwort
                          0
                          • T Tiger

                            @thomas-braun

                            pi@raspberrypi:~ $ sudo apt autoremove
                            Reading package lists... Done
                            Building dependency tree       
                            Reading state information... Done
                            The following packages will be REMOVED:
                              gconf-service gconf2-common libbluetooth3 libexiv2-14 libgconf-2-4 libgfortran3 libgmime-2.6-0
                              libncurses5 lxplug-volume python-colorzero
                            0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
                            After this operation, 11.8 MB disk space will be freed.
                            Do you want to continue? [Y/n] y
                            (Reading database ... 165809 files and directories currently installed.)
                            Removing gconf-service (3.2.6-5) ...
                            Removing libgconf-2-4:armhf (3.2.6-5) ...
                            Removing gconf2-common (3.2.6-5) ...
                            Removing libbluetooth3:armhf (5.50-1.2~deb10u2+rpt1) ...
                            Removing libexiv2-14:armhf (0.25-4+deb10u2) ...
                            Removing libgfortran3:armhf (6.5.0-1+rpi1+b1) ...
                            Removing libgmime-2.6-0:armhf (2.6.23+dfsg1-4) ...
                            Removing libncurses5:armhf (6.1+20181013-2+deb10u2) ...
                            Removing lxplug-volume (0.25) ...
                            Removing python-colorzero (1.1) ...
                            Processing triggers for sgml-base (1.29) ...
                            Processing triggers for libc-bin (2.28-10+rpt2+rpi1+deb10u1) ...
                            pi@raspberrypi:~ $ iobroker restart
                            pi@raspberrypi:~ $ iobroker status
                            node:internal/modules/cjs/loader:936
                              throw err;
                              ^
                            
                            Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                                at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
                                at node:internal/main/run_main_module:17:47 {
                              code: 'MODULE_NOT_FOUND',
                              requireStack: []
                            }
                            pi@raspberrypi:~ $ 
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #36

                            @tiger

                            Now the correct directories and commands:

                            cd /opt/iobroker
                            sudo -H -u iobroker npm install iobroker.js-controller
                            iobroker stop
                            iobroker fix
                            iobroker start
                            

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            T 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @tiger

                              Now the correct directories and commands:

                              cd /opt/iobroker
                              sudo -H -u iobroker npm install iobroker.js-controller
                              iobroker stop
                              iobroker fix
                              iobroker start
                              
                              T Offline
                              T Offline
                              Tiger
                              schrieb am zuletzt editiert von
                              #37

                              @thomas-braun
                              Problem with command

                              pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                              npm WARN old lockfile 
                              npm WARN old lockfile The package-lock.json file was created with an old version of npm,
                              npm WARN old lockfile so supplemental metadata must be fetched from the registry.
                              npm WARN old lockfile 
                              npm WARN old lockfile This is a one-time fix-up, please be patient...
                              npm WARN old lockfile 
                              npm ERR! code 24
                              npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                              npm ERR! command failed
                              npm ERR! command sh -c node iobroker.js setup first
                              npm ERR! Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2022-08-15T14_39_15_503Z-debug-0.log
                              
                              

                              I attached Log file2022-08-15T14_39_15_503Z-debug-0.log

                              HomoranH 1 Antwort Letzte Antwort
                              0
                              • T Tiger

                                @thomas-braun
                                Problem with command

                                pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                                npm WARN old lockfile 
                                npm WARN old lockfile The package-lock.json file was created with an old version of npm,
                                npm WARN old lockfile so supplemental metadata must be fetched from the registry.
                                npm WARN old lockfile 
                                npm WARN old lockfile This is a one-time fix-up, please be patient...
                                npm WARN old lockfile 
                                npm ERR! code 24
                                npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                npm ERR! command failed
                                npm ERR! command sh -c node iobroker.js setup first
                                npm ERR! Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-08-15T14_39_15_503Z-debug-0.log
                                
                                

                                I attached Log file2022-08-15T14_39_15_503Z-debug-0.log

                                HomoranH Offline
                                HomoranH Offline
                                Homoran
                                Global Moderator Administrators
                                schrieb am zuletzt editiert von Homoran
                                #38

                                @tiger sagte in Update System iobroker failed:

                                The package-lock.json file was created with an old version of npm,

                                ok!
                                delete it and try again.
                                if you are afraid of deleting, rename it

                                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 -

                                T 1 Antwort Letzte Antwort
                                0
                                • HomoranH Homoran

                                  @tiger sagte in Update System iobroker failed:

                                  The package-lock.json file was created with an old version of npm,

                                  ok!
                                  delete it and try again.
                                  if you are afraid of deleting, rename it

                                  T Offline
                                  T Offline
                                  Tiger
                                  schrieb am zuletzt editiert von
                                  #39

                                  @homoran

                                  I rename directly in the folder /opt/iobroker the file
                                  and remade the operation

                                  pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                                  npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                  npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                  npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                  npm ERR! code 32
                                  npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                  npm ERR! command failed
                                  npm ERR! command sh -c node iobroker.js setup first
                                  npm ERR! Successfully migrated 2282 objects to Redis Sets
                                  npm ERR! object _design/system updated
                                  npm ERR! host.raspberrypi install adapter backitup
                                  npm ERR! These apt-get packages were already installed: cifs-utils, nfs-common
                                  npm ERR! upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript
                                  npm ERR! upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                                  npm ERR! upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml
                                  npm ERR! upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                                  npm ERR! upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                                  npm ERR! upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript
                                  npm ERR! upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css text/css
                                  npm ERR! upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css
                                  npm ERR! upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html
                                  npm ERR! upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript
                                  npm ERR! upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                                  npm ERR! host.raspberrypi Invalid version of "admin". Installed "4.0.10", required ">=5.2.0"
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2022-08-15T14_47_08_695Z-debug-0.log
                                  
                                  

                                  log file 2022-08-15T14_47_08_695Z-debug-0.log

                                  HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                                  0
                                  • T Tiger

                                    @homoran

                                    I rename directly in the folder /opt/iobroker the file
                                    and remade the operation

                                    pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                                    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                    npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                    npm ERR! code 32
                                    npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                    npm ERR! command failed
                                    npm ERR! command sh -c node iobroker.js setup first
                                    npm ERR! Successfully migrated 2282 objects to Redis Sets
                                    npm ERR! object _design/system updated
                                    npm ERR! host.raspberrypi install adapter backitup
                                    npm ERR! These apt-get packages were already installed: cifs-utils, nfs-common
                                    npm ERR! upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript
                                    npm ERR! upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                                    npm ERR! upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml
                                    npm ERR! upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                                    npm ERR! upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                                    npm ERR! upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript
                                    npm ERR! upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css text/css
                                    npm ERR! upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css
                                    npm ERR! upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html
                                    npm ERR! upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript
                                    npm ERR! upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                                    npm ERR! host.raspberrypi Invalid version of "admin". Installed "4.0.10", required ">=5.2.0"
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2022-08-15T14_47_08_695Z-debug-0.log
                                    
                                    

                                    log file 2022-08-15T14_47_08_695Z-debug-0.log

                                    HomoranH Offline
                                    HomoranH Offline
                                    Homoran
                                    Global Moderator Administrators
                                    schrieb am zuletzt editiert von
                                    #40

                                    @tiger looks fine!
                                    npm works correctly now

                                    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 -

                                    1 Antwort Letzte Antwort
                                    0
                                    • T Tiger

                                      @homoran

                                      I rename directly in the folder /opt/iobroker the file
                                      and remade the operation

                                      pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                                      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                      npm ERR! code 32
                                      npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                      npm ERR! command failed
                                      npm ERR! command sh -c node iobroker.js setup first
                                      npm ERR! Successfully migrated 2282 objects to Redis Sets
                                      npm ERR! object _design/system updated
                                      npm ERR! host.raspberrypi install adapter backitup
                                      npm ERR! These apt-get packages were already installed: cifs-utils, nfs-common
                                      npm ERR! upload [10] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/adapter-settings.js adapter-settings.js application/javascript
                                      npm ERR! upload [9] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.png backitup.png image/png
                                      npm ERR! upload [8] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/backitup.svg backitup.svg image/svg+xml
                                      npm ERR! upload [7] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index.html index.html text/html
                                      npm ERR! upload [6] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.html index_m.html text/html
                                      npm ERR! upload [5] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/index_m.js index_m.js application/javascript
                                      npm ERR! upload [4] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/style.css style.css text/css
                                      npm ERR! upload [3] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.css tab_m.css text/css
                                      npm ERR! upload [2] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.html tab_m.html text/html
                                      npm ERR! upload [1] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/tab_m.js tab_m.js application/javascript
                                      npm ERR! upload [0] backitup.admin /opt/iobroker/node_modules/iobroker.backitup/admin/words.js words.js application/javascript
                                      npm ERR! host.raspberrypi Invalid version of "admin". Installed "4.0.10", required ">=5.2.0"
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-08-15T14_47_08_695Z-debug-0.log
                                      
                                      

                                      log file 2022-08-15T14_47_08_695Z-debug-0.log

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #41

                                      @tiger

                                      iobroker list adapters
                                      iobroker list instances
                                      

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      T 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @tiger

                                        iobroker list adapters
                                        iobroker list instances
                                        
                                        T Offline
                                        T Offline
                                        Tiger
                                        schrieb am zuletzt editiert von
                                        #42

                                        @thomas-braun

                                        pi@raspberrypi:~ $ iobroker list adapters
                                        node:internal/modules/cjs/loader:936
                                          throw err;
                                          ^
                                        
                                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                                            at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                            at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
                                            at node:internal/main/run_main_module:17:47 {
                                          code: 'MODULE_NOT_FOUND',
                                          requireStack: []
                                        }
                                        
                                        
                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • T Tiger

                                          @thomas-braun

                                          pi@raspberrypi:~ $ iobroker list adapters
                                          node:internal/modules/cjs/loader:936
                                            throw err;
                                            ^
                                          
                                          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
                                              at node:internal/main/run_main_module:17:47 {
                                            code: 'MODULE_NOT_FOUND',
                                            requireStack: []
                                          }
                                          
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #43

                                          @tiger

                                          cd /opt/iobroker
                                          sudo -H -u iobroker npm install ioBroker.admin@5.3.8
                                          sudo -H -u iobroker npm install iobroker.js-controller
                                          

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          T 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

                                          351

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          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