Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. "iobroker upgrade self" not working [SOLVED]

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    652

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

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

"iobroker upgrade self" not working [SOLVED]

Scheduled Pinned Locked Moved Error/Bug
8 Posts 3 Posters 2.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    miggedy
    wrote on last edited by miggedy
    #1
    Systemdata Bitte Ausfüllen
    Hardwaresystem: Pi3
    Arbeitsspeicher: 4GB
    Festplattenart: SD-Karte
    Betriebssystem: Ubuntu
    Node-Version: 12.20.0
    Nodejs-Version: 12.20.0
    NPM-Version: 6.14,.8
    Installationsart: Skript

    System is running without any issues but upgrading it not working. I'm on js-controller 3.2.16 and if I execute iobroker upgrade self I get the following output:

    pi@iobroker-pi4:~ $ iobroker upgrade self
    No connection to databases possible ...
     redis get system.host.iobroker-pi4.alive, error - Connection is closed.
    No repositories defined.
    Cannot get repository under "undefined"
    pi@iobroker-pi4:~ $
    
    Thomas BraunT 1 Reply Last reply
    0
    • M miggedy
      Systemdata Bitte Ausfüllen
      Hardwaresystem: Pi3
      Arbeitsspeicher: 4GB
      Festplattenart: SD-Karte
      Betriebssystem: Ubuntu
      Node-Version: 12.20.0
      Nodejs-Version: 12.20.0
      NPM-Version: 6.14,.8
      Installationsart: Skript

      System is running without any issues but upgrading it not working. I'm on js-controller 3.2.16 and if I execute iobroker upgrade self I get the following output:

      pi@iobroker-pi4:~ $ iobroker upgrade self
      No connection to databases possible ...
       redis get system.host.iobroker-pi4.alive, error - Connection is closed.
      No repositories defined.
      Cannot get repository under "undefined"
      pi@iobroker-pi4:~ $
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by Thomas Braun
      #2

      @miggedy

      iobroker repo list 
      iobroker update
      

      And please keep your nodeJS installation up-to-date.

      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

      M 1 Reply Last reply
      0
      • Thomas BraunT Thomas Braun

        @miggedy

        iobroker repo list 
        iobroker update
        

        And please keep your nodeJS installation up-to-date.

        M Offline
        M Offline
        miggedy
        wrote on last edited by
        #3

        Thanks @thomas-braun, sadly this didn't help.

        pi@iobroker-pi4:~ $ iobroker repo list
        stable      : http://download.iobroker.net/sources-dist.json
        beta        : http://download.iobroker.net/sources-dist-latest.json
        
        Active repo: beta
        pi@iobroker-pi4:~ $ iobroker update
        ...
        pi@iobroker-pi4:~ $ iobroker upgrade
        ...
        pi@iobroker-pi4:~ $ iobroker stop
        pi@iobroker-pi4:~ $ iobroker upgrade self
        No connection to databases possible ...
         redis get system.host.iobroker-pi4.alive, error - Connection is closed.
        No repositories defined.
        Cannot get repository under "undefined"
        
        
        Thomas BraunT 1 Reply Last reply
        0
        • M miggedy

          Thanks @thomas-braun, sadly this didn't help.

          pi@iobroker-pi4:~ $ iobroker repo list
          stable      : http://download.iobroker.net/sources-dist.json
          beta        : http://download.iobroker.net/sources-dist-latest.json
          
          Active repo: beta
          pi@iobroker-pi4:~ $ iobroker update
          ...
          pi@iobroker-pi4:~ $ iobroker upgrade
          ...
          pi@iobroker-pi4:~ $ iobroker stop
          pi@iobroker-pi4:~ $ iobroker upgrade self
          No connection to databases possible ...
           redis get system.host.iobroker-pi4.alive, error - Connection is closed.
          No repositories defined.
          Cannot get repository under "undefined"
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #4

          @miggedy

          Maybe there is still something running in the background?

          ps aux | grep ^io
          

          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

          M 1 Reply Last reply
          0
          • Thomas BraunT Thomas Braun

            @miggedy

            Maybe there is still something running in the background?

            ps aux | grep ^io
            
            M Offline
            M Offline
            miggedy
            wrote on last edited by
            #5

            No, nothing is running anymore. That command doesn't return anything.
            Maybe also interesting:
            While iobroker is not running, these commands also fail (but work if iobroker is running):

             pi@iobroker-pi4:~ $ iobroker repo list
            No connection to databases possible ...
            Cannot get list: Error: Connection is closed.
            pi@iobroker-pi4:~ $ iobroker upgrade
            No connection to databases possible ...
            No repositories defined.
            /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:982
                                    for (const name of Object.keys(links)) {
                                                              ^
            
            TypeError: Cannot convert undefined or null to object
                at Function.keys (<anonymous>)
                at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:982:51
                at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2615:37)
                at processImmediate (internal/timers.js:463:21)
            pi@iobroker-pi4:~ $
            
            Thomas BraunT 1 Reply Last reply
            0
            • M miggedy

              No, nothing is running anymore. That command doesn't return anything.
              Maybe also interesting:
              While iobroker is not running, these commands also fail (but work if iobroker is running):

               pi@iobroker-pi4:~ $ iobroker repo list
              No connection to databases possible ...
              Cannot get list: Error: Connection is closed.
              pi@iobroker-pi4:~ $ iobroker upgrade
              No connection to databases possible ...
              No repositories defined.
              /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:982
                                      for (const name of Object.keys(links)) {
                                                                ^
              
              TypeError: Cannot convert undefined or null to object
                  at Function.keys (<anonymous>)
                  at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:982:51
                  at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2615:37)
                  at processImmediate (internal/timers.js:463:21)
              pi@iobroker-pi4:~ $
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by Thomas Braun
              #6

              @miggedy

              Not sure if this helps but try jumping to the version you want to have:
              3.3.5 is beta-stage:

              Controller "js-controller" : 3.3.5    , installed 3.3.5
              

              Try

              iobroker stop
              cd /opt/iobroker
              npm install iobroker.js-controller@3.3.5
              iobroker start
              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

              M 1 Reply Last reply
              0
              • crunchipC Away
                crunchipC Away
                crunchip
                Forum Testing Most Active
                wrote on last edited by
                #7

                Test this rep
                Stable
                http://iobroker.live/repo/sources-dist.json
                Latest
                http://iobroker.live/repo/sources-dist-latest.json

                umgestiegen von Proxmox auf Unraid

                1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @miggedy

                  Not sure if this helps but try jumping to the version you want to have:
                  3.3.5 is beta-stage:

                  Controller "js-controller" : 3.3.5    , installed 3.3.5
                  

                  Try

                  iobroker stop
                  cd /opt/iobroker
                  npm install iobroker.js-controller@3.3.5
                  iobroker start
                  iobroker status
                  
                  M Offline
                  M Offline
                  miggedy
                  wrote on last edited by miggedy
                  #8

                  I tested the manual installation @thomas-braun mentioned (npm install...) and this worked. I'm now on 3.3.5 and running iobroker upgrade self now doesn't show any errors anymore (just that it's up-to-date).

                  In case this happens again for the next update I will try the different repo @crunchip mentioned.
                  Thank you both for your support.

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  543

                  Online

                  32.7k

                  Users

                  82.6k

                  Topics

                  1.3m

                  Posts
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                  ioBroker Community 2014-2025
                  logo
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Home
                  • Recent
                  • Tags
                  • Unread 0
                  • Categories
                  • Unreplied
                  • Popular
                  • GitHub
                  • Docu
                  • Hilfe