Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Adapter-Update funktioniert nicht - ohne Fehler

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    [gelöst] Adapter-Update funktioniert nicht - ohne Fehler

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @MarvinH last edited by crunchip

      @marvinh sagte in Adapter-Update funktioniert nicht - ohne Fehlermeldung:

      Habe anhand dieser Liste https://nodejs.org/en/download/releases/ eine passende Version installiert.

      warum

      @marvinh sagte in Adapter-Update funktioniert nicht - ohne Fehlermeldung:

      Vor einigen Wochen hatte ich diesen Artikel durchgearbeitet:

      und da steht

      Zum Beispiel lauten die Befehle für einen Raspberry Pi der ein Debian bzw. Raspbian-Image verwendet wie folgt, wenn man nicht als root-User (z.B. richtig mit dem User "pi") angemeldet ist:
      
      curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
      sudo apt install -y nodejs
      Für Node.js 16 einfach in der URL oben anstelle der 14 eine 16 reinschreiben.
      

      schau mal
      Der Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS richtig handhaben:
      https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

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

        @marvinh sagte in Adapter-Update funktioniert nicht - ohne Fehlermeldung:

        Bislang war mir nicht bewusst, dass es Paare aus npm und nodejs-Versionen gibt.

        Ja, die gibt es. npm wird dem nodeJS-Paket beigepackt, das packt man nicht separat an.

        M 1 Reply Last reply Reply Quote 0
        • M
          MarvinH last edited by

          @crunchip
          Danke,

          das curl-Kommando hatte ich ausgeführt. Als es danach mit npm nicht ging, hatte ich, glaube ich, dieses manuell geupdatet.

          Nun habe ich das von dir zitierte Kommando erneut ausgeführt:

          pi@raspberrypi4-iob:~ $ 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
          OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
          OK:2 http://archive.raspberrypi.org/debian buster InRelease
          OK:3 https://deb.nodesource.com/node_16.x buster InRelease
          Paketlisten werden gelesen... Fertig
          
          ## 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: WARNUNG: Unsicheres Besitzverhältnis des Home-Verzeichnis `/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
          OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
          OK:2 http://archive.raspberrypi.org/debian buster InRelease
          OK:3 https://deb.nodesource.com/node_16.x buster InRelease
          Paketlisten werden gelesen... Fertig
          
          ## 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@raspberrypi4-iob:~ $ sudo apt install -y nodejs
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          Statusinformationen werden eingelesen.... Fertig
          Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
           jsvc libboost-filesystem1.58.0 libboost-program-options1.58.0 libboost-system1.58.0 libboost-thread1.58.0 libcommons-daemon-java libpcap0.8 libsnappy1v5 libv8-3.14.5 mongodb-clients mongodb-server
           rpi-eeprom-images
          Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
          Die folgenden Pakete werden aktualisiert (Upgrade):
           nodejs
          1 aktualisiert, 0 neu installiert, 0 zu entfernen und 7 nicht aktualisiert.
          Es müssen 24,2 MB an Archiven heruntergeladen werden.
          Nach dieser Operation werden 171 kB Plattenplatz zusätzlich benutzt.
          Holen:1 https://deb.nodesource.com/node_16.x buster/main armhf nodejs armhf 16.19.0-deb-1nodesource1 [24,2 MB]
          Es wurden 24,2 MB in 2 s geholt (12,2 MB/s).
          apt-listchanges: Changelogs werden gelesen...
          (Lese Datenbank ... 61389 Dateien und Verzeichnisse sind derzeit installiert.)
          Vorbereitung zum Entpacken von .../nodejs_16.19.0-deb-1nodesource1_armhf.deb ...
          Entpacken von nodejs (16.19.0-deb-1nodesource1) über (16.18.1-deb-1nodesource1) ...
          nodejs (16.19.0-deb-1nodesource1) wird eingerichtet ...
          Trigger für man-db (2.8.5-2) werden verarbeitet ...
          pi@raspberrypi4-iob:~ $ nodejs -v
          v16.19.0
          pi@raspberrypi4-iob:~ $ npm -v
          8.19.3
          

          Dann Admin-Update mit --debug wie oben. Selbe Fehlermeldung wie oben. Update wird durchgeführt aber Adapter bleibt in alter Version.

          Dann das Kommando aus dem verlinkten Forenbeitrag:

          pi@raspberrypi4-iob:~ $ cd /opt/iobroker/
          pi@raspberrypi4-iob:/opt/iobroker $ npm ls | grep -E 'github|ERR'
          npm ERR! code ELSPROBLEMS
          npm ERR! missing: iobroker.simple-api@^2.4.6, required by iobroker.inst@2.0.3
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-12-23T18_03_28_542Z-debug-0.log
          

          Aha, da fehlt irgendein Paket. Auf gut Glück installiert:

          pi@raspberrypi4-iob:/opt/iobroker $ iob install simple-api
          NPM version: 8.19.3
          Installing iobroker.simple-api@2.7.2... (System call)
          host.raspberrypi4-iob Cannot install iobroker.simple-api@2.7.2: 1
          pi@raspberrypi4-iob:/opt/iobroker $ iobroker list adapters
          ...
          system.adapter.simple-api              : simple-api     - v2.4.6
          ...
          

          Installation hat geklappt. Problem leider immer noch nicht gelöst.

          Dann einmal iobroker fix probiert - Keine Fehler angezeigt.

          pi@raspberrypi4-iob:/opt/iobroker $ iobroker fix
          library: loaded
          Library version=2022-12-09
          
          ==========================================================================
          
             Welcome to the ioBroker installation fixer!
             Script version: 2022-12-22
          
             You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
             Installing prerequisites (1/4)
          ==========================================================================
          
          OK:1 http://archive.raspberrypi.org/debian buster InRelease
          OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
          OK:3 https://deb.nodesource.com/node_16.x buster InRelease
          Paketlisten werden gelesen... Fertig
          Installed gcc-c++
          
          ==========================================================================
             Checking ioBroker user and directory permissions (2/4)
          ==========================================================================
          
          Created /etc/sudoers.d/iobroker
          Fixing directory permissions...
          
          ==========================================================================
             Database maintenance (3/4)
          ==========================================================================
          
          Checking for uncompressed JSONL databases... This might take a while!
          
          Compressing /opt/iobroker/iobroker-data/states.jsonl
          Compressing /opt/iobroker/iobroker-data/objects.jsonl
          Compressed 2 JSONL files. Done
          
          ==========================================================================
             Checking autostart (4/4)
          ==========================================================================
          
          Enabling autostart...
          Autostart enabled!
          
          ==========================================================================
          
             Your installation was fixed successfully
             Run iobroker start to start ioBroker again!
          
          ==========================================================================
          
          

          crunchip 1 Reply Last reply Reply Quote 0
          • M
            MarvinH @Thomas Braun last edited by

            @thomas-braun
            Ok, danke!

            1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @MarvinH last edited by

              @marvinh sagte in Adapter-Update funktioniert nicht - ohne Fehlermeldung:

              Installation hat geklappt

              welche?

              mach mal jetzt ein

              iob upgrade admin --debug
              
              M 1 Reply Last reply Reply Quote 0
              • M
                MarvinH last edited by

                @crunchip
                Hier die Diagnose:

                
                ======== Start marking the full check here =========
                

                Skript v.2022-12-13

                *** BASE SYSTEM ***
                Model : Raspberry Pi 4 Model B Rev 1.1
                Architecture: armv7l
                Docker: false
                Virtualization: none
                Distributor ID: Raspbian
                Description: Raspbian GNU/Linux 10 (buster)
                Release: 10
                Codename: buster

                PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
                NAME="Raspbian GNU/Linux"
                VERSION_ID="10"
                VERSION="10 (buster)"
                VERSION_CODENAME=buster
                ID=raspbian
                ID_LIKE=debian
                HOME_URL="http://www.raspbian.org/"
                SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

                Systemuptime and Load:
                19:32:16 up 141 days, 23:03, 1 user, load average: 0.98, 1.06, 1.22
                CPU threads: 4

                *** Time and Time Zones ***
                Fri Dec 23 18:32:16 UTC 2022
                Fri Dec 23 19:32:16 CET 2022
                CET +0100
                Europe/Berlin

                *** User and Groups ***
                pi
                /home/pi
                pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker

                *** X-Server-Setup ***
                X-Server: false
                Desktop:
                Terminal: tty

                *** MEMORY ***
                total used free shared buff/cache available
                Mem: 3.8G 1.2G 494M 105M 2.1G 2.6G
                Swap: 99M 9.0M 90M
                Total: 3.9G 1.2G 585M

                     3827 M total memory
                     1240 M used memory
                      715 M active memory
                     2355 M inactive memory
                      494 M free memory
                      227 M buffer memory
                     1863 M swap cache
                       99 M total swap
                        9 M used swap
                       90 M free swap
                

                *** FILESYSTEM ***
                Filesystem Type Size Used Avail Use% Mounted on
                /dev/root ext4 29G 14G 15G 50% /
                devtmpfs devtmpfs 1.8G 0 1.8G 0% /dev
                tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
                tmpfs tmpfs 1.9G 114M 1.8G 6% /run
                tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
                tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
                /dev/mmcblk0p1 vfat 253M 49M 204M 20% /boot
                tmpfs tmpfs 383M 0 383M 0% /run/user/1000

                Show mounted filesystems (real ones only):
                TARGET SOURCE FSTYPE OPTIONS
                / /dev/mmcblk0p2 ext4 rw,noatime
                |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700
                `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro

                Files in neuralgic directories:

                /var:
                2.3G /var/
                1.3G /var/cache/apt
                1.3G /var/cache
                1.2G /var/cache/apt/archives
                901M /var/lib

                /opt/iobroker/backups:
                12M /opt/iobroker/backups/

                /opt/iobroker/iobroker-data:
                5.5G /opt/iobroker/iobroker-data/
                5.1G /opt/iobroker/iobroker-data/iobroker-data
                334M /opt/iobroker/iobroker-data/files
                87M /opt/iobroker/iobroker-data/backup-objects
                78M /opt/iobroker/iobroker-data/files/icons-open-icon-library-png

                The five largest files in iobroker-data are:
                27M /opt/iobroker/iobroker-data/files/material/static/js/2.73100bd6.chunk.js.map
                12M /opt/iobroker/iobroker-data/objects.jsonl
                12M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/2.ea6ad656.chunk.js.map
                9.2M /opt/iobroker/iobroker-data/objects.json.migrated
                9.2M /opt/iobroker/iobroker-data/objects.json.bak.migrated

                *** NodeJS-Installation ***

                /usr/bin/nodejs v16.19.0
                /usr/bin/node v16.19.0
                /usr/bin/npm 8.19.3

                nodejs:
                Installed: 16.19.0-deb-1nodesource1
                Candidate: 16.19.0-deb-1nodesource1
                Version table:
                *** 16.19.0-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                100 /var/lib/dpkg/status
                10.24.0~dfsg-1~deb10u2 500
                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

                Temp directories causing npm8 problem: 0

                *** ioBroker-Installation ***

                ioBroker Status
                iobroker is running on this host.

                Objects type: jsonl
                States type: jsonl

                Core adapters versions
                js-controller: 4.0.21
                admin: 6.2.23

                npm ERR! code ELSPROBLEMS
                npm ERR! missing: iobroker.simple-api@^2.4.6, required by iobroker.inst@2.0.3

                npm ERR! A complete log of this run can be found in:
                npm ERR! /home/pi/.npm/_logs/2022-12-23T18_32_29_208Z-debug-0.log
                Adapters from github: 0

                Enabled adapters with bindings

                • system.adapter.admin.0 : admin : raspberrypi4-iob - enabled, port: 8081, bind: 0.0.0.0, run as: admin
                • system.adapter.hm-rpc.0 : hm-rpc : raspberrypi4-iob - enabled, port: 18701
                • system.adapter.hm-rpc.1 : hm-rpc : raspberrypi4-iob - enabled, port: 12001
                • system.adapter.hm-rpc.2 : hm-rpc : raspberrypi4-iob - enabled, port: 12010
                • system.adapter.shelly.0 : shelly : raspberrypi4-iob - enabled, port: 1882, bind: 0.0.0.0
                • system.adapter.telegram.0 : telegram : raspberrypi4-iob - enabled, port: 8443, bind: 0.0.0.0
                • system.adapter.web.0 : web : raspberrypi4-iob - enabled, port: 8082, bind: 0.0.0.0, run as: admin

                ioBroker-Repositories
                stable : http://download.iobroker.net/sources-dist.json
                beta : http://download.iobroker.net/sources-dist-latest.json

                Active repo(s): stable

                ioBroker-Instances
                Used repository: stable
                Adapter "admin" : 6.3.5 , installed 6.2.23 [Updatable]
                Adapter "backitup" : 2.5.9 , installed 2.4.6 [Updatable]
                Adapter "chromecast" : 2.3.1 , installed 2.3.1
                Adapter "daikin" : 1.4.2 , installed 1.4.2
                Adapter "daswetter" : 3.1.4 , installed 3.1.4
                Adapter "discovery" : 3.1.0 , installed 3.1.0
                Adapter "echarts" : 1.0.12 , installed 1.0.12
                Adapter "feiertage" : 1.1.0 , installed 1.1.0
                Adapter "flot" : 1.11.0 , installed 1.11.0
                Adapter "fritzbox" : 0.2.1 , installed 0.2.1
                Adapter "habpanel" : 0.5.0 , installed 0.5.0
                Adapter "history" : 2.2.4 , installed 1.11.1 [Updatable]
                Adapter "hm-rega" : 3.0.40 , installed 3.0.40
                Adapter "hm-rpc" : 1.15.12 , installed 1.15.12
                Adapter "ical" : 1.13.2 , installed 1.13.1 [Updatable]
                Adapter "icons-open-icon-library-png": 0.1.2, installed 0.1.2
                Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1
                Adapter "info" : 1.9.19 , installed 1.9.19
                Adapter "iqontrol" : 2.0.0 , installed 2.0.0
                Adapter "javascript" : 6.1.4 , installed 5.7.0 [Updatable]
                Controller "js-controller": 4.0.23 , installed 4.0.21 [Updatable]
                Adapter "klf200" : 1.0.1 , installed 1.0.1
                Adapter "material" : 1.1.2 , installed 1.1.2
                Adapter "ping" : 1.5.3 , installed 1.5.3
                Adapter "shelly" : 6.0.0 , installed 5.3.2 [Updatable]
                Adapter "smartgarden" : 2.0.0 , installed 2.0.0
                Adapter "socketio" : 4.2.0 , installed 4.2.0
                Adapter "telegram" : 1.15.2 , installed 1.14.1 [Updatable]
                Adapter "tr-064" : 4.2.17 , installed 4.2.16 [Updatable]
                Adapter "unifi" : 0.5.10 , installed 0.5.10
                Adapter "vis" : 1.4.15 , installed 1.4.15
                Adapter "vis-timeandweather": 1.2.2, installed 1.2.2
                Adapter "web" : 4.3.0 , installed 4.3.0
                Adapter "worx" : 2.0.3 , installed 1.5.5 [Updatable]
                Adapter "ws" : 1.3.0 , installed 1.3.0
                Adapter "yr" : 5.3.0 , installed 5.3.0

                Objects and States
                Please stand by - This may take a while
                Objects: 10385
                States: 9203

                *** OS-Repositories and Updates ***
                Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                Hit:3 https://deb.nodesource.com/node_16.x buster InRelease
                Reading package lists... Done
                Pending Updates: 2

                *** Listening Ports ***
                Active Internet connections (only servers)
                Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
                tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 231046491 22365/iobroker.js-c
                tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN 109 14589 319/mongod
                tcp 0 0 10.20.0.11:12010 0.0.0.0:* LISTEN 1001 231046750 22517/io.hm-rpc.2
                tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 0 15035 572/smbd
                tcp 0 0 10.20.0.11:18701 0.0.0.0:* LISTEN 1001 231043059 22476/io.hm-rpc.0
                tcp 0 0 127.0.0.1:28017 0.0.0.0:* LISTEN 109 16559 319/mongod
                tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 209297948 28986/sshd
                tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 231047246 22593/io.shelly.0
                tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 0 15034 572/smbd
                tcp 0 0 10.20.0.11:12001 0.0.0.0:* LISTEN 1001 231046046 22495/io.hm-rpc.1
                tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 231046498 22365/iobroker.js-c
                tcp6 0 0 :::139 :::* LISTEN 0 15033 572/smbd
                tcp6 0 0 :::8081 :::* LISTEN 1001 231045916 22383/io.admin.0
                tcp6 0 0 :::8082 :::* LISTEN 1001 231049562 22734/io.web.0
                tcp6 0 0 :::22 :::* LISTEN 0 209297950 28986/sshd
                tcp6 0 0 :::445 :::* LISTEN 0 15032 572/smbd
                udp 0 0 0.0.0.0:54670 0.0.0.0:* 108 209299717 29210/avahi-daemon:
                udp 0 0 0.0.0.0:68 0.0.0.0:* 0 15790 504/dhcpcd
                udp 0 0 10.20.0.255:137 0.0.0.0:* 0 15018 505/nmbd
                udp 0 0 10.20.0.11:137 0.0.0.0:* 0 15017 505/nmbd
                udp 0 0 0.0.0.0:137 0.0.0.0:* 0 15007 505/nmbd
                udp 0 0 10.20.0.255:138 0.0.0.0:* 0 15020 505/nmbd
                udp 0 0 10.20.0.11:138 0.0.0.0:* 0 15019 505/nmbd
                udp 0 0 0.0.0.0:138 0.0.0.0:* 0 15008 505/nmbd
                udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 209299715 29210/avahi-daemon:
                udp6 0 0 :::58468 :::* 108 209299718 29210/avahi-daemon:
                udp6 0 0 :::5353 :::* 108 209299716 29210/avahi-daemon:

                
                ============ Mark until here for C&P =============
                
                

                1 Reply Last reply Reply Quote 0
                • M
                  MarvinH @crunchip last edited by

                  @crunchip

                  welche?

                  Die der simpleapi.

                  mach mal jetzt ein
                  iob upgrade admin --debug

                  Gemacht:

                  pi@raspberrypi4-iob:/opt/iobroker $ iob upgrade admin --debug
                  
                  This upgrade of "admin" will introduce the following changes:
                  ==========================================================================
                  -> 6.3.5:
                  Corrected reading of node.js version
                  
                  -> 6.3.4:
                  Corrected crashes in object browser
                  
                  -> 6.3.3:
                  Corrected icons in object browser
                  
                  -> 6.3.2:
                  Added `useNative` option to `sendTo` JSON Config component
                  Added `checkLicense` and `uuid` components to JSON Config
                  Corrected the news handler
                  ==========================================================================
                  
                  Would you like to upgrade admin from @6.2.23 to @6.3.5 now? [(y)es, (n)o]: y
                  Update admin from @6.2.23 to @6.3.5
                  host.raspberrypi4-iob Adapter "system.adapter.admin.0" is stopped.
                  NPM version: 8.19.3
                  Installing iobroker.admin@6.3.5... (System call)
                  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 EBADENGINE
                  npm ERR! engine Unsupported engine
                  npm ERR! engine Not compatible with your version of node/npm: iobroker.nightscout@0.11.2
                  npm ERR! notsup Not compatible with your version of node/npm: iobroker.nightscout@0.11.2
                  npm ERR! notsup Required: {"node":"^12.16.1 || ^10.15.2 || ^8.15.1"}
                  npm ERR! notsup Actual:   {"npm":"8.19.3","node":"v16.19.0"}
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2022-12-23T18_35_32_877Z-debug-0.log
                  upload [52] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                  upload [50] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/customComponents.js.map custom/customComponents.js.map application/json
                  upload [40] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/i18n/zh-cn.json custom/i18n/zh-cn.json application/json
                  upload [30] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js.map custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js.map application/json
                  upload [20] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map application/json
                  upload [19] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js application/javascript
                  upload [18] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map application/json
                  upload [17] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js application/javascript
                  upload [16] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map application/json
                  upload [15] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js application/javascript
                  upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map application/json
                  upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js application/javascript
                  upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map application/json
                  upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json
                  upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json
                  upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json
                  upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                  upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json
                  upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                  upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                  upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                  upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                  upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
                  upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                  upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json5 jsonConfig.json5 application/json5
                  host.raspberrypi4-iob Adapter "system.adapter.admin.0" is started
                  
                  

                  Ergebnis:

                  pi@raspberrypi4-iob:/opt/iobroker $ iob list adapters
                  system.adapter.admin                   : admin          - v6.2.23
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @MarvinH last edited by

                    @marvinh

                    cd /opt/iobroker
                    npm ls
                    
                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MarvinH @Thomas Braun last edited by MarvinH

                      @thomas-braun said in Adapter-Update funktioniert nicht - ohne Fehlermeldung:

                      npm ls

                      pi@raspberrypi4-iob:/opt/iobroker $ npm ls
                      iobroker.inst@2.0.3 /opt/iobroker
                      ├── colors@1.4.0
                      ├── fs-extra@7.0.1
                      ├── iobroker.admin@6.2.23
                      ├── iobroker.backitup@2.4.6
                      ├── iobroker.chromecast@2.3.1
                      ├── iobroker.daikin@1.4.2
                      ├── iobroker.daswetter@3.1.4
                      ├── iobroker.discovery@3.1.0
                      ├── iobroker.echarts@1.0.12
                      ├── iobroker.feiertage@1.1.0
                      ├── iobroker.flot@1.11.0
                      ├── iobroker.fritzbox@0.2.1
                      ├── iobroker.habpanel@0.5.0
                      ├── iobroker.history@1.11.1
                      ├── iobroker.hm-rega@3.0.40
                      ├── iobroker.hm-rpc@1.15.12
                      ├── iobroker.ical@1.13.1
                      ├── iobroker.icons-open-icon-library-png@0.1.2
                      ├── iobroker.icons-ultimate-png@1.0.1
                      ├── iobroker.info@1.9.19
                      ├── iobroker.iqontrol@2.0.0
                      ├── iobroker.javascript@5.7.0
                      ├── iobroker.js-controller@4.0.21
                      ├── iobroker.klf200@1.0.1
                      ├── iobroker.material@1.1.2
                      ├── iobroker.nightscout@0.11.2
                      ├── iobroker.ping@1.5.3
                      ├── iobroker.shelly@5.3.2
                      ├── UNMET DEPENDENCY iobroker.simple-api@^2.4.6
                      ├── iobroker.smartgarden@2.0.0
                      ├── iobroker.socketio@4.2.0
                      ├── iobroker.telegram@1.14.1
                      ├── iobroker.tr-064@4.2.16
                      ├── iobroker.unifi@0.5.10
                      ├── iobroker.vis-materialdesign@0.2.66
                      ├── iobroker.vis-timeandweather@1.2.2
                      ├── iobroker.vis@1.4.15
                      ├── iobroker.web@4.3.0
                      ├── iobroker.worx@1.5.5
                      ├── iobroker.yr@5.3.0
                      ├── iobroker@2.0.3
                      ├── semver@5.7.1
                      └── yargs@7.1.0
                      
                      npm ERR! code ELSPROBLEMS
                      npm ERR! missing: iobroker.simple-api@^2.4.6, required by iobroker.inst@2.0.3
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2022-12-23T18_40_57_427Z-debug-0.log
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @MarvinH last edited by Thomas Braun

                        @marvinh .

                        iobroker del nightscout
                        iobroker add simple-api
                        
                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MarvinH @Thomas Braun last edited by

                          @thomas-braun said in Adapter-Update funktioniert nicht - ohne Fehlermeldung:

                          iobroker del nightscout
                          iobroker add simple-api

                          pi@raspberrypi4-iob:/opt/iobroker $
                          pi@raspberrypi4-iob:/opt/iobroker $ iobroker del nightscout
                          Delete adapter "nightscout"
                          host.raspberrypi4-iob Counted 1 meta of nightscout
                          host.raspberrypi4-iob Counted 1 adapter for nightscout
                          host.raspberrypi4-iob Counted 2 states (system.adapter.nightscout.*) from states
                          host.raspberrypi4-iob file nightscout.admin deleted
                          host.raspberrypi4-iob object nightscout deleted
                          host.raspberrypi4-iob object nightscout.admin deleted
                          host.raspberrypi4-iob Deleting 2 object(s).
                          host.raspberrypi4-iob Deleting 2 state(s).
                          
                          added 3 packages, and removed 1454 packages in 2m
                          
                          75 packages are looking for funding
                            run `npm fund` for details
                          pi@raspberrypi4-iob:/opt/iobroker $ iobroker add simple-api
                          host.raspberrypi4-iob create instance simple-api
                          host.raspberrypi4-iob object system.adapter.simple-api.0.alive created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.connected created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.compactMode created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.cpu created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.cputime created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.memHeapUsed created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.memHeapTotal created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.memRss created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.uptime created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.inputCount created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.outputCount created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.eventLoopLag created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.sigKill created
                          host.raspberrypi4-iob object system.adapter.simple-api.0.logLevel created
                          host.raspberrypi4-iob object system.adapter.simple-api.0 created
                          pi@raspberrypi4-iob:/opt/iobroker $ npm ls
                          iobroker.inst@2.0.3 /opt/iobroker
                          ├── colors@1.4.0
                          ├── fs-extra@7.0.1
                          ├── iobroker.admin@6.2.23
                          ├── iobroker.backitup@2.4.6
                          ├── iobroker.chromecast@2.3.1
                          ├── iobroker.daikin@1.4.2
                          ├── iobroker.daswetter@3.1.4
                          ├── iobroker.discovery@3.1.0
                          ├── iobroker.echarts@1.0.12
                          ├── iobroker.feiertage@1.1.0
                          ├── iobroker.flot@1.11.0
                          ├── iobroker.fritzbox@0.2.1
                          ├── iobroker.habpanel@0.5.0
                          ├── iobroker.history@1.11.1
                          ├── iobroker.hm-rega@3.0.40
                          ├── iobroker.hm-rpc@1.15.12
                          ├── iobroker.ical@1.13.1
                          ├── iobroker.icons-open-icon-library-png@0.1.2
                          ├── iobroker.icons-ultimate-png@1.0.1
                          ├── iobroker.info@1.9.19
                          ├── iobroker.iqontrol@2.0.0
                          ├── iobroker.javascript@5.7.0
                          ├── iobroker.js-controller@4.0.21
                          ├── iobroker.klf200@1.0.1
                          ├── iobroker.material@1.1.2
                          ├── iobroker.ping@1.5.3
                          ├── iobroker.shelly@5.3.2
                          ├── iobroker.simple-api@2.7.2
                          ├── iobroker.smartgarden@2.0.0
                          ├── iobroker.socketio@4.2.0
                          ├── iobroker.telegram@1.14.1
                          ├── iobroker.tr-064@4.2.16
                          ├── iobroker.unifi@0.5.10
                          ├── iobroker.vis-materialdesign@0.2.66
                          ├── iobroker.vis-timeandweather@1.2.2
                          ├── iobroker.vis@1.4.15
                          ├── iobroker.web@4.3.0
                          ├── iobroker.worx@1.5.5
                          ├── iobroker.yr@5.3.0
                          ├── iobroker@2.0.3
                          ├── semver@5.7.1
                          └── yargs@7.1.0
                          
                          
                          pi@raspberrypi4-iob:/opt/iobroker $ iob upgrade admin --debug
                          
                          This upgrade of "admin" will introduce the following changes:
                          ==========================================================================
                          -> 6.3.5:
                          Corrected reading of node.js version
                          
                          -> 6.3.4:
                          Corrected crashes in object browser
                          
                          -> 6.3.3:
                          Corrected icons in object browser
                          
                          -> 6.3.2:
                          Added `useNative` option to `sendTo` JSON Config component
                          Added `checkLicense` and `uuid` components to JSON Config
                          Corrected the news handler
                          ==========================================================================
                          
                          Would you like to upgrade admin from @6.2.23 to @6.3.5 now? [(y)es, (n)o]: y
                          Update admin from @6.2.23 to @6.3.5
                          host.raspberrypi4-iob Adapter "system.adapter.admin.0" is stopped.
                          NPM version: 8.19.3
                          Installing iobroker.admin@6.3.5... (System call)
                          
                          changed 1 package in 47s
                          
                          75 packages are looking for funding
                            run `npm fund` for details
                          Update "system.adapter.admin.0"
                          upload [52] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                          upload [50] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/customComponents.js.map custom/customComponents.js.map application/json
                          upload [40] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/i18n/zh-cn.json custom/i18n/zh-cn.json application/json
                          upload [30] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js.map custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js.map application/json
                          upload [20] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map application/json
                          upload [19] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js application/javascript
                          upload [18] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map application/json
                          upload [17] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js application/javascript
                          upload [16] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map application/json
                          upload [15] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js application/javascript
                          upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map application/json
                          upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js application/javascript
                          upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map application/json
                          upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json
                          upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json
                          upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json
                          upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                          upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json
                          upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                          upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                          upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                          upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                          upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
                          upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                          upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json5 jsonConfig.json5 application/json5
                          host.raspberrypi4-iob Adapter "system.adapter.admin.0" is started
                          pi@raspberrypi4-iob:/opt/iobroker $ iob list adapters
                          system.adapter.admin                   : admin          - v6.3.5
                          

                          Sieht erst mal sehr gut aus, herzlichen Dank! Ich update gerade noch einmal die anderen Adapter.

                          1 Reply Last reply Reply Quote 0
                          • M
                            MarvinH last edited by

                            @crunchip
                            @Thomas-Braun

                            Danke euch. Tolle, schnelle Hilfe. Alle Adapter laufen jetzt wieder auf dem neuesten Stand!

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate
                            FAQ Cloud / IOT
                            HowTo: Node.js-Update
                            HowTo: Backup/Restore
                            Downloads
                            BLOG

                            502
                            Online

                            32.0k
                            Users

                            80.6k
                            Topics

                            1.3m
                            Posts

                            3
                            16
                            558
                            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