Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Ein Update ist schief gegangen

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Ein Update ist schief gegangen

Geplant Angeheftet Gesperrt Verschoben Error/Bug
19 Beiträge 4 Kommentatoren 2.7k Aufrufe 2 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.
  • Lenny.CBL Lenny.CB

    Hatte heut wieder mein MultiHost-System gewartet und ein Update gemacht.

    Hat auch alles bis auf den RPI2 funktioniert. Jetzt starten einige Adapter nicht.
    Ursache ist wohl "Cannot find module '@iobroker/types'" was wohl mit der alten npm-Version (6.14.13) zusammen hängt.

    Vor dem Update hatte ich eine 12er node-Version und eine 6er npm-Version drauf. Schlampig, ich weiß, aber mit meiner Frage wisst ihr warum.

    Egal wie ich s drehe und wende ich bekomme keine npm-Version über 6.14.13 installiert.

    Was ist nun alles passiert:

    • Dist-Update von stretch auf buster
    • 16er node installiert --> npm auf 6.xx geblieben

    -node-Installation gelöscht

    • Dist-Update von buster auf bullseye
    • 18er node installiert --> npm auf 6.xx geblieben

    Blöd nur, dass auf der Kiste der Zigbee-Adapter lief. Denn will ich schleunigst wieder am Start haben.

    Lt. "iob diag" gibt es ein Problem mit der nodejs Installation.

    Model           : Raspberry Pi 2 Model B Rev 1.1
    Docker          : false
    Virtualization  : none
    Kernel          : armv7l
    Userland        : armhf
    
    Systemuptime and Load:
     21:40:11 up  1:32,  1 user,  load average: 1.76, 1.60, 1.52
    CPU threads: 4
    
    Raspberry only:
    throttled=0x50000
    Other values than 0x0 hint to temperature/voltage problems
    temp=51.4'C
    volt=1.3125V
    
    The systems needs to be REBOOTED!
    
    
    *** Time and Time Zones ***
                   Local time: Sun 2023-09-17 21:40:12 CEST
               Universal time: Sun 2023-09-17 19:40:12 UTC
                     RTC time: n/a
                    Time zone: Europe/Berlin (CEST, +0200)
    System clock synchronized: yes
                  NTP service: active
              RTC in local TZ: no
    
    *** User and Groups ***
    root
    /root
    root
    
    *** X-Server-Setup ***
    X-Server:       false
    Desktop:
    Terminal:       tty
    Boot Target:    graphical.target
    
    *** MEMORY ***
                   total        used        free      shared  buff/cache   available
    Mem:            972M        228M        126M        0.0K        618M        679M
    Swap:            99M         11M         88M
    Total:          1.1G        240M        214M
    
              972 M total memory
              229 M used memory
              296 M active memory
              467 M inactive memory
              125 M free memory
               79 M buffer memory
              538 M swap cache
               99 M total swap
               11 M used swap
               88 M free swap
    
    Raspberry only:
    oom events: 0
    lifetime oom required: 0 Mbytes
    total time in oom handler: 0 ms
    max time spent in oom handler: 0 ms
    
    *** FILESYSTEM ***
    Filesystem     Type      Size  Used Avail Use% Mounted on
    /dev/root      ext4       15G  6.9G  6.9G  50% /
    devtmpfs       devtmpfs  454M     0  454M   0% /dev
    tmpfs          tmpfs     487M     0  487M   0% /dev/shm
    tmpfs          tmpfs     487M  376K  487M   1% /run
    tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
    tmpfs          tmpfs     487M     0  487M   0% /sys/fs/cgroup
    /dev/mmcblk0p1 vfat       43M   25M   18M  59% /boot
    tmpfs          tmpfs      98M     0   98M   0% /run/user/0
    
    Messages concerning ext4 filesystem in dmesg:
    [Sun Sep 17 20:08:07 2023] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=629a6929-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
    [Sun Sep 17 20:08:09 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [Sun Sep 17 20:08:09 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [Sun Sep 17 20:08:12 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    
    Show mounted filesystems (real ones only):
    TARGET  SOURCE         FSTYPE OPTIONS
    /       /dev/mmcblk0p2 ext4   rw,noatime
    `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
    
    Files in neuralgic directories:
    
    /var:
    770M    /var/
    496M    /var/cache
    489M    /var/cache/apt
    424M    /var/cache/apt/archives
    110M    /var/lib
    
    Archived and active journals take up 24.0M in the file system.
    
    /opt/iobroker/backups:
    7.0M    /opt/iobroker/backups/
    
    /opt/iobroker/iobroker-data:
    3.4M    /opt/iobroker/iobroker-data/
    528K    /opt/iobroker/iobroker-data/backup-objects
    176K    /opt/iobroker/iobroker-data/zigbee_0
    40K     /opt/iobroker/iobroker-data/files
    36K     /opt/iobroker/iobroker-data/files/admin.admin
    
    The five largest files in iobroker-data are:
    864K    /opt/iobroker/iobroker-data/objects.jsonl
    864K    /opt/iobroker/iobroker-data/objects.json.migrated
    864K    /opt/iobroker/iobroker-data/objects.json.bak.migrated
    248K    /opt/iobroker/iobroker-data/backup-objects/2019-01-07_20-32_objects.json.gz
    248K    /opt/iobroker/iobroker-data/backup-objects/2019-01-07_20-04_objects.json.gz
    
    *** NodeJS-Installation ***
    
    /usr/bin/nodejs         v18.17.1
    /usr/bin/node           v18.17.1
    /usr/local/bin/npm              6.14.13
    /usr/local/bin/npx              6.14.13
    *** nodejs is NOT correctly installed ***
    
    nodejs:
      Installed: 18.17.1-1nodesource1
      Candidate: 18.17.1-1nodesource1
      Version table:
     *** 18.17.1-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
            100 /var/lib/dpkg/status
         18.17.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.16.1-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.16.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.15.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.14.2-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.14.1-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.14.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.13.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.12.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.11.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.10.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.9.1-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.9.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.8.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.7.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.6.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.5.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.4.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.3.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.2.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.1.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         18.0.0-1nodesource1 500
            500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
         12.22.12~dfsg-1~deb11u4 500
            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
    
    Temp directories causing npm8 problem: 0
    No problems detected
    
    npm ERR! extraneous: colors@1.4.0 /opt/iobroker/node_modules/colors
    npm ERR! extraneous: fs-extra@7.0.1 /opt/iobroker/node_modules/fs-extra
    npm ERR! extraneous: iobroker.ble@0.13.4 /opt/iobroker/node_modules/iobroker.ble
    npm ERR! extraneous: iobroker.gartenbewaesserung@0.0.6 /opt/iobroker/node_modules/iobroker.gartenbewaesserung
    npm ERR! extraneous: iobroker.hm-rega@4.0.0 /opt/iobroker/node_modules/iobroker.hm-rega
    npm ERR! extraneous: iobroker.hm-rpc@1.15.19 /opt/iobroker/node_modules/iobroker.hm-rpc
    npm ERR! extraneous: iobroker.javascript@7.1.4 /opt/iobroker/node_modules/iobroker.javascript
    npm ERR! extraneous: iobroker.pollenflug@1.0.6 /opt/iobroker/node_modules/iobroker.pollenflug
    npm ERR! extraneous: iobroker.traccar@1.1.2 /opt/iobroker/node_modules/iobroker.traccar
    npm ERR! extraneous: iobroker.wmbus@0.6.1 /opt/iobroker/node_modules/iobroker.wmbus
    npm ERR! extraneous: iobroker.zigbee@1.8.24 /opt/iobroker/node_modules/iobroker.zigbee
    npm ERR! extraneous: yargs@7.1.2 /opt/iobroker/node_modules/yargs
    Errors in npm tree: 0
    
    *** ioBroker-Installation ***
    
    ioBroker Status
    iobroker is running on this host.
    
    At least one iobroker host is running.
    
    Objects type: jsonl
    States  type: jsonl
    
    No configuration change needed.
    
    
    Multihost discovery server: disabled
    Discovery authentication:   enabled
    Persistent activation:      disabled
    Objects:                    jsonl on 192.168.0.40
    States:                     jsonl on 192.168.0.40
    
    Core adapters versions
    js-controller:  4.0.24
    admin:          6.3.5
    javascript:     7.1.4
    
    npm ERR! extraneous: colors@1.4.0 /opt/iobroker/node_modules/colors
    npm ERR! extraneous: fs-extra@7.0.1 /opt/iobroker/node_modules/fs-extra
    npm ERR! extraneous: iobroker.ble@0.13.4 /opt/iobroker/node_modules/iobroker.ble
    npm ERR! extraneous: iobroker.gartenbewaesserung@0.0.6 /opt/iobroker/node_modules/iobroker.gartenbewaesserung
    npm ERR! extraneous: iobroker.hm-rega@4.0.0 /opt/iobroker/node_modules/iobroker.hm-rega
    npm ERR! extraneous: iobroker.hm-rpc@1.15.19 /opt/iobroker/node_modules/iobroker.hm-rpc
    npm ERR! extraneous: iobroker.javascript@7.1.4 /opt/iobroker/node_modules/iobroker.javascript
    npm ERR! extraneous: iobroker.pollenflug@1.0.6 /opt/iobroker/node_modules/iobroker.pollenflug
    npm ERR! extraneous: iobroker.traccar@1.1.2 /opt/iobroker/node_modules/iobroker.traccar
    npm ERR! extraneous: iobroker.wmbus@0.6.1 /opt/iobroker/node_modules/iobroker.wmbus
    npm ERR! extraneous: iobroker.zigbee@1.8.24 /opt/iobroker/node_modules/iobroker.zigbee
    npm ERR! extraneous: yargs@7.1.2 /opt/iobroker/node_modules/yargs
    Adapters from github:   2
    
    ioBroker-Repositories
    Stable (default): http://download.iobroker.net/sources-dist.json
    sources       : conf/sources-dist.json
    online        : https://raw.githubusercontent.com/ioBroker/ioBroker.repositories/master/sources-dist.json
    fast-online   : http://download.iobroker.net/sources-dist.json
    Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
    NEU Stable    : http://repo.iobroker.live/sources-dist.json
    NEU Latest    : http://repo.iobroker.live/sources-dist-latest.json
    
    *** OS-Repositories and Updates ***
    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
    Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
    Hit:4 https://www.pivccu.de/piVCCU stable InRelease
    Reading package lists...
    Pending Updates: 0
    

    Achso, ich sollte vielleicht noch sagen, dass nach dem Neustart das (automatische) npm-rebuild in Endlosschleife läuft.
    Habe keine Idee mehr!

    GlasfaserG Offline
    GlasfaserG Offline
    Glasfaser
    schrieb am zuletzt editiert von Glasfaser
    #2

    @lenny-cb sagte in Ein Update ist schief gegangen:

    /usr/bin/nodejs v18.17.1
    /usr/bin/node v18.17.1
    /usr/local/bin/npm 6.14.13
    /usr/local/bin/npx 6.14.13

    Das ist schief installiert :

    siehe hier

    Teil 2

    https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/2

    oder das Script von
    Thomas Braun nutzen

    EDIT :

    Link

    https://forum.iobroker.net/topic/68035/iob-node-fix-skript

    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

    1 Antwort Letzte Antwort
    0
    • Lenny.CBL Lenny.CB

      Hatte heut wieder mein MultiHost-System gewartet und ein Update gemacht.

      Hat auch alles bis auf den RPI2 funktioniert. Jetzt starten einige Adapter nicht.
      Ursache ist wohl "Cannot find module '@iobroker/types'" was wohl mit der alten npm-Version (6.14.13) zusammen hängt.

      Vor dem Update hatte ich eine 12er node-Version und eine 6er npm-Version drauf. Schlampig, ich weiß, aber mit meiner Frage wisst ihr warum.

      Egal wie ich s drehe und wende ich bekomme keine npm-Version über 6.14.13 installiert.

      Was ist nun alles passiert:

      • Dist-Update von stretch auf buster
      • 16er node installiert --> npm auf 6.xx geblieben

      -node-Installation gelöscht

      • Dist-Update von buster auf bullseye
      • 18er node installiert --> npm auf 6.xx geblieben

      Blöd nur, dass auf der Kiste der Zigbee-Adapter lief. Denn will ich schleunigst wieder am Start haben.

      Lt. "iob diag" gibt es ein Problem mit der nodejs Installation.

      Model           : Raspberry Pi 2 Model B Rev 1.1
      Docker          : false
      Virtualization  : none
      Kernel          : armv7l
      Userland        : armhf
      
      Systemuptime and Load:
       21:40:11 up  1:32,  1 user,  load average: 1.76, 1.60, 1.52
      CPU threads: 4
      
      Raspberry only:
      throttled=0x50000
      Other values than 0x0 hint to temperature/voltage problems
      temp=51.4'C
      volt=1.3125V
      
      The systems needs to be REBOOTED!
      
      
      *** Time and Time Zones ***
                     Local time: Sun 2023-09-17 21:40:12 CEST
                 Universal time: Sun 2023-09-17 19:40:12 UTC
                       RTC time: n/a
                      Time zone: Europe/Berlin (CEST, +0200)
      System clock synchronized: yes
                    NTP service: active
                RTC in local TZ: no
      
      *** User and Groups ***
      root
      /root
      root
      
      *** X-Server-Setup ***
      X-Server:       false
      Desktop:
      Terminal:       tty
      Boot Target:    graphical.target
      
      *** MEMORY ***
                     total        used        free      shared  buff/cache   available
      Mem:            972M        228M        126M        0.0K        618M        679M
      Swap:            99M         11M         88M
      Total:          1.1G        240M        214M
      
                972 M total memory
                229 M used memory
                296 M active memory
                467 M inactive memory
                125 M free memory
                 79 M buffer memory
                538 M swap cache
                 99 M total swap
                 11 M used swap
                 88 M free swap
      
      Raspberry only:
      oom events: 0
      lifetime oom required: 0 Mbytes
      total time in oom handler: 0 ms
      max time spent in oom handler: 0 ms
      
      *** FILESYSTEM ***
      Filesystem     Type      Size  Used Avail Use% Mounted on
      /dev/root      ext4       15G  6.9G  6.9G  50% /
      devtmpfs       devtmpfs  454M     0  454M   0% /dev
      tmpfs          tmpfs     487M     0  487M   0% /dev/shm
      tmpfs          tmpfs     487M  376K  487M   1% /run
      tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
      tmpfs          tmpfs     487M     0  487M   0% /sys/fs/cgroup
      /dev/mmcblk0p1 vfat       43M   25M   18M  59% /boot
      tmpfs          tmpfs      98M     0   98M   0% /run/user/0
      
      Messages concerning ext4 filesystem in dmesg:
      [Sun Sep 17 20:08:07 2023] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=629a6929-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
      [Sun Sep 17 20:08:09 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
      [Sun Sep 17 20:08:09 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
      [Sun Sep 17 20:08:12 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
      
      Show mounted filesystems (real ones only):
      TARGET  SOURCE         FSTYPE OPTIONS
      /       /dev/mmcblk0p2 ext4   rw,noatime
      `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
      
      Files in neuralgic directories:
      
      /var:
      770M    /var/
      496M    /var/cache
      489M    /var/cache/apt
      424M    /var/cache/apt/archives
      110M    /var/lib
      
      Archived and active journals take up 24.0M in the file system.
      
      /opt/iobroker/backups:
      7.0M    /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      3.4M    /opt/iobroker/iobroker-data/
      528K    /opt/iobroker/iobroker-data/backup-objects
      176K    /opt/iobroker/iobroker-data/zigbee_0
      40K     /opt/iobroker/iobroker-data/files
      36K     /opt/iobroker/iobroker-data/files/admin.admin
      
      The five largest files in iobroker-data are:
      864K    /opt/iobroker/iobroker-data/objects.jsonl
      864K    /opt/iobroker/iobroker-data/objects.json.migrated
      864K    /opt/iobroker/iobroker-data/objects.json.bak.migrated
      248K    /opt/iobroker/iobroker-data/backup-objects/2019-01-07_20-32_objects.json.gz
      248K    /opt/iobroker/iobroker-data/backup-objects/2019-01-07_20-04_objects.json.gz
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v18.17.1
      /usr/bin/node           v18.17.1
      /usr/local/bin/npm              6.14.13
      /usr/local/bin/npx              6.14.13
      *** nodejs is NOT correctly installed ***
      
      nodejs:
        Installed: 18.17.1-1nodesource1
        Candidate: 18.17.1-1nodesource1
        Version table:
       *** 18.17.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
              100 /var/lib/dpkg/status
           18.17.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.16.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.16.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.15.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.2-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.14.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.13.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.12.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.11.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.10.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.9.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.9.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.8.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.7.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.6.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.5.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.4.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.3.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.2.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.1.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           18.0.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
           12.22.12~dfsg-1~deb11u4 500
              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
      
      Temp directories causing npm8 problem: 0
      No problems detected
      
      npm ERR! extraneous: colors@1.4.0 /opt/iobroker/node_modules/colors
      npm ERR! extraneous: fs-extra@7.0.1 /opt/iobroker/node_modules/fs-extra
      npm ERR! extraneous: iobroker.ble@0.13.4 /opt/iobroker/node_modules/iobroker.ble
      npm ERR! extraneous: iobroker.gartenbewaesserung@0.0.6 /opt/iobroker/node_modules/iobroker.gartenbewaesserung
      npm ERR! extraneous: iobroker.hm-rega@4.0.0 /opt/iobroker/node_modules/iobroker.hm-rega
      npm ERR! extraneous: iobroker.hm-rpc@1.15.19 /opt/iobroker/node_modules/iobroker.hm-rpc
      npm ERR! extraneous: iobroker.javascript@7.1.4 /opt/iobroker/node_modules/iobroker.javascript
      npm ERR! extraneous: iobroker.pollenflug@1.0.6 /opt/iobroker/node_modules/iobroker.pollenflug
      npm ERR! extraneous: iobroker.traccar@1.1.2 /opt/iobroker/node_modules/iobroker.traccar
      npm ERR! extraneous: iobroker.wmbus@0.6.1 /opt/iobroker/node_modules/iobroker.wmbus
      npm ERR! extraneous: iobroker.zigbee@1.8.24 /opt/iobroker/node_modules/iobroker.zigbee
      npm ERR! extraneous: yargs@7.1.2 /opt/iobroker/node_modules/yargs
      Errors in npm tree: 0
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      At least one iobroker host is running.
      
      Objects type: jsonl
      States  type: jsonl
      
      No configuration change needed.
      
      
      Multihost discovery server: disabled
      Discovery authentication:   enabled
      Persistent activation:      disabled
      Objects:                    jsonl on 192.168.0.40
      States:                     jsonl on 192.168.0.40
      
      Core adapters versions
      js-controller:  4.0.24
      admin:          6.3.5
      javascript:     7.1.4
      
      npm ERR! extraneous: colors@1.4.0 /opt/iobroker/node_modules/colors
      npm ERR! extraneous: fs-extra@7.0.1 /opt/iobroker/node_modules/fs-extra
      npm ERR! extraneous: iobroker.ble@0.13.4 /opt/iobroker/node_modules/iobroker.ble
      npm ERR! extraneous: iobroker.gartenbewaesserung@0.0.6 /opt/iobroker/node_modules/iobroker.gartenbewaesserung
      npm ERR! extraneous: iobroker.hm-rega@4.0.0 /opt/iobroker/node_modules/iobroker.hm-rega
      npm ERR! extraneous: iobroker.hm-rpc@1.15.19 /opt/iobroker/node_modules/iobroker.hm-rpc
      npm ERR! extraneous: iobroker.javascript@7.1.4 /opt/iobroker/node_modules/iobroker.javascript
      npm ERR! extraneous: iobroker.pollenflug@1.0.6 /opt/iobroker/node_modules/iobroker.pollenflug
      npm ERR! extraneous: iobroker.traccar@1.1.2 /opt/iobroker/node_modules/iobroker.traccar
      npm ERR! extraneous: iobroker.wmbus@0.6.1 /opt/iobroker/node_modules/iobroker.wmbus
      npm ERR! extraneous: iobroker.zigbee@1.8.24 /opt/iobroker/node_modules/iobroker.zigbee
      npm ERR! extraneous: yargs@7.1.2 /opt/iobroker/node_modules/yargs
      Adapters from github:   2
      
      ioBroker-Repositories
      Stable (default): http://download.iobroker.net/sources-dist.json
      sources       : conf/sources-dist.json
      online        : https://raw.githubusercontent.com/ioBroker/ioBroker.repositories/master/sources-dist.json
      fast-online   : http://download.iobroker.net/sources-dist.json
      Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
      NEU Stable    : http://repo.iobroker.live/sources-dist.json
      NEU Latest    : http://repo.iobroker.live/sources-dist-latest.json
      
      *** OS-Repositories and Updates ***
      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
      Hit:4 https://www.pivccu.de/piVCCU stable InRelease
      Reading package lists...
      Pending Updates: 0
      

      Achso, ich sollte vielleicht noch sagen, dass nach dem Neustart das (automatische) npm-rebuild in Endlosschleife läuft.
      Habe keine Idee mehr!

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

      @lenny-cb sagte in Ein Update ist schief gegangen:

      ich bekomme keine npm-Version über 6.14.13 installiert.

      sollst du auch nie nicht machen

      die korrekte npm Version kommt zusammen mit dem jeweiligen nodejs Paket

      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 -

      Lenny.CBL 1 Antwort Letzte Antwort
      0
      • HomoranH Homoran

        @lenny-cb sagte in Ein Update ist schief gegangen:

        ich bekomme keine npm-Version über 6.14.13 installiert.

        sollst du auch nie nicht machen

        die korrekte npm Version kommt zusammen mit dem jeweiligen nodejs Paket

        Lenny.CBL Offline
        Lenny.CBL Offline
        Lenny.CB
        Most Active
        schrieb am zuletzt editiert von
        #4

        @homoran sagte in Ein Update ist schief gegangen:

        @lenny-cb sagte in Ein Update ist schief gegangen:

        ich bekomme keine npm-Version über 6.14.13 installiert.

        sollst du auch nie nicht machen

        die korrekte npm Version kommt zusammen mit dem jeweiligen nodejs Paket

        das ist mir auch so geläufig.
        Ich hatte alles runter geworfen. npm -v und node -v brachten keine Ergebnisse.
        Nach der Installation von node 18 war npm 6.xxx wieder da.

        Das habe ich nicht absichtlich getan. :anguished:

        1 Antwort Letzte Antwort
        0
        • Lenny.CBL Lenny.CB

          Hatte heut wieder mein MultiHost-System gewartet und ein Update gemacht.

          Hat auch alles bis auf den RPI2 funktioniert. Jetzt starten einige Adapter nicht.
          Ursache ist wohl "Cannot find module '@iobroker/types'" was wohl mit der alten npm-Version (6.14.13) zusammen hängt.

          Vor dem Update hatte ich eine 12er node-Version und eine 6er npm-Version drauf. Schlampig, ich weiß, aber mit meiner Frage wisst ihr warum.

          Egal wie ich s drehe und wende ich bekomme keine npm-Version über 6.14.13 installiert.

          Was ist nun alles passiert:

          • Dist-Update von stretch auf buster
          • 16er node installiert --> npm auf 6.xx geblieben

          -node-Installation gelöscht

          • Dist-Update von buster auf bullseye
          • 18er node installiert --> npm auf 6.xx geblieben

          Blöd nur, dass auf der Kiste der Zigbee-Adapter lief. Denn will ich schleunigst wieder am Start haben.

          Lt. "iob diag" gibt es ein Problem mit der nodejs Installation.

          Model           : Raspberry Pi 2 Model B Rev 1.1
          Docker          : false
          Virtualization  : none
          Kernel          : armv7l
          Userland        : armhf
          
          Systemuptime and Load:
           21:40:11 up  1:32,  1 user,  load average: 1.76, 1.60, 1.52
          CPU threads: 4
          
          Raspberry only:
          throttled=0x50000
          Other values than 0x0 hint to temperature/voltage problems
          temp=51.4'C
          volt=1.3125V
          
          The systems needs to be REBOOTED!
          
          
          *** Time and Time Zones ***
                         Local time: Sun 2023-09-17 21:40:12 CEST
                     Universal time: Sun 2023-09-17 19:40:12 UTC
                           RTC time: n/a
                          Time zone: Europe/Berlin (CEST, +0200)
          System clock synchronized: yes
                        NTP service: active
                    RTC in local TZ: no
          
          *** User and Groups ***
          root
          /root
          root
          
          *** X-Server-Setup ***
          X-Server:       false
          Desktop:
          Terminal:       tty
          Boot Target:    graphical.target
          
          *** MEMORY ***
                         total        used        free      shared  buff/cache   available
          Mem:            972M        228M        126M        0.0K        618M        679M
          Swap:            99M         11M         88M
          Total:          1.1G        240M        214M
          
                    972 M total memory
                    229 M used memory
                    296 M active memory
                    467 M inactive memory
                    125 M free memory
                     79 M buffer memory
                    538 M swap cache
                     99 M total swap
                     11 M used swap
                     88 M free swap
          
          Raspberry only:
          oom events: 0
          lifetime oom required: 0 Mbytes
          total time in oom handler: 0 ms
          max time spent in oom handler: 0 ms
          
          *** FILESYSTEM ***
          Filesystem     Type      Size  Used Avail Use% Mounted on
          /dev/root      ext4       15G  6.9G  6.9G  50% /
          devtmpfs       devtmpfs  454M     0  454M   0% /dev
          tmpfs          tmpfs     487M     0  487M   0% /dev/shm
          tmpfs          tmpfs     487M  376K  487M   1% /run
          tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
          tmpfs          tmpfs     487M     0  487M   0% /sys/fs/cgroup
          /dev/mmcblk0p1 vfat       43M   25M   18M  59% /boot
          tmpfs          tmpfs      98M     0   98M   0% /run/user/0
          
          Messages concerning ext4 filesystem in dmesg:
          [Sun Sep 17 20:08:07 2023] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=629a6929-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
          [Sun Sep 17 20:08:09 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
          [Sun Sep 17 20:08:09 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
          [Sun Sep 17 20:08:12 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
          
          Show mounted filesystems (real ones only):
          TARGET  SOURCE         FSTYPE OPTIONS
          /       /dev/mmcblk0p2 ext4   rw,noatime
          `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
          
          Files in neuralgic directories:
          
          /var:
          770M    /var/
          496M    /var/cache
          489M    /var/cache/apt
          424M    /var/cache/apt/archives
          110M    /var/lib
          
          Archived and active journals take up 24.0M in the file system.
          
          /opt/iobroker/backups:
          7.0M    /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          3.4M    /opt/iobroker/iobroker-data/
          528K    /opt/iobroker/iobroker-data/backup-objects
          176K    /opt/iobroker/iobroker-data/zigbee_0
          40K     /opt/iobroker/iobroker-data/files
          36K     /opt/iobroker/iobroker-data/files/admin.admin
          
          The five largest files in iobroker-data are:
          864K    /opt/iobroker/iobroker-data/objects.jsonl
          864K    /opt/iobroker/iobroker-data/objects.json.migrated
          864K    /opt/iobroker/iobroker-data/objects.json.bak.migrated
          248K    /opt/iobroker/iobroker-data/backup-objects/2019-01-07_20-32_objects.json.gz
          248K    /opt/iobroker/iobroker-data/backup-objects/2019-01-07_20-04_objects.json.gz
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v18.17.1
          /usr/bin/node           v18.17.1
          /usr/local/bin/npm              6.14.13
          /usr/local/bin/npx              6.14.13
          *** nodejs is NOT correctly installed ***
          
          nodejs:
            Installed: 18.17.1-1nodesource1
            Candidate: 18.17.1-1nodesource1
            Version table:
           *** 18.17.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                  100 /var/lib/dpkg/status
               18.17.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.16.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.16.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.15.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.14.2-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.14.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.14.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.13.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.12.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.11.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.10.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.9.1-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.9.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.8.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.7.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.6.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.5.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.4.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.3.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.2.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.1.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               18.0.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
               12.22.12~dfsg-1~deb11u4 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
          
          Temp directories causing npm8 problem: 0
          No problems detected
          
          npm ERR! extraneous: colors@1.4.0 /opt/iobroker/node_modules/colors
          npm ERR! extraneous: fs-extra@7.0.1 /opt/iobroker/node_modules/fs-extra
          npm ERR! extraneous: iobroker.ble@0.13.4 /opt/iobroker/node_modules/iobroker.ble
          npm ERR! extraneous: iobroker.gartenbewaesserung@0.0.6 /opt/iobroker/node_modules/iobroker.gartenbewaesserung
          npm ERR! extraneous: iobroker.hm-rega@4.0.0 /opt/iobroker/node_modules/iobroker.hm-rega
          npm ERR! extraneous: iobroker.hm-rpc@1.15.19 /opt/iobroker/node_modules/iobroker.hm-rpc
          npm ERR! extraneous: iobroker.javascript@7.1.4 /opt/iobroker/node_modules/iobroker.javascript
          npm ERR! extraneous: iobroker.pollenflug@1.0.6 /opt/iobroker/node_modules/iobroker.pollenflug
          npm ERR! extraneous: iobroker.traccar@1.1.2 /opt/iobroker/node_modules/iobroker.traccar
          npm ERR! extraneous: iobroker.wmbus@0.6.1 /opt/iobroker/node_modules/iobroker.wmbus
          npm ERR! extraneous: iobroker.zigbee@1.8.24 /opt/iobroker/node_modules/iobroker.zigbee
          npm ERR! extraneous: yargs@7.1.2 /opt/iobroker/node_modules/yargs
          Errors in npm tree: 0
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is running on this host.
          
          At least one iobroker host is running.
          
          Objects type: jsonl
          States  type: jsonl
          
          No configuration change needed.
          
          
          Multihost discovery server: disabled
          Discovery authentication:   enabled
          Persistent activation:      disabled
          Objects:                    jsonl on 192.168.0.40
          States:                     jsonl on 192.168.0.40
          
          Core adapters versions
          js-controller:  4.0.24
          admin:          6.3.5
          javascript:     7.1.4
          
          npm ERR! extraneous: colors@1.4.0 /opt/iobroker/node_modules/colors
          npm ERR! extraneous: fs-extra@7.0.1 /opt/iobroker/node_modules/fs-extra
          npm ERR! extraneous: iobroker.ble@0.13.4 /opt/iobroker/node_modules/iobroker.ble
          npm ERR! extraneous: iobroker.gartenbewaesserung@0.0.6 /opt/iobroker/node_modules/iobroker.gartenbewaesserung
          npm ERR! extraneous: iobroker.hm-rega@4.0.0 /opt/iobroker/node_modules/iobroker.hm-rega
          npm ERR! extraneous: iobroker.hm-rpc@1.15.19 /opt/iobroker/node_modules/iobroker.hm-rpc
          npm ERR! extraneous: iobroker.javascript@7.1.4 /opt/iobroker/node_modules/iobroker.javascript
          npm ERR! extraneous: iobroker.pollenflug@1.0.6 /opt/iobroker/node_modules/iobroker.pollenflug
          npm ERR! extraneous: iobroker.traccar@1.1.2 /opt/iobroker/node_modules/iobroker.traccar
          npm ERR! extraneous: iobroker.wmbus@0.6.1 /opt/iobroker/node_modules/iobroker.wmbus
          npm ERR! extraneous: iobroker.zigbee@1.8.24 /opt/iobroker/node_modules/iobroker.zigbee
          npm ERR! extraneous: yargs@7.1.2 /opt/iobroker/node_modules/yargs
          Adapters from github:   2
          
          ioBroker-Repositories
          Stable (default): http://download.iobroker.net/sources-dist.json
          sources       : conf/sources-dist.json
          online        : https://raw.githubusercontent.com/ioBroker/ioBroker.repositories/master/sources-dist.json
          fast-online   : http://download.iobroker.net/sources-dist.json
          Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
          NEU Stable    : http://repo.iobroker.live/sources-dist.json
          NEU Latest    : http://repo.iobroker.live/sources-dist-latest.json
          
          *** OS-Repositories and Updates ***
          Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
          Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
          Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease
          Hit:4 https://www.pivccu.de/piVCCU stable InRelease
          Reading package lists...
          Pending Updates: 0
          

          Achso, ich sollte vielleicht noch sagen, dass nach dem Neustart das (automatische) npm-rebuild in Endlosschleife läuft.
          Habe keine Idee mehr!

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

          @lenny-cb sagte in Ein Update ist schief gegangen:

          Habe keine Idee mehr!

          Ich schon.
          Erst mal NICHT als root herumkaspern.

          throttled=0x50000

          Dann scheint die Spannungsversorgung zu wackeln.

          Schlampig, ich weiß, aber mit meiner Frage wisst ihr warum.

          Nö. Warum hält man sein System nicht bezeiten auf Stand? 'Stretch' war ja auch schon längst tot. Vom Buster kannst du gleich zum Bullseye weiterziehen.

          Zu node: Versuch mein Skript. Ist oben schon verlinkt.

          Und

          The systems needs to be REBOOTED!
          

          steht auch nicht zur Dekoration im Output.

          Davon abgesehen ist das auch nicht die ganze Wahrheit, da fehlt Anfang und Ende vom diag.

          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

          Lenny.CBL 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @lenny-cb sagte in Ein Update ist schief gegangen:

            Habe keine Idee mehr!

            Ich schon.
            Erst mal NICHT als root herumkaspern.

            throttled=0x50000

            Dann scheint die Spannungsversorgung zu wackeln.

            Schlampig, ich weiß, aber mit meiner Frage wisst ihr warum.

            Nö. Warum hält man sein System nicht bezeiten auf Stand? 'Stretch' war ja auch schon längst tot. Vom Buster kannst du gleich zum Bullseye weiterziehen.

            Zu node: Versuch mein Skript. Ist oben schon verlinkt.

            Und

            The systems needs to be REBOOTED!
            

            steht auch nicht zur Dekoration im Output.

            Davon abgesehen ist das auch nicht die ganze Wahrheit, da fehlt Anfang und Ende vom diag.

            Lenny.CBL Offline
            Lenny.CBL Offline
            Lenny.CB
            Most Active
            schrieb am zuletzt editiert von
            #6

            @thomas-braun sagte in Ein Update ist schief gegangen:

            @lenny-cb sagte in Ein Update ist schief gegangen:

            Habe keine Idee mehr!

            Ich schon.
            Erst mal NICHT als root herumkaspern.

            throttled=0x50000

            Dann scheint die Spannungsversorgung zu wackeln.

            Schlampig, ich weiß, aber mit meiner Frage wisst ihr warum.

            Nö. Warum hält man sein System nicht bezeiten auf Stand? 'Stretch' war ja auch schon längst tot. Vom Buster kannst du gleich zum Bullseye weiterziehen.

            Zu node: Versuch mein Skript. Ist oben schon verlinkt.

            Und

            The systems needs to be REBOOTED!
            

            steht auch nicht zur Dekoration im Output.

            Davon abgesehen ist das auch nicht die ganze Wahrheit, da fehlt Anfang und Ende vom diag.

            also warum noch Stretch??? - Der Pi war schon immer sehr zickig. Ich war immer froh das er in Verbindung mit zigbee ohne Zaudern lief (wenn er das mal tat)

            Zum Thema Reboot: der Pi hatte heut nicht den ersten Reboot. Sowas mache ich normal immer nach einen Update oder einer Installation.

            zum Schluß:
            nach dem Ausführen von Deinem Script startet der Pi nicht mehr.
            Hier noch der Auszug aus dem Script:

            ioBroker nodejs fixer 2023-09-15
            No recommendation for nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
            
            Your current setup is:
            /usr/bin/nodejs         v18.17.1
            /usr/bin/node           v18.17.1
            /usr/local/bin/npm              6.14.13
            /usr/local/bin/npx              6.14.13
            /usr/bin/corepack       0.18.0
            
            *** nodejs is NOT correctly installed ***
            We found these nodejs versions available for installation:
            
            nodejs:
              Installed: 18.17.1-1nodesource1
              Candidate: 18.17.1-1nodesource1
              Version table:
             *** 18.17.1-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                    100 /var/lib/dpkg/status
                 18.17.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.16.1-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.16.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.15.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.14.2-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.14.1-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.14.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.13.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.12.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.11.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.10.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.9.1-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.9.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.8.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.7.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.6.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.5.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.4.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.3.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.2.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.1.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 18.0.0-1nodesource1 500
                    500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                 12.22.12~dfsg-1~deb11u4 500
                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
            
            
            
            Your nodejs-Installation seems to be not correct. Shall we try to fix it?
            Press <y> to continue or any other key to quit
            
            Fixing your nodejs setup
            *** Deleting /usr/local/bin/npm ***
            *** Deleting /usr/local/bin/npx ***
            
            Wrong paths have been fixed. Run 'iob diag' or 'iob node-update' again to check if your installation is fine now
            
            You are running nodejs v18.17.1. Do you want to install recommended version ?
            
            Press <y> to continue or any other key to quit
            Trying to fix your installation now. Please be patient.
            rm: cannot remove '/usr/share/keyrings/nodesource.gpg'$'\n''/etc/apt/keyrings/nodesource.gpg': No such file or directory
            Waiting for ioBroker to shut down - Give me a minute...
            ############################################################
            
            *** These repos are active on your system:
            Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:3 https://www.pivccu.de/piVCCU stable InRelease
            Reading package lists... Done
            
            *** Installing ca-certificates, curl and gnupg, just in case they are missing.
            
            *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
            deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
            Package: nodejs
            Pin: origin deb.nodesource.com
            Pin-Priority: 1001
            
            *** These repos are active after the adjustments:
            Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:3 https://www.pivccu.de/piVCCU stable InRelease
            Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
            Get:5 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5161 B]
            Fetched 17.3 kB in 3s (5612 B/s)
            Reading package lists... Done
            
            Installing the recommended nodejs version now!
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            E: Version '-1nodesource1' for 'nodejs' was not found
            Reading package lists... Done
            Building dependency tree... Done
            Reading state information... Done
            nodejs is already the newest version (18.17.1-1nodesource1).
            Calculating upgrade... Done
            The following packages have been kept back:
              guile-2.2-libs
            0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
            
            We tried our best to fix your nodejs. Please run iob diag again to verify.
            
            *** RESTARTING ioBroker NOW! ***
             Please refresh or restart your browser in a few moments.
            
            
            This system needs to be REBOOTED NOW!
            
            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • Lenny.CBL Lenny.CB

              @thomas-braun sagte in Ein Update ist schief gegangen:

              @lenny-cb sagte in Ein Update ist schief gegangen:

              Habe keine Idee mehr!

              Ich schon.
              Erst mal NICHT als root herumkaspern.

              throttled=0x50000

              Dann scheint die Spannungsversorgung zu wackeln.

              Schlampig, ich weiß, aber mit meiner Frage wisst ihr warum.

              Nö. Warum hält man sein System nicht bezeiten auf Stand? 'Stretch' war ja auch schon längst tot. Vom Buster kannst du gleich zum Bullseye weiterziehen.

              Zu node: Versuch mein Skript. Ist oben schon verlinkt.

              Und

              The systems needs to be REBOOTED!
              

              steht auch nicht zur Dekoration im Output.

              Davon abgesehen ist das auch nicht die ganze Wahrheit, da fehlt Anfang und Ende vom diag.

              also warum noch Stretch??? - Der Pi war schon immer sehr zickig. Ich war immer froh das er in Verbindung mit zigbee ohne Zaudern lief (wenn er das mal tat)

              Zum Thema Reboot: der Pi hatte heut nicht den ersten Reboot. Sowas mache ich normal immer nach einen Update oder einer Installation.

              zum Schluß:
              nach dem Ausführen von Deinem Script startet der Pi nicht mehr.
              Hier noch der Auszug aus dem Script:

              ioBroker nodejs fixer 2023-09-15
              No recommendation for nodejs version found on your system. We recommend to install latest version from nodejs v18 tree.
              
              Your current setup is:
              /usr/bin/nodejs         v18.17.1
              /usr/bin/node           v18.17.1
              /usr/local/bin/npm              6.14.13
              /usr/local/bin/npx              6.14.13
              /usr/bin/corepack       0.18.0
              
              *** nodejs is NOT correctly installed ***
              We found these nodejs versions available for installation:
              
              nodejs:
                Installed: 18.17.1-1nodesource1
                Candidate: 18.17.1-1nodesource1
                Version table:
               *** 18.17.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                      100 /var/lib/dpkg/status
                   18.17.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.16.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.16.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.15.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.14.2-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.14.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.14.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.13.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.12.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.11.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.10.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.9.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.9.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.8.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.7.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.6.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.5.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.4.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.3.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.2.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.1.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   18.0.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                   12.22.12~dfsg-1~deb11u4 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              
              
              
              Your nodejs-Installation seems to be not correct. Shall we try to fix it?
              Press <y> to continue or any other key to quit
              
              Fixing your nodejs setup
              *** Deleting /usr/local/bin/npm ***
              *** Deleting /usr/local/bin/npx ***
              
              Wrong paths have been fixed. Run 'iob diag' or 'iob node-update' again to check if your installation is fine now
              
              You are running nodejs v18.17.1. Do you want to install recommended version ?
              
              Press <y> to continue or any other key to quit
              Trying to fix your installation now. Please be patient.
              rm: cannot remove '/usr/share/keyrings/nodesource.gpg'$'\n''/etc/apt/keyrings/nodesource.gpg': No such file or directory
              Waiting for ioBroker to shut down - Give me a minute...
              ############################################################
              
              *** These repos are active on your system:
              Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
              Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
              Hit:3 https://www.pivccu.de/piVCCU stable InRelease
              Reading package lists... Done
              
              *** Installing ca-certificates, curl and gnupg, just in case they are missing.
              
              *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
              deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
              Package: nodejs
              Pin: origin deb.nodesource.com
              Pin-Priority: 1001
              
              *** These repos are active after the adjustments:
              Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
              Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
              Hit:3 https://www.pivccu.de/piVCCU stable InRelease
              Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
              Get:5 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5161 B]
              Fetched 17.3 kB in 3s (5612 B/s)
              Reading package lists... Done
              
              Installing the recommended nodejs version now!
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              E: Version '-1nodesource1' for 'nodejs' was not found
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              nodejs is already the newest version (18.17.1-1nodesource1).
              Calculating upgrade... Done
              The following packages have been kept back:
                guile-2.2-libs
              0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
              
              We tried our best to fix your nodejs. Please run iob diag again to verify.
              
              *** RESTARTING ioBroker NOW! ***
               Please refresh or restart your browser in a few moments.
              
              
              This system needs to be REBOOTED NOW!
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #7

              @lenny-cb sagte in Ein Update ist schief gegangen:

              nach dem Ausführen von Deinem Script startet der Pi nicht mehr.

              Das kann nicht sein, das greift nur beim nodejs-Paket zu und das wird zum Start des Pi natürlich nicht benötigt.

              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

              HomoranH Lenny.CBL 2 Antworten Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @lenny-cb sagte in Ein Update ist schief gegangen:

                nach dem Ausführen von Deinem Script startet der Pi nicht mehr.

                Das kann nicht sein, das greift nur beim nodejs-Paket zu und das wird zum Start des Pi natürlich nicht benötigt.

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

                @thomas-braun ausser die sd karte war bereits morsch und hat bei den letzten Schreibvorgängen endgültig alle Viere von sich gestreckt

                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 -

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • HomoranH Homoran

                  @thomas-braun ausser die sd karte war bereits morsch und hat bei den letzten Schreibvorgängen endgültig alle Viere von sich gestreckt

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

                  @homoran

                  Das kann natürlich sein. Hat aber auch nicht ursächlich mit dem Skript zu tun.

                  Wobei mir da ein paar andere Dinge noch ins Auge springen, die ich mir gerade nicht erklären kann...

                  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

                  Lenny.CBL 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @lenny-cb sagte in Ein Update ist schief gegangen:

                    nach dem Ausführen von Deinem Script startet der Pi nicht mehr.

                    Das kann nicht sein, das greift nur beim nodejs-Paket zu und das wird zum Start des Pi natürlich nicht benötigt.

                    Lenny.CBL Offline
                    Lenny.CBL Offline
                    Lenny.CB
                    Most Active
                    schrieb am zuletzt editiert von
                    #10

                    @thomas-braun sagte in Ein Update ist schief gegangen:

                    @lenny-cb sagte in Ein Update ist schief gegangen:

                    nach dem Ausführen von Deinem Script startet der Pi nicht mehr.

                    Das kann nicht sein, das greift nur beim nodejs-Paket zu und das wird zum Start des Pi natürlich nicht benötigt.

                    leider doch.

                    Kann es sein, dass es an der Root-Installation liegt? (Wobei meine Installationen ioBroker-Anfang als root laufen. (ohne das jetzt mal zu werten.)
                    Dein Script hatte ich aber mit dem "PI-User" gemacht. Ging ja auch nicht anders.

                    1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @homoran

                      Das kann natürlich sein. Hat aber auch nicht ursächlich mit dem Skript zu tun.

                      Wobei mir da ein paar andere Dinge noch ins Auge springen, die ich mir gerade nicht erklären kann...

                      Lenny.CBL Offline
                      Lenny.CBL Offline
                      Lenny.CB
                      Most Active
                      schrieb am zuletzt editiert von
                      #11

                      @thomas-braun sagte in Ein Update ist schief gegangen:

                      Wobei mir da ein paar andere Dinge noch ins Auge springen, die ich mir gerade nicht erklären kann...

                      welche wären das?

                      Thomas BraunT 2 Antworten Letzte Antwort
                      0
                      • Lenny.CBL Lenny.CB

                        @thomas-braun sagte in Ein Update ist schief gegangen:

                        Wobei mir da ein paar andere Dinge noch ins Auge springen, die ich mir gerade nicht erklären kann...

                        welche wären das?

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

                        @lenny-cb sagte in Ein Update ist schief gegangen:

                        welche wären das?

                        Nur im Diagnose-Teil. Nur Optik.

                        Kann es sein, dass es an der Root-Installation liegt?

                        Möglich. Als root verfummelt man sich halt eh man es sich versieht irgendwas. Weswegen man halt auch nie als root herumhampelt.

                        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

                        Lenny.CBL 1 Antwort Letzte Antwort
                        0
                        • Lenny.CBL Lenny.CB

                          @thomas-braun sagte in Ein Update ist schief gegangen:

                          Wobei mir da ein paar andere Dinge noch ins Auge springen, die ich mir gerade nicht erklären kann...

                          welche wären das?

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

                          @lenny-cb

                          Kommst du jetzt wieder auf die Kiste?

                          sudo apt update
                          

                          sagt? Da klemmt ja auch guile-2.2-libs irgendwo fest. Offenbar ist dein dist-upgrade nicht richtig durchgelaufen.

                          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

                          Lenny.CBL 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @lenny-cb

                            Kommst du jetzt wieder auf die Kiste?

                            sudo apt update
                            

                            sagt? Da klemmt ja auch guile-2.2-libs irgendwo fest. Offenbar ist dein dist-upgrade nicht richtig durchgelaufen.

                            Lenny.CBL Offline
                            Lenny.CBL Offline
                            Lenny.CB
                            Most Active
                            schrieb am zuletzt editiert von
                            #14

                            @thomas-braun sagte in Ein Update ist schief gegangen:

                            @lenny-cb

                            Kommst du jetzt wieder auf die Kiste?

                            sudo apt update
                            

                            sagt? Da klemmt ja auch guile-2.2-libs irgendwo fest. Offenbar ist dein dist-upgrade nicht richtig durchgelaufen.

                            nope, kein ssh-Zugang. Stecke morgen mal einen Monitor dran und schaue ob nur ssh das Problem ist oder ganz tot.

                            Lenny.CBL 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @lenny-cb sagte in Ein Update ist schief gegangen:

                              welche wären das?

                              Nur im Diagnose-Teil. Nur Optik.

                              Kann es sein, dass es an der Root-Installation liegt?

                              Möglich. Als root verfummelt man sich halt eh man es sich versieht irgendwas. Weswegen man halt auch nie als root herumhampelt.

                              Lenny.CBL Offline
                              Lenny.CBL Offline
                              Lenny.CB
                              Most Active
                              schrieb am zuletzt editiert von
                              #15

                              @thomas-braun sagte in Ein Update ist schief gegangen:

                              @lenny-cb sagte in Ein Update ist schief gegangen:

                              welche wären das?

                              Nur im Diagnose-Teil. Nur Optik.

                              Kann es sein, dass es an der Root-Installation liegt?

                              Möglich. Als root verfummelt man sich halt eh man es sich versieht irgendwas. Weswegen man halt auch nie als root herumhampelt.

                              wie gesagt, ich mache seit Jahren nicht anderes als apt-get update/upgrade und 2x node-Installation (12-->14-->16). da hält sich das "Verfummeln" in Grenzen.

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • Lenny.CBL Lenny.CB

                                @thomas-braun sagte in Ein Update ist schief gegangen:

                                @lenny-cb sagte in Ein Update ist schief gegangen:

                                welche wären das?

                                Nur im Diagnose-Teil. Nur Optik.

                                Kann es sein, dass es an der Root-Installation liegt?

                                Möglich. Als root verfummelt man sich halt eh man es sich versieht irgendwas. Weswegen man halt auch nie als root herumhampelt.

                                wie gesagt, ich mache seit Jahren nicht anderes als apt-get update/upgrade und 2x node-Installation (12-->14-->16). da hält sich das "Verfummeln" in Grenzen.

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

                                @lenny-cb

                                Dann kannst du ja diese zwei-drei Dinge erst Recht ohne root machen.

                                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

                                1 Antwort Letzte Antwort
                                0
                                • Lenny.CBL Lenny.CB

                                  @thomas-braun sagte in Ein Update ist schief gegangen:

                                  @lenny-cb

                                  Kommst du jetzt wieder auf die Kiste?

                                  sudo apt update
                                  

                                  sagt? Da klemmt ja auch guile-2.2-libs irgendwo fest. Offenbar ist dein dist-upgrade nicht richtig durchgelaufen.

                                  nope, kein ssh-Zugang. Stecke morgen mal einen Monitor dran und schaue ob nur ssh das Problem ist oder ganz tot.

                                  Lenny.CBL Offline
                                  Lenny.CBL Offline
                                  Lenny.CB
                                  Most Active
                                  schrieb am zuletzt editiert von Lenny.CB
                                  #17

                                  @lenny-cb sagte in Ein Update ist schief gegangen:

                                  @thomas-braun sagte in Ein Update ist schief gegangen:

                                  @lenny-cb

                                  Kommst du jetzt wieder auf die Kiste?

                                  sudo apt update
                                  

                                  sagt? Da klemmt ja auch guile-2.2-libs irgendwo fest. Offenbar ist dein dist-upgrade nicht richtig durchgelaufen.

                                  nope, kein ssh-Zugang. Stecke morgen mal einen Monitor dran und schaue ob nur ssh das Problem ist oder ganz tot.

                                  kurze Zusammenfassung:

                                  warum startete der PI nicht mehr?
                                  Tat er, nur war nach dem Ausführen des Scriptes eth0 weg.

                                  Konnte behoben werden indem in /boot/cmdline.txt am Ende der Zeile "net.ifnames=0" angehangen wurde.

                                  zur Frage was apt update ergibt:
                                  apt update --> apt upgrade
                                  guile-2.2-libs -_> wurde zurückgehalten

                                  apt full-upgrade
                                  Installation erledigt

                                  node -v --> v18.17.1
                                  npm - v --> 9.6.7

                                  keiner der Adapter starten. Im Log kommt immer noch der Fehler (Beispiel Zigbee):

                                  host.RPI3
                                  2023-09-18 13:39:03.991	info	iobroker npm-install: exit 25
                                  host.RPI3
                                  2023-09-18 13:39:02.912	error	iobroker npm-install: Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@alcalzone/jsonl-dbnpm ERR! dest /opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9npm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@alcalzone/jsonl-db' -> '/opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-18T11_37_56_021Z-debug-0.loghost.RPI3 Cannot install iobroker.zigbee@1.8.24: 217
                                  host.RPI3
                                  2023-09-18 13:39:02.903	info	iobroker npm-install: Try to solve ENOTEMPTY error automatically
                                  host.RPI3
                                  2023-09-18 13:37:52.412	info	iobroker npm-install: Installing iobroker.zigbee@1.8.24... (System call)
                                  host.RPI3
                                  2023-09-18 13:37:52.406	info	iobroker npm-install: NPM version: 9.6.7
                                  host.RPI3
                                  2023-09-18 13:37:37.847	info	iobroker install zigbee@1.8.24 using installedFrom
                                  host.RPI3
                                  2023-09-18 13:37:37.843	warn	startInstance cannot find adapter "zigbee@1.8.24". Try to install it... 1 attempt
                                  

                                  Controller ist auf Version v5.0.12
                                  Alle Adapter in diesem Slave sind auf dem aktuellen Stand.

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • Lenny.CBL Lenny.CB

                                    @lenny-cb sagte in Ein Update ist schief gegangen:

                                    @thomas-braun sagte in Ein Update ist schief gegangen:

                                    @lenny-cb

                                    Kommst du jetzt wieder auf die Kiste?

                                    sudo apt update
                                    

                                    sagt? Da klemmt ja auch guile-2.2-libs irgendwo fest. Offenbar ist dein dist-upgrade nicht richtig durchgelaufen.

                                    nope, kein ssh-Zugang. Stecke morgen mal einen Monitor dran und schaue ob nur ssh das Problem ist oder ganz tot.

                                    kurze Zusammenfassung:

                                    warum startete der PI nicht mehr?
                                    Tat er, nur war nach dem Ausführen des Scriptes eth0 weg.

                                    Konnte behoben werden indem in /boot/cmdline.txt am Ende der Zeile "net.ifnames=0" angehangen wurde.

                                    zur Frage was apt update ergibt:
                                    apt update --> apt upgrade
                                    guile-2.2-libs -_> wurde zurückgehalten

                                    apt full-upgrade
                                    Installation erledigt

                                    node -v --> v18.17.1
                                    npm - v --> 9.6.7

                                    keiner der Adapter starten. Im Log kommt immer noch der Fehler (Beispiel Zigbee):

                                    host.RPI3
                                    2023-09-18 13:39:03.991	info	iobroker npm-install: exit 25
                                    host.RPI3
                                    2023-09-18 13:39:02.912	error	iobroker npm-install: Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@alcalzone/jsonl-dbnpm ERR! dest /opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9npm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@alcalzone/jsonl-db' -> '/opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-18T11_37_56_021Z-debug-0.loghost.RPI3 Cannot install iobroker.zigbee@1.8.24: 217
                                    host.RPI3
                                    2023-09-18 13:39:02.903	info	iobroker npm-install: Try to solve ENOTEMPTY error automatically
                                    host.RPI3
                                    2023-09-18 13:37:52.412	info	iobroker npm-install: Installing iobroker.zigbee@1.8.24... (System call)
                                    host.RPI3
                                    2023-09-18 13:37:52.406	info	iobroker npm-install: NPM version: 9.6.7
                                    host.RPI3
                                    2023-09-18 13:37:37.847	info	iobroker install zigbee@1.8.24 using installedFrom
                                    host.RPI3
                                    2023-09-18 13:37:37.843	warn	startInstance cannot find adapter "zigbee@1.8.24". Try to install it... 1 attempt
                                    

                                    Controller ist auf Version v5.0.12
                                    Alle Adapter in diesem Slave sind auf dem aktuellen Stand.

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

                                    @lenny-cb sagte in Ein Update ist schief gegangen:

                                    nur war nach dem Ausführen des Scriptes eth0 weg.

                                    Kann aber nicht mit dem nodejs-Skript zusammenhängen, da ist kein Code diesbezüglich drin.

                                    Zu

                                    Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@alcalzone/jsonl-dbnpm ERR! dest /opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9npm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@alcalzone/jsonl-db' -> '/opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-18T11_37_56_021Z-debug-0.loghost.RPI3 Cannot install iobroker.zigbee@1.8.24: 217
                                    

                                    jag mal den

                                    iob fix
                                    

                                    über das System.

                                    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

                                    Lenny.CBL 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @lenny-cb sagte in Ein Update ist schief gegangen:

                                      nur war nach dem Ausführen des Scriptes eth0 weg.

                                      Kann aber nicht mit dem nodejs-Skript zusammenhängen, da ist kein Code diesbezüglich drin.

                                      Zu

                                      Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@alcalzone/jsonl-dbnpm ERR! dest /opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9npm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@alcalzone/jsonl-db' -> '/opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-18T11_37_56_021Z-debug-0.loghost.RPI3 Cannot install iobroker.zigbee@1.8.24: 217
                                      

                                      jag mal den

                                      iob fix
                                      

                                      über das System.

                                      Lenny.CBL Offline
                                      Lenny.CBL Offline
                                      Lenny.CB
                                      Most Active
                                      schrieb am zuletzt editiert von Lenny.CB
                                      #19

                                      @thomas-braun sagte in Ein Update ist schief gegangen:

                                      @lenny-cb sagte in Ein Update ist schief gegangen:

                                      nur war nach dem Ausführen des Scriptes eth0 weg.

                                      Kann aber nicht mit dem nodejs-Skript zusammenhängen, da ist kein Code diesbezüglich drin.

                                      Zu

                                      Could not handle ENOTEMPTY, because no deletable files were foundnpm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@alcalzone/jsonl-dbnpm ERR! dest /opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9npm ERR! errno -39npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@alcalzone/jsonl-db' -> '/opt/iobroker/node_modules/@alcalzone/.jsonl-db-koHBLxk9'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-09-18T11_37_56_021Z-debug-0.loghost.RPI3 Cannot install iobroker.zigbee@1.8.24: 217
                                      

                                      jag mal den

                                      iob fix
                                      

                                      über das System.

                                      gemacht:

                                      library: loaded
                                      Library version=2022-12-09
                                      
                                      ==========================================================================
                                      
                                          Welcome to the ioBroker installation fixer!
                                          Script version: 2023-04-02
                                      
                                      ==========================================================================
                                      
                                      
                                      ==========================================================================
                                          Installing prerequisites (1/5)
                                      ==========================================================================
                                      
                                      OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                      OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                      OK:3 https://www.pivccu.de/piVCCU stable InRelease
                                      OK:4 https://deb.nodesource.com/node_18.x nodistro InRelease
                                      Paketlisten werden gelesen… Fertig
                                      Installed gcc-c++
                                      
                                      ==========================================================================
                                          Checking ioBroker user and directory permissions (2/5)
                                      ==========================================================================
                                      
                                      Created /etc/sudoers.d/iobroker
                                      Fixing directory permissions...
                                      
                                      ==========================================================================
                                          Check and cleanup npm temporary directories (3/5)
                                      ==========================================================================
                                      
                                      Done.
                                      
                                      ==========================================================================
                                          Database maintenance (4/5)
                                      ==========================================================================
                                      
                                      Checking for uncompressed JSONL databases... This might take a while!
                                      
                                      No relevant JSONL files found to compress, skip
                                      
                                      ==========================================================================
                                          Checking autostart (5/5)
                                      ==========================================================================
                                      
                                      Enabling autostart...
                                      Autostart enabled!
                                      
                                      ==========================================================================
                                      
                                          Your installation was fixed successfully
                                          Run iobroker start to start ioBroker again!
                                      
                                      ==========================================================================
                                      

                                      der Slave hat dann auch angefangen die Adapter zu installieren.
                                      Zwischenzeitlich war wohl ein Neustart fällig, seit dem ist der nicht mehr mit dem Multi verbunden.
                                      Eine ioB-Instanz läuft auf dem Pi, keine Verbindung.

                                      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

                                      284

                                      Online

                                      32.7k

                                      Benutzer

                                      82.3k

                                      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