Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Updates funktionieren nicht

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst] Updates funktionieren nicht

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: NUC, Proxmox
      Arbeitsspeicher: 8GB
      Festplattenart: SSD
      Betriebssystem: Ubuntu
      Nodejs-Version: 16.15.1
      NPM-Version: 8.11.0
      Installationsart: Skript
      Image genutzt: Nein
      Ort/Name der Imagedatei: Link

      Moin, ich habe da mal ein kleines Problem. Iobroker auf Nuc im Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-167-generic x86_64)
      Container. Bisher lief weitestgehend alles Problemlos, jedoch zeigt er mir unter Adapter 4 Updates an (Repository auf Stable), Unter Info sagt er jedoch alles auf dem aktuellen Stand. Ein mögliches Update wäre z.B. der Devices Adapter, installiert ist 1.0.10, angezeigt wird 1.0.12. Wenn ich auf Update klicke laufen die Updates Fehlerfrei durch, jedoch sind die Adapter hinterher immer noch auf dem gleichen stand.
      Auch über die Konsole laufen die Updates Fehlerfrei durch, werden hinterher aber immer noch als nicht aktuell angezeigt. Iob Fix habe ich auch schon laufen lassen, ohne Erfolg.

      Wer könnte mir sagen wo hier das Problem liegen könnte?

      M Thomas Braun 2 Replies Last reply Reply Quote 0
      • M
        MCU @Beliar_666 last edited by MCU

        @beliar_666 Auf der Container-console mal iob upload all gemacht? (dauert ein wenig!)

        Beliar_666 1 Reply Last reply Reply Quote 1
        • Thomas Braun
          Thomas Braun Most Active @Beliar_666 last edited by

          @beliar_666

          Mach das update mal mit aktiver --debug Option.

          Beliar_666 1 Reply Last reply Reply Quote 1
          • Beliar_666
            Beliar_666 @MCU last edited by

            @mcu sagte in Updates funktionieren nicht:

            @beliar_666 Auf der Container-console mal iob upload all gemacht? (dauert ein wenig!)

            Ja, auch das schon versucht. Leider auch ohne Erfolg.

            1 Reply Last reply Reply Quote 0
            • Beliar_666
              Beliar_666 @Thomas Braun last edited by

              @thomas-braun sagte in Updates funktionieren nicht:

              @beliar_666

              Mach das update mal mit aktiver --debug Option.

              
              This upgrade of "devices" will introduce the following changes:
              ==========================================================================
              -> 1.0.12:
              Allowed to work with devices behind reverse proxy
              Replaced the function icon
              
              -> 1.0.11:
              Updated some libraries
              ==========================================================================
              
              Would you like to upgrade devices from @1.0.10 to @1.0.12 now? [(y)es, (n)o]: y
              Update devices from @1.0.10 to @1.0.12
              NPM version: 8.11.0
              Installing iobroker.devices@1.0.12... (System call)
              npm ERR! Cannot convert undefined or null to object
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2022-07-04T21_35_16_082Z-debug-0.log
              upload [136] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/asset-manifest.json asset-manifest.json application/json
              upload [100] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Consumption.fecd7a10.svg static/media/Consumption.fecd7a                                                              10.svg image/svg+xml
              upload [90] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Driveway.fbd31101.svg static/media/Driveway.fbd31101.svg                                                               image/svg+xml
              upload [80] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Garden.51c2e94f.svg static/media/Garden.51c2e94f.svg imag                                                              e/svg+xml
              upload [70] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Heater.b53bccc3.svg static/media/Heater.b53bccc3.svg imag                                                              e/svg+xml
              upload [60] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Light.21f1a5df.svg static/media/Light.21f1a5df.svg image/                                                              svg+xml
              upload [50] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Office.7e6a3821.svg static/media/Office.7e6a3821.svg imag                                                              e/svg+xml
              upload [40] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Receiver.26b5ae16.svg static/media/Receiver.26b5ae16.svg                                                               image/svg+xml
              upload [30] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Speaker.db548379.svg static/media/Speaker.db548379.svg im                                                              age/svg+xml
              upload [20] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Toilet.83604dd2.svg static/media/Toilet.83604dd2.svg imag                                                              e/svg+xml
              upload [19] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Tv.4e9745a5.svg static/media/Tv.4e9745a5.svg image/svg+xm                                                              l
              upload [18] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Upstairs.441813e5.svg static/media/Upstairs.441813e5.svg                                                               image/svg+xml
              upload [17] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Vacuum Cleaner.9c8d50e4.svg static/media/Vacuum Cleaner.9                                                              c8d50e4.svg image/svg+xml
              upload [16] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Ventilation.c31761d8.svg static/media/Ventilation.c31761d                                                              8.svg image/svg+xml
              upload [15] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Wardrobe.e8019970.svg static/media/Wardrobe.e8019970.svg                                                               image/svg+xml
              upload [14] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Washing Machines.577f3acd.svg static/media/Washing Machin                                                              es.577f3acd.svg image/svg+xml
              upload [13] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Washroom.bfb54196.svg static/media/Washroom.bfb54196.svg                                                               image/svg+xml
              upload [12] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Water Consumption.68891649.svg static/media/Water Consump                                                              tion.68891649.svg image/svg+xml
              upload [11] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Water Heater.7e4bb4d9.svg static/media/Water Heater.7e4bb                                                              4d9.svg image/svg+xml
              upload [10] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Water.f5041198.svg static/media/Water.f5041198.svg image/                                                              svg+xml
              upload [9] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Wc.83604dd2.svg static/media/Wc.83604dd2.svg image/svg+xml
              upload [8] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Weather.e91dae64.svg static/media/Weather.e91dae64.svg ima                                                              ge/svg+xml
              upload [7] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Window.421664f5.svg static/media/Window.421664f5.svg image                                                              /svg+xml
              upload [6] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Windscreen.6058448b.svg static/media/Windscreen.6058448b.s                                                              vg image/svg+xml
              upload [5] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Workshop.7856e59f.svg static/media/Workshop.7856e59f.svg i                                                              mage/svg+xml
              upload [4] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/Workspace.97d73e41.svg static/media/Workspace.97d73e41.svg                                                               image/svg+xml
              upload [3] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/names.3a7dae0b.txt static/media/names.3a7dae0b.txt text/pl                                                              ain
              upload [2] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/static/media/names.e7efb528.txt static/media/names.e7efb528.txt text/pl                                                              ain
              upload [1] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/tab.html tab.html text/html
              upload [0] devices.admin /opt/iobroker/node_modules/iobroker.devices/admin/vendor/socket.io.js vendor/socket.io.js application/javascript
              
              

              Da haben ich zumindest mal einen Fehler. Nur was sagt der mir jetzt?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Beliar_666 last edited by

                @beliar_666 sagte in Updates funktionieren nicht:

                npm ERR! Cannot convert undefined or null to object

                Sagt mir nix.
                Was sagt uns denn

                sudo ln -s /usr/bin/node /usr/bin/nodejs
                uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                 
                
                Beliar_666 1 Reply Last reply Reply Quote 1
                • Beliar_666
                  Beliar_666 @Thomas Braun last edited by

                  @thomas-braun sagte in Updates funktionieren nicht:

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

                  :~$ sudo ln -s /usr/bin/node /usr/bin/nodejs
                  ln: failed to create symbolic link '/usr/bin/nodejs': File exists
                  
                  :~$ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                  x86_64
                  /usr/bin/nodejs
                  /usr/bin/node
                  /usr/bin/npm
                  v16.15.1
                  v16.15.1
                  8.11.0
                  beliar_666
                  /home/beliar_666
                  OK:1 http://archive.ubuntu.com/ubuntu bionic InRelease
                  OK:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
                  OK:3 https://deb.nodesource.com/node_16.x bionic InRelease
                  OK:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
                  OK:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Aktualisierung für 126 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                  nodejs:
                    Installiert:           16.15.1-1nodesource1
                    Installationskandidat: 16.15.1-1nodesource1
                    Versionstabelle:
                   *** 16.15.1-1nodesource1 500
                          500 https://deb.nodesource.com/node_16.x bionic/main amd64 Packages
                          100 /var/lib/dpkg/status
                       8.10.0~dfsg-2ubuntu0.4 500
                          500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                       8.10.0~dfsg-2ubuntu0.2 500
                          500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
                       8.10.0~dfsg-2 500
                          500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Beliar_666 last edited by

                    @beliar_666 sagte in Updates funktionieren nicht:

                    Aktualisierung für 126 Pakete verfügbar.

                    Deutlich zu faul beim Updaten.
                    Hol das sofort nach:

                    sudo apt update
                    sudo apt full-upgrade
                    sudo reboot
                    

                    Das dann künftig regelmäßig!

                    Beliar_666 1 Reply Last reply Reply Quote 1
                    • Beliar_666
                      Beliar_666 @Thomas Braun last edited by Beliar_666

                      @thomas-braun Leider hat das aber jetzt auch nicht geholfen. Ich vermute das es ein Bug in meinem NPM liegt.

                      beliar_666@iobroker:/opt/iobroker$ npm config list registry
                      [sudo] password for beliar_666:
                      ; "project" config from /opt/iobroker/.npmrc
                      
                      audit = false
                      engine-strict = true
                      package-lock = false
                      update-notifier = false
                      
                      ; node bin location = /usr/bin/node
                      ; node version = v16.15.1
                      ; npm local prefix = /opt/iobroker
                      ; npm version = 8.11.0
                      ; cwd = /opt/iobroker
                      ; HOME = /home/iobroker
                      ; Run `npm config ls -l` to show all defaults.
                      beliar_666@iobroker:/opt/iobroker$ npm config ls -l
                      ; "default" config from default values
                      
                      _auth = (protected)
                      access = null
                      all = false
                      allow-same-version = false
                      also = null
                      ; audit = true ; overridden by project
                      audit-level = null
                      auth-type = "legacy"
                      before = null
                      bin-links = true
                      browser = null
                      ca = null
                      cache = "/home/iobroker/.npm"
                      cache-max = null
                      cache-min = 0
                      cafile = null
                      call = ""
                      cert = null
                      ci-name = null
                      cidr = null
                      color = true
                      commit-hooks = true
                      depth = null
                      description = true
                      dev = false
                      diff = []
                      diff-dst-prefix = "b/"
                      diff-ignore-all-space = false
                      diff-name-only = false
                      diff-no-prefix = false
                      diff-src-prefix = "a/"
                      diff-text = false
                      diff-unified = 3
                      dry-run = false
                      editor = "vi"
                      ; engine-strict = false ; overridden by project
                      fetch-retries = 2
                      fetch-retry-factor = 10
                      fetch-retry-maxtimeout = 60000
                      fetch-retry-mintimeout = 10000
                      fetch-timeout = 300000
                      force = false
                      foreground-scripts = false
                      format-package-lock = true
                      fund = true
                      git = "git"
                      git-tag-version = true
                      global = false
                      global-style = false
                      globalconfig = "/usr/etc/npmrc"
                      heading = "npm"
                      https-proxy = null
                      if-present = false
                      ignore-scripts = false
                      include = []
                      include-staged = false
                      include-workspace-root = false
                      init-author-email = ""
                      init-author-name = ""
                      init-author-url = ""
                      init-license = "ISC"
                      init-module = "/home/iobroker/.npm-init.js"
                      init-version = "1.0.0"
                      init.author.email = ""
                      init.author.name = ""
                      init.author.url = ""
                      init.license = "ISC"
                      init.module = "/home/iobroker/.npm-init.js"
                      init.version = "1.0.0"
                      install-links = false
                      json = false
                      key = null
                      legacy-bundling = false
                      legacy-peer-deps = false
                      link = false
                      local-address = null
                      location = "user"
                      lockfile-version = null
                      loglevel = "notice"
                      logs-dir = null
                      logs-max = 10
                      ; long = false ; overridden by cli
                      maxsockets = 15
                      message = "%s"
                      metrics-registry = "https://registry.npmjs.org/"
                      node-options = null
                      node-version = "v16.15.1"
                      noproxy = [""]
                      npm-version = "8.11.0"
                      offline = false
                      omit = []
                      omit-lockfile-registry-resolved = false
                      only = null
                      optional = null
                      otp = null
                      pack-destination = "."
                      package = []
                      ; package-lock = true ; overridden by project
                      package-lock-only = false
                      parseable = false
                      prefer-offline = false
                      prefer-online = false
                      prefix = "/usr"
                      preid = ""
                      production = null
                      progress = true
                      proxy = null
                      read-only = false
                      rebuild-bundle = true
                      registry = "https://registry.npmjs.org/"
                      save = true
                      save-bundle = false
                      save-dev = false
                      save-exact = false
                      save-optional = false
                      save-peer = false
                      save-prefix = "^"
                      save-prod = false
                      scope = ""
                      script-shell = null
                      searchexclude = ""
                      searchlimit = 20
                      searchopts = ""
                      searchstaleness = 900
                      shell = "/usr/sbin/nologin"
                      shrinkwrap = true
                      sign-git-commit = false
                      sign-git-tag = false
                      sso-poll-frequency = 500
                      sso-type = "oauth"
                      strict-peer-deps = false
                      strict-ssl = true
                      tag = "latest"
                      tag-version-prefix = "v"
                      timing = false
                      tmp = "/tmp"
                      umask = 0
                      unicode = true
                      ; update-notifier = true ; overridden by project
                      usage = false
                      user-agent = "npm/{npm-version} node/{node-version} {platform} {arch} workspaces/{workspaces} {ci}"
                      userconfig = "/home/iobroker/.npmrc"
                      version = false
                      versions = false
                      viewer = "man"
                      which = null
                      workspace = []
                      workspaces = null
                      workspaces-update = true
                      yes = null
                      
                      ; "project" config from /opt/iobroker/.npmrc
                      
                      audit = false
                      engine-strict = true
                      package-lock = false
                      update-notifier = false
                      
                      ; "cli" config from command line options
                      
                      long = true
                      
                      

                      Ich binb wohl auch generell nicht so der Einzige mit dem Problem:

                      https://stackoverflow.com/questions/41128670/npm-install-returns-typeerror-cannot-convert-undefined-or-null-to-object

                      Nun ist nur die Frage wie ich das behebe...

                      [EDIT] Fehler durch downgrade auf NPM 6.14.17 offenbar behoben, ich teste aber noch.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        MCU @Beliar_666 last edited by

                        @beliar_666 sagte in Updates funktionieren nicht:

                        downgrade auf NPM 6.14.17

                        Mit welchem Befehl hast du den gemacht?

                        Beliar_666 1 Reply Last reply Reply Quote 0
                        • Beliar_666
                          Beliar_666 @MCU last edited by

                          @mcu

                          npm install -g npm@6.14.17
                          
                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          905
                          Online

                          31.7k
                          Users

                          79.7k
                          Topics

                          1.3m
                          Posts

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