@codierknecht said in uraltete ioBroker Installation geschickt updaten?:
@lost-in-translation sagte in uraltete ioBroker Installation geschickt updaten?:
Die Langfassung von
iob diag
Wobei ich mir nicht sicher bin, ob das in Deiner Steinzeitversion überhaupt schon enthalten ist.
iob fix hat iob diag hervorgezaubert:
Script v.2025-02-23
*** BASE SYSTEM ***
========== Start marking the full check here ===========
```bash
Script v.2025-02-23
*** BASE SYSTEM ***
   Static hostname: ioBroker-RasPi
         Icon name: computer
  Operating System: Raspbian GNU/Linux 9 (stretch)
            Kernel: Linux 4.14.98-v7+
      Architecture: arm
OS is similar to: debian
model name      : ARMv7 Processor rev 4 (v7l)
Docker          : false
Virtualization  : none
Kernel          : armv7l
Userland        : 32 bit
Systemuptime and Load:
 09:30:31 up 21:33,  1 user,  load average: 0.63, 0.52, 0.36
CPU threads: 4
*** LIFE CYCLE STATUS ***
Unknown release codenamed 'stretch'. Please check yourself if the Operating System is actively maintained.
*** RASPBERRY THROTTLING ***
Current issues:
~ Under-voltage detected
Previously detected issues:
~ Under-voltage has occurred
*** TIME AND TIMEZONES ***
      Local time: Tue 2025-05-13 09:30:31 CEST
  Universal time: Tue 2025-05-13 07:30:31 UTC
        RTC time: n/a
       Time zone: Europe/Berlin (CEST, +0200)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no
Unknown operation show
Unknown operation show
*** Users and Groups ***
User that called 'iob diag':
pi
HOME=/home/pi
GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
User that is running 'js-controller':
js-controller is not running
*** DISPLAY-SERVER SETUP ***
Display-Server: false
Desktop:
Terminal:
System is booting into 'graphical.target'. Usually a server is running in 'multi-user.target'. Please set BootTarget to 'multi-user.target' or run 'iobroker fix'
*** MEMORY ***
              total        used        free      shared  buff/cache   available
Mem:           949M         38M        479M         21M        431M        823M
Swap:          102M         24M         77M
Total:         1.1G         63M        556M
Active iob-Instances:   1
          927 M total memory
           37 M used memory
          254 M active memory
          121 M inactive memory
          467 M free memory
           91 M buffer memory
          330 M swap cache
           99 M total swap
           24 M used swap
           75 M free swap
*** top - Table Of Processes  ***
top - 09:30:32 up 21:33,  1 user,  load average: 0.66, 0.53, 0.37
Tasks: 105 total,   1 running,  60 sleeping,   0 stopped,   0 zombie
%Cpu(s):  4.4 us,  0.8 sy,  0.0 ni, 94.4 id,  0.3 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem :   949448 total,   478936 free,    38416 used,   432096 buff/cache
KiB Swap:   102396 total,    77564 free,    24832 used.   823660 avail Mem
*** FAILED SERVICES ***
  UNIT             LOAD   ACTIVE SUB    DESCRIPTION
* iobroker.service loaded failed failed ioBroker Server
LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
*** DMESG CRITICAL ERRORS ***
No critical errors detected
*** FILESYSTEM ***
Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/root      ext4      7.3G  2.6G  4.5G  37% /
devtmpfs       devtmpfs  460M     0  460M   0% /dev
tmpfs          tmpfs     464M     0  464M   0% /dev/shm
tmpfs          tmpfs     464M   36M  429M   8% /run
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1 vfat       42M   22M   20M  53% /boot
tmpfs          tmpfs      93M     0   93M   0% /run/user/1000
Messages concerning ext4 filesystem in dmesg:
[Mon May 12 11:56:57 2025] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=9c63c4e6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[Mon May 12 11:56:58 2025] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[Mon May 12 11:56:58 2025] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[Mon May 12 11:57:00 2025] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Show mounted filesystems:
findmnt: unrecognized option '--real'
Usage:
 findmnt [options]
 findmnt [options] <device> | <mountpoint>
 findmnt [options] <device> <mountpoint>
 findmnt [options] [--source <device>] [--target <path> | --mountpoint <dir>]
Find a (mounted) filesystem.
Options:
 -s, --fstab            search in static table of filesystems
 -m, --mtab             search in table of mounted filesystems
 -k, --kernel           search in kernel table of mounted
                          filesystems (default)
 -p, --poll[=<list>]    monitor changes in table of mounted filesystems
 -w, --timeout <num>    upper limit in milliseconds that --poll will block
 -A, --all              disable all built-in filters, print all filesystems
 -a, --ascii            use ASCII chars for tree formatting
 -b, --bytes            print sizes in bytes rather than in human readable format
 -C, --nocanonicalize   don't canonicalize when comparing paths
 -c, --canonicalize     canonicalize printed paths
 -D, --df               imitate the output of df(1)
 -d, --direction <word> direction of search, 'forward' or 'backward'
 -e, --evaluate         convert tags (LABEL,UUID,PARTUUID,PARTLABEL)
                          to device names
 -F, --tab-file <path>  alternative file for -s, -m or -k options
 -f, --first-only       print the first found filesystem only
 -i, --invert           invert the sense of matching
 -J, --json             use JSON output format
 -l, --list             use list format output
 -N, --task <tid>       use alternative namespace (/proc/<tid>/mountinfo file)
 -n, --noheadings       don't print column headings
 -O, --options <list>   limit the set of filesystems by mount options
 -o, --output <list>    the output columns to be shown
 -P, --pairs            use key="value" output format
 -R, --submounts        print all submounts for the matching filesystems
 -r, --raw              use raw output format
 -S, --source <string>  the device to mount (by name, maj:min,
                          LABEL=, UUID=, PARTUUID=, PARTLABEL=)
 -T, --target <path>    the path to the filesystem to use
 -M, --mountpoint <dir> the mountpoint directory
 -t, --types <list>     limit the set of filesystems by FS types
 -U, --uniq             ignore filesystems with duplicate target
 -u, --notruncate       don't truncate text in columns
 -v, --nofsroot         don't print [/dir] for bind or btrfs mounts
 -x, --verify           verify mount table content (default is fstab)
     --verbose          print more details
 -h, --help     display this help and exit
 -V, --version  output version information and exit
Available columns:
      SOURCE  source device
      TARGET  mountpoint
      FSTYPE  filesystem type
     OPTIONS  all mount options
 VFS-OPTIONS  VFS specific mount options
  FS-OPTIONS  FS specific mount options
       LABEL  filesystem label
        UUID  filesystem UUID
   PARTLABEL  partition label
    PARTUUID  partition UUID
     MAJ:MIN  major:minor device number
      ACTION  action detected by --poll
  OLD-TARGET  old mountpoint saved by --poll
 OLD-OPTIONS  old mount options saved by --poll
        SIZE  filesystem size
       AVAIL  filesystem size available
        USED  filesystem size used
        USE%  filesystem use percentage
      FSROOT  filesystem root
         TID  task ID
          ID  mount ID
  OPT-FIELDS  optional mount fields
 PROPAGATION  VFS propagation flags
        FREQ  dump(8) period in days [fstab only]
      PASSNO  pass number on parallel fsck(8) [fstab only]
For more details see findmnt(8).
Files in neuralgic directories:
/var:
530M    /var/
283M    /var/cache
278M    /var/cache/apt
227M    /var/cache/apt/archives
81M     /var/lib
Archived and active journals take up 34.7M in the file system.
/opt/iobroker/backups:
17M     /opt/iobroker/backups/
/opt/iobroker/iobroker-data:
229M    /opt/iobroker/iobroker-data/
148M    /opt/iobroker/iobroker-data/backup-objects
57M     /opt/iobroker/iobroker-data/files
31M     /opt/iobroker/iobroker-data/files/javascript.admin
21M     /opt/iobroker/iobroker-data/files/javascript.admin/static/js
The five largest files in iobroker-data are:
12M     /opt/iobroker/iobroker-data/objects.json.bak
12M     /opt/iobroker/iobroker-data/objects.json
4.8M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/2.bc7716ef.chunk.js.map
4.7M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/2.7e0b7583.chunk.js.map
4.2M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/2.0e618607.chunk.js.map
USB-Devices by-id:
USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
No Devices found 'by-id'
Zigbee Network Settings on your coordinator/in nvbackup are:
zigbee.X
Extended Pan ID:
*** MASKED ***
Pan ID:
*** MASKED ***
Channel:
*** MASKED ***
Network Key:
*** MASKED ***
To unmask the settings run 'iob diag --unmask'
*** NodeJS-Installation ***
/usr/bin/nodejs         v10.20.1
/usr/bin/node           v10.20.1
internal/modules/cjs/loader.js:638
    throw err;
    ^
Error: Cannot find module 'node:path'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/lib/node_modules/npm/lib/cli.js:10:18)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
/usr/bin/npm
internal/modules/cjs/loader.js:638
    throw err;
    ^
Error: Cannot find module 'node:path'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/lib/node_modules/npm/lib/cli.js:10:18)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
internal/modules/cjs/loader.js:638
    throw err;
    ^
Error: Cannot find module 'node:path'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/lib/node_modules/npm/lib/cli.js:10:18)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
/usr/bin/npx
internal/modules/cjs/loader.js:638
    throw err;
    ^
Error: Cannot find module 'node:path'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/lib/node_modules/npm/lib/cli.js:10:18)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
corepack:       N/A
*** nodejs is NOT correctly installed ***
nodejs:
  Installed: 10.20.1-1nodesource1
  Candidate: 10.24.1-1nodesource1
  Version table:
     10.24.1-1nodesource1 500
        500 https://deb.nodesource.com/node_10.x stretch/main armhf Packages
 *** 10.20.1-1nodesource1 100
        100 /var/lib/dpkg/status
     8.11.1~dfsg-2~bpo9+1 500
        500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
     4.8.2~dfsg-1 500
        500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
Temp directories causing deletion problem: 0
No problems detected
Errors in npm tree: 0
No problems detected
*** ioBroker-Installation ***
ioBroker Status
iobroker is not running on this host.
No iobroker host is running.
Objects type: file
States  type: redis
Hosts:
ioBroker-RasPi      ioBroker-RasPi (version: 2.2.9, hostname: ioBroker-RasPi,  dead, uptime: 71254)
Core adapters versions
js-controller:  2.2.9
admin:          4.2.1
javascript:     4.8.4
nodejs modules from github:     0
Adapter State
  system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
  system.adapter.alexa2.0                : alexa2                -  enabled
  system.adapter.backitup.0              : backitup              -  enabled
  system.adapter.broadlink2.0            : broadlink2            -  enabled
  system.adapter.cloud.0                 : cloud                 - disabled
  system.adapter.discovery.0             : discovery             - disabled
  system.adapter.email.0                 : email                 -  enabled
  system.adapter.flot.0                  : flot                  -  enabled
  system.adapter.history.0               : history               -  enabled
  system.adapter.info.0                  : info                  - disabled
  system.adapter.javascript.0            : javascript            -  enabled
  system.adapter.lgtv11.0                : lgtv11                -  enabled, port: 8080
  system.adapter.mobile.0                : mobile                - disabled
  system.adapter.netatmo.0               : netatmo               -  enabled
  system.adapter.onvif-alt.0             : onvif-alt             -  enabled
  system.adapter.rpi2.0                  : rpi2                  - disabled
  system.adapter.socketio.0              : socketio              -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
  system.adapter.telegram.0              : telegram              - disabled, port: 8443, bind: 0.0.0.0
  system.adapter.terminal.0              : terminal              - disabled, port: 8088, bind: 0.0.0.0, run as: admin
  system.adapter.tr-064-community.0      : tr-064-community      - disabled
  system.adapter.tr-064.0                : tr-064                -  enabled
  system.adapter.vis.0                   : vis                   -  enabled
  system.adapter.web.0                   : web                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
+ instance is alive
Enabled adapters with bindings
  system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
  system.adapter.lgtv11.0                : lgtv11                -  enabled, port: 8080
  system.adapter.socketio.0              : socketio              -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
  system.adapter.web.0                   : web                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
ioBroker-Repositories
default    : http://download.iobroker.net/sources-dist.json
latest     : http://download.iobroker.net/sources-dist-latest.json
Active repo: default
Installed ioBroker-Adapters
Used repository: default
hash changed or no sources cached => force download of new sources
Cannot get any information of "_repoInfo". Ignored.
update done
Adapter    "admin"         : 7.6.3    , installed 4.2.1 [Updateable]
Adapter    "alexa2"        : 3.26.5   , installed 3.8.1 [Updateable]
Adapter    "backitup"      : 3.0.31   , installed 1.7.0 [Updateable]
Adapter    "broadlink2"    : 2.3.0    , installed 2.0.3 [Updateable]
Adapter    "cloud"         : 5.0.1    , installed 4.0.4 [Updateable]
Adapter    "discovery"     : 5.0.0    , installed 2.5.0 [Updateable]
Adapter    "email"         : 2.0.3    , installed 1.0.9 [Updateable]
Adapter    "flot"          : 1.12.0   , installed 1.10.6 [Updateable]
Adapter    "history"       : 3.0.1    , installed 1.9.12 [Updateable]
Adapter    "javascript"    : 8.8.3    , installed 4.8.4 [Updateable]
Controller "js-controller" : 7.0.6    , installed 2.2.9 [Updateable]
Adapter    "lgtv11"        : 1.0.5    , installed 1.0.5
Adapter    "mobile"        : 1.0.1    , installed 1.0.1
Adapter    "netatmo"       : 3.1.0    , installed 1.3.3 [Updateable]
Adapter    "rpi2"          : 2.4.0    , installed 1.2.0 [Updateable]
Adapter    "simple-api"    : 2.8.0    , installed 2.5.3 [Updateable]
Adapter    "socketio"      : 6.7.1    , installed 3.1.4 [Updateable]
Adapter    "telegram"      : 4.1.0    , installed 1.7.0 [Updateable]
Adapter    "terminal"      : 1.0.0    , installed 0.1.2 [Updateable]
Adapter    "tr-064"        : 4.3.0    , installed 4.2.4 [Updateable]
Adapter    "vis"           : 1.5.6    , installed 1.3.4 [Updateable]
Adapter    "web"           : 7.0.8    , installed 3.2.3 [Updateable]
Objects and States
Please stand by - This may take a while
Objects:        4412
States:         3712
*** OS-Repositories and Updates ***
E: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does no longer have a Release file.
Pending Updates: 80
*** Listening Ports ***
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          12427      513/sshd
tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      109        12063      519/redis-server 12
tcp6       0      0 :::22                   :::*                    LISTEN      0          12429      513/sshd
udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          9616       497/dhcpcd
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        9592       304/avahi-daemon: r
udp        0      0 0.0.0.0:54092           0.0.0.0:*                           108        9594       304/avahi-daemon: r
udp6       0      0 :::546                  :::*                                0          9620       497/dhcpcd
udp6       0      0 :::52307                :::*                                108        9595       304/avahi-daemon: r
udp6       0      0 :::5353                 :::*                                108        9593       304/avahi-daemon: r
*** Log File - Last 25 Lines ***
2025-05-13 09:27:37.396  - info: onvif-alt.0 (19124) Got terminate signal TERMINATE_YOURSELF
2025-05-13 09:27:37.398  - info: admin.0 (18896) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2025-05-13 09:27:37.396  - info: web.0 (18911) Got terminate signal TERMINATE_YOURSELF
2025-05-13 09:27:37.399  - info: onvif-alt.0 (19124) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2025-05-13 09:27:37.402  - info: web.0 (18911) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2025-05-13 09:27:37.406  - info: socketio.0 (18922) Got terminate signal TERMINATE_YOURSELF
2025-05-13 09:27:37.410  - info: socketio.0 (18922) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2025-05-13 09:27:37.404  - info: alexa2.0 (18988) Got terminate signal TERMINATE_YOURSELF
2025-05-13 09:27:37.413  - info: alexa2.0 (18988) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2025-05-13 09:27:37.429  - info: history.0 (18952) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2025-05-13 09:27:37.504  - info: javascript.0 (18971) Got terminate signal TERMINATE_YOURSELF
2025-05-13 09:27:37.873  - info: host.ioBroker-RasPi instance system.adapter.lgtv11.0 terminated with code 156 (156)
2025-05-13 09:27:37.892  - info: host.ioBroker-RasPi instance system.adapter.backitup.0 terminated with code 156 (156)
2025-05-13 09:27:38.000  - info: host.ioBroker-RasPi instance system.adapter.email.0 terminated with code 156 (156)
2025-05-13 09:27:38.001  - info: host.ioBroker-RasPi instance system.adapter.broadlink2.0 terminated with code 156 (156)
2025-05-13 09:27:38.001  - info: host.ioBroker-RasPi instance system.adapter.web.0 terminated with code 156 (156)
2025-05-13 09:27:38.002  - info: host.ioBroker-RasPi instance system.adapter.socketio.0 terminated with code 156 (156)
2025-05-13 09:27:38.002  - info: host.ioBroker-RasPi instance system.adapter.alexa2.0 terminated with code 156 (156)
2025-05-13 09:27:38.003  - info: host.ioBroker-RasPi instance system.adapter.tr-064.0 terminated with code 156 (156)
2025-05-13 09:27:38.004  - info: host.ioBroker-RasPi instance system.adapter.onvif-alt.0 terminated with code 156 (156)
2025-05-13 09:27:38.040  - info: host.ioBroker-RasPi instance system.adapter.admin.0 terminated with code 156 (156)
2025-05-13 09:27:38.041  - info: host.ioBroker-RasPi instance system.adapter.history.0 terminated with code 156 (156)
2025-05-13 09:27:38.042  - info: host.ioBroker-RasPi instance system.adapter.javascript.0 terminated with code 156 (156)
2025-05-13 09:27:38.043  - info: host.ioBroker-RasPi All instances are stopped.
2025-05-13 09:27:38.209  - info: host.ioBroker-RasPi terminated
============ Mark until here for C&P =============