NEWS
Diskussion zum HowTo nodejs-Installation und upgrade
-
@thomas-braun vielen lieben Dank
grafana und influx brauch ich eh nicht
Hast du einen Tip wie ich sauber runter kriege?Was meinst du mit, schalt den Desktop aus?
-
Poste mal on einem separaten Thread die Langfassung von
iob diag
Da scheint mir so einiges im Argen zu liegen.
-
@thomas-braun oh oh
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: iob-server Icon name: computer-laptop Chassis: laptop Operating System: Ubuntu 18.04.4 LTS Kernel: Linux 5.4.0-150-generic Architecture: x86-64 model name : Intel(R) Pentium(R) 3805U @ 1.90GHz Docker : false Virtualization : none Kernel : x86_64 Userland : amd64 Systemuptime and Load: 16:46:43 up 89 days, 3:58, 2 users, load average: 0.65, 0.74, 0.92 CPU threads: 2 *** Time and Time Zones *** Local time: Sun 2023-12-17 16:46:43 CET Universal time: Sun 2023-12-17 15:46:43 UTC RTC time: Sun 2023-12-17 15:46:43 Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes systemd-timesyncd.service active: yes RTC in local TZ: no *** User and Groups *** iob /home/iob iob adm cdrom sudo dip plugdev lpadmin sambashare iobroker *** X-Server-Setup *** X-Server: true Desktop: Terminal: Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 3.9G 2.9G 263M 1.7M 761M 768M Swap: 2.1G 1.4G 733M Total: 6.0G 4.3G 996M 3848 M total memory 2847 M used memory 2464 M active memory 752 M inactive memory 256 M free memory 96 M buffer memory 647 M swap cache 2047 M total swap 1331 M used swap 716 M free swap *** FAILED SERVICES *** 0 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.9G 0 1.9G 0% /dev tmpfs tmpfs 385M 2.0M 383M 1% /run /dev/sda1 ext4 59G 30G 27G 53% / tmpfs tmpfs 1.9G 176K 1.9G 1% /dev/shm tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup /dev/loop0 squashfs 74M 74M 0 100% /snap/core22/864 /dev/loop1 squashfs 106M 106M 0 100% /snap/core/16091 /dev/loop4 squashfs 92M 92M 0 100% /snap/gtk-common-themes/1535 /dev/loop5 squashfs 1.5M 1.5M 0 100% /snap/gnome-system-monitor/184 /dev/loop6 squashfs 350M 350M 0 100% /snap/gnome-3-38-2004/143 /dev/loop7 squashfs 219M 219M 0 100% /snap/gnome-3-34-1804/90 /dev/loop9 squashfs 896K 896K 0 100% /snap/gnome-logs/119 /dev/loop15 squashfs 350M 350M 0 100% /snap/gnome-3-38-2004/140 /dev/loop17 squashfs 165M 165M 0 100% /snap/gnome-3-28-1804/194 /dev/loop18 squashfs 128K 128K 0 100% /snap/bare/5 /dev/loop20 squashfs 219M 219M 0 100% /snap/gnome-3-34-1804/93 /dev/loop22 squashfs 165M 165M 0 100% /snap/gnome-3-28-1804/198 /dev/loop24 squashfs 82M 82M 0 100% /snap/gtk-common-themes/1534 /dev/loop26 squashfs 64M 64M 0 100% /snap/core20/2015 tmpfs tmpfs 385M 56K 385M 1% /run/user/1000 /dev/loop27 squashfs 497M 497M 0 100% /snap/gnome-42-2204/132 /dev/loop23 squashfs 896K 896K 0 100% /snap/gnome-logs/121 /dev/loop28 squashfs 512K 512K 0 100% /snap/gnome-characters/791 /dev/loop8 squashfs 497M 497M 0 100% /snap/gnome-42-2204/141 /dev/loop10 squashfs 512K 512K 0 100% /snap/gnome-characters/795 /dev/loop12 squashfs 2.3M 2.3M 0 100% /snap/gnome-calculator/953 /dev/loop2 squashfs 106M 106M 0 100% /snap/core/16202 /dev/loop3 squashfs 1.7M 1.7M 0 100% /snap/gnome-system-monitor/186 /dev/loop11 squashfs 56M 56M 0 100% /snap/core18/2796 /dev/loop21 squashfs 2.3M 2.3M 0 100% /snap/gnome-calculator/955 /dev/loop19 squashfs 56M 56M 0 100% /snap/core18/2812 /dev/loop16 squashfs 75M 75M 0 100% /snap/core22/1033 /dev/loop13 squashfs 64M 64M 0 100% /snap/core20/2105 Messages concerning ext4 filesystem in dmesg: Show mounted filesystems \(real ones only\): findmnt: unrecognized option '--real' Try 'findmnt --help' for more information. Files in neuralgic directories: /var: 9.4G /var/ 5.3G /var/lib 4.6G /var/lib/snapd 3.9G /var/log/journal 3.9G /var/log Archived and active journals take up 3.5G in the file system. /opt/iobroker/backups: 373M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 666M /opt/iobroker/iobroker-data/ 321M /opt/iobroker/iobroker-data/files 255M /opt/iobroker/iobroker-data/backup-objects 67M /opt/iobroker/iobroker-data/files/javascript.admin 48M /opt/iobroker/iobroker-data/files/javascript.admin/static The five largest files in iobroker-data are: 33M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map 26M /opt/iobroker/iobroker-data/states.jsonl 26M /opt/iobroker/iobroker-data/objects.jsonl 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.map 16M /opt/iobroker/iobroker-data/objects.json.migrated USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: '/dev/serial/by-id/': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v16.15.1 /usr/bin/node v16.15.1 /usr/bin/npm 8.11.0 /usr/bin/npx 8.11.0 /usr/bin/corepack 0.10.0 nodejs: Installed: 16.15.1-1nodesource1 Candidate: 18.19.0-1nodesource1 Version table: 18.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages *** 16.15.1-1nodesource1 100 100 /var/lib/dpkg/status 8.10.0~dfsg-2ubuntu0.4 500 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 8.10.0~dfsg-2ubuntu0.2 500 500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 8.10.0~dfsg-2 500 500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.17 admin: 6.12.0 javascript: 7.1.6 Adapters from github: 2 Adapter State + system.adapter.admin.0 : admin : iob-server - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : iob-server - enabled + system.adapter.backitup.0 : backitup : iob-server - enabled + system.adapter.bmw.0 : bmw : iob-server - enabled + system.adapter.cloud.0 : cloud : iob-server - enabled system.adapter.daswetter.0 : daswetter : iob-server - enabled + system.adapter.discovery.0 : discovery : iob-server - enabled system.adapter.dwd.0 : dwd : iob-server - enabled + system.adapter.dysonairpurifier.0 : dysonairpurifier : iob-server - enabled + system.adapter.easee.0 : easee : iob-server - enabled + system.adapter.ecovacs-deebot.0 : ecovacs-deebot : iob-server - enabled system.adapter.feiertage.0 : feiertage : iob-server - enabled + system.adapter.fritzdect.0 : fritzdect : iob-server - enabled + system.adapter.hmip.0 : hmip : iob-server - enabled + system.adapter.homeconnect.0 : homeconnect : iob-server - enabled + system.adapter.hue-extended.0 : hue-extended : iob-server - enabled + system.adapter.hue.0 : hue : iob-server - enabled, port: 443 system.adapter.ical.0 : ical : iob-server - enabled system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iob-server - disabled system.adapter.icons-material-png.0 : icons-material-png : iob-server - disabled system.adapter.icons-mfd-png.0 : icons-mfd-png : iob-server - disabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : iob-server - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iob-server - disabled + system.adapter.info.0 : info : iob-server - enabled + system.adapter.iot.0 : iot : iob-server - enabled + system.adapter.javascript.0 : javascript : iob-server - enabled system.adapter.mobile.0 : mobile : iob-server - disabled + system.adapter.netatmo.0 : netatmo : iob-server - enabled + system.adapter.nuki-extended.0 : nuki-extended : iob-server - enabled + system.adapter.nuki.0 : nuki : iob-server - enabled system.adapter.openweathermap.0 : openweathermap : iob-server - enabled + system.adapter.panasonic-viera.0 : panasonic-viera : iob-server - enabled + system.adapter.ping.0 : ping : iob-server - enabled + system.adapter.ring.0 : ring : iob-server - enabled + system.adapter.simple-api.0 : simple-api : iob-server - enabled, port: 8087, run as: admin + system.adapter.smart-eq.0 : smart-eq : iob-server - enabled + system.adapter.socketio.0 : socketio : iob-server - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.spotify-premium.0 : spotify-premium : iob-server - disabled + system.adapter.tankerkoenig.0 : tankerkoenig : iob-server - enabled + system.adapter.telegram.0 : telegram : iob-server - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.tr-064.0 : tr-064 : iob-server - enabled system.adapter.vis-bars.0 : vis-bars : iob-server - disabled system.adapter.vis-colorpicker.0 : vis-colorpicker : iob-server - disabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : iob-server - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iob-server - disabled system.adapter.vis-icontwo.0 : vis-icontwo : iob-server - disabled + system.adapter.vis-inventwo.0 : vis-inventwo : iob-server - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : iob-server - disabled system.adapter.vis-knob.0 : vis-knob : iob-server - disabled system.adapter.vis-material.0 : vis-material : iob-server - disabled system.adapter.vis-materialdesign.0 : vis-materialdesign : iob-server - disabled system.adapter.vis-metro.0 : vis-metro : iob-server - disabled system.adapter.vis-timeandweather.0 : vis-timeandweather : iob-server - disabled system.adapter.vis-weather.0 : vis-weather : iob-server - disabled system.adapter.vis.0 : vis : iob-server - enabled + system.adapter.web.0 : web : iob-server - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.worx.0 : worx : iob-server - enabled + system.adapter.yahka.0 : yahka : iob-server - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iob-server - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.hue.0 : hue : iob-server - enabled, port: 443 + system.adapter.simple-api.0 : simple-api : iob-server - enabled, port: 8087, run as: admin + system.adapter.socketio.0 : socketio : iob-server - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.telegram.0 : telegram : iob-server - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : iob-server - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.12.0 , installed 6.12.0 Adapter "alexa2" : 3.26.3 , installed 3.26.3 Adapter "backitup" : 2.8.7 , installed 2.8.7 Adapter "bmw" : 2.5.7 , installed 2.6.0 Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "daswetter" : 3.1.11 , installed 3.1.11 Adapter "discovery" : 4.2.0 , installed 4.2.0 Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "dysonairpurifier": 2.5.9 , installed 2.5.9 Adapter "easee" : 1.0.10 , installed 1.0.10 Adapter "ecovacs-deebot": 1.4.13 , installed 1.4.13 Adapter "feiertage" : 1.1.4 , installed 1.1.4 Adapter "fritzdect" : 2.5.9 , installed 2.5.9 Adapter "hmip" : 1.20.0 , installed 1.20.0 Adapter "homeconnect" : 1.1.1 , installed 1.1.1 Adapter "hue" : 3.10.1 , installed 3.10.1 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-png": 1.1.0 , installed 1.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "info" : 2.0.0 , installed 2.0.0 Adapter "iot" : 2.0.11 , installed 2.0.11 Adapter "javascript" : 7.1.6 , installed 7.1.6 Controller "js-controller": 5.0.17 , installed 5.0.17 Adapter "mercedesme" : 0.1.1 , installed 0.1.1 Adapter "mobile" : 1.0.1 , installed 1.0.1 Adapter "netatmo" : 3.1.0 , installed 3.1.0 Adapter "nuki" : 1.6.0 , installed 1.6.0 Adapter "nuki-extended": 2.6.5 , installed 2.6.5 Adapter "openweathermap": 0.4.5 , installed 0.4.5 Adapter "panasonic-viera": 2.0.0 , installed 2.0.0 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "ring" : 5.0.10 , installed 3.2.2 [Updatable] Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smart-eq" : 0.0.4 , installed 0.0.6 Adapter "socketio" : 6.6.0 , installed 6.6.0 Adapter "spotify-premium": 1.3.1 , installed 1.3.1 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 3.0.0 , installed 3.0.0 Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "vis" : 1.5.4 , installed 1.5.4 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-colorpicker": 2.0.3 , installed 2.0.3 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-hqwidgets": 1.4.0 , installed 1.4.0 Adapter "vis-icontwo" : 1.0.0 , installed 1.0.0 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-material" : 0.1.3 , installed 0.1.3 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "vis-weather" : 2.5.6 , installed 2.5.6 Adapter "web" : 6.1.10 , installed 6.1.10 Adapter "worx" : 2.3.4 , installed 2.3.4 Adapter "ws" : 2.5.8 , installed 2.5.8 Adapter "yahka" : 1.0.3 , installed 1.0.3 Objects and States Please stand by - This may take a while Objects: 36971 States: 29630 *** OS-Repositories and Updates *** W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos.influxdata.com/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B W: Failed to fetch https://repos.influxdata.com/ubuntu/dists/bionic/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E W: Some index files failed to download. They have been ignored, or old ones used instead. Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1825 B] Hit:2 http://de.archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease Get:4 https://packages.grafana.com/oss/deb stable InRelease [5984 B] Get:5 https://repos.influxdata.com/ubuntu bionic InRelease [7047 B] Hit:6 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease Hit:8 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease Err:1 http://dl.google.com/linux/chrome/deb stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B Err:4 https://packages.grafana.com/oss/deb stable InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 Err:5 https://repos.influxdata.com/ubuntu bionic InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E Fetched 7047 B in 1s (5895 B/s) Reading package lists... W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos.influxdata.com/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545 W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B W: Failed to fetch https://repos.influxdata.com/ubuntu/dists/bionic/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E W: Some index files failed to download. They have been ignored, or old ones used instead. Pending Updates: 100 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 81137075 2865/iobroker.js-co tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 125 28671 824/mysqld tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 123 28780 791/redis-server 12 tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 22257 456/rpcbind tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 101 22287 459/systemd-resolve tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 81096893 783/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 80457378 29056/cupsd tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 999 34230 1402/influxd tcp 0 0 0.0.0.0:8765 0.0.0.0:* LISTEN 0 29805 663/python tcp 0 0 0.0.0.0:7070 0.0.0.0:* LISTEN 0 28902 766/anydesk tcp 0 0 127.0.0.1:40007 0.0.0.0:* LISTEN 1001 81147331 4068/io.yahka.0 tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 81137082 2865/iobroker.js-co tcp6 0 0 ::1:6379 :::* LISTEN 123 28781 791/redis-server 12 tcp6 0 0 :::111 :::* LISTEN 0 22260 456/rpcbind tcp6 0 0 :::8081 :::* LISTEN 1001 81137183 2884/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 81146340 4035/io.web.0 tcp6 0 0 :::8084 :::* LISTEN 1001 81147056 3985/io.socketio.0 tcp6 0 0 :::51989 :::* LISTEN 1001 81147932 4175/io.nuki-extend tcp6 0 0 :::22 :::* LISTEN 0 81096895 783/sshd tcp6 0 0 :::8086 :::* LISTEN 999 34678 1402/influxd tcp6 0 0 :::8087 :::* LISTEN 1001 81147008 3967/io.simple-api. tcp6 0 0 ::1:631 :::* LISTEN 0 80457377 29056/cupsd tcp6 0 0 :::3000 :::* LISTEN 124 34587 1407/grafana-server tcp6 0 0 :::35107 :::* LISTEN 1001 81146436 4068/io.yahka.0 udp 0 0 127.0.0.53:53 0.0.0.0:* 101 22286 459/systemd-resolve udp 0 0 0.0.0.0:68 0.0.0.0:* 0 81095893 28837/dhclient udp 0 0 0.0.0.0:111 0.0.0.0:* 0 22255 456/rpcbind udp 0 0 0.0.0.0:631 0.0.0.0:* 0 80457386 29057/cups-browsed udp 0 0 0.0.0.0:632 0.0.0.0:* 0 22256 456/rpcbind udp 0 0 0.0.0.0:50001 0.0.0.0:* 0 28903 766/anydesk udp 0 0 192.168.0.20:5353 0.0.0.0:* 1001 81138845 3067/io.tr-064.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 116 25090 656/avahi-daemon: r udp 0 0 0.0.0.0:48439 0.0.0.0:* 116 25092 656/avahi-daemon: r udp6 0 0 :::48975 :::* 116 25093 656/avahi-daemon: r udp6 0 0 :::111 :::* 0 22258 456/rpcbind udp6 0 0 :::632 :::* 0 22259 456/rpcbind udp6 0 0 :::5353 :::* 116 25091 656/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-12-17 16:39:37.301 - info: admin.0 (2884) ==> Connected system.user.admin from ::ffff:192.168.0.32 2023-12-17 16:39:39.585 - info: host.iob-server Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2023-12-17 16:47:37.193 - error: bmw.0 (3115) update failed 2023-12-17 16:47:37.196 - error: bmw.0 (3115) AxiosError: Request failed with status code 403 2023-12-17 16:47:37.196 - error: bmw.0 (3115) {"statusCode":403,"message":"Out of call volume quota. Quota will be replenished in 00:12:23."} ============ Mark until here for C&P ============= iob diag has finished.
-
Ubuntu 18.irgendwas ist tot.
Brauch ich gar nicht weiterlesen.
Installier da was lebendes.
Ich würde ein Debian 12 'Bookworm' empfehlen.
Als Server dann natürlich OHNE Desktop-Umgebung. -
@thomas-braun auch wenn es hier nicht direkt hinpasst: ich bin auf debian bullseye. Ich sollte auf bookworm… Hier im Forum hast Du irgendwo geschrieben, man solle das System komplett neu aufsetzen. Das wäre für mich als Linux Dummy ein Wahnsinn. Gilt Dein Hinweis auf komplette Neuinstallation nur für Raspian Installationen auf einem Raspi? Oder auch für Debian Installationen? Bei mir läuft der Iob in einer VM unter Oracle Virtual Box sehr gut, bisher…
-
@thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
Ich würde ein Debian 12 'Bookworm' empfehlen.
@kkickingereder
oder wenn es unbedingt Ubuntu sein/bleiben muss (warum auch immer), dann kannste ein 'in place' update im Zwei-Schritt-Verfahren, wie hier: https://doku.lrz.de/upgrade-auf-ubuntu-22-04-lts-jammy-11491296.html beschrieben versuchen...@Thomas-Braun hat aber grundsätzlich (wie immer ) Recht: Bookworm wäre das am besten unterstütze OS.
-
@skorpil sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
Gilt Dein Hinweis auf komplette Neuinstallation nur für Raspian Installationen auf einem Raspi?
Ja , gilt primär für die Installation von Raspberry OS 12 'Bookworm'.
Bei Debian waren die Änderungen nicht so gravierend wie bei Raspberry OS. -
Wenn die das wie bei Schnubbibuntu üblich schon alles vom Server geräumt haben wird das mit einem Dist-Upgrade schwierig.
Die Repos müssen aber so oder so aufgeräumt werden. Und der ganze Desktop-Krampf rumpelt dann auch immer noch mit.Ich würde die Zeit sinnvoller in eine Neuinstallation von Debian investieren.
-
Volle Zustimmung!
@thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
schon alles vom Server geräumt haben wird das mit einem Dist-Upgrade
Mist, siehst nicht dran gedacht, dass das oft genug das Problem ist!
Habe ohnehin meine Versuche auf Ubuntu und irgendwelchen "Versucherli's" ebenfalls eingestellt.
Ordentliches Backup und Doku, Neuinstallation und schwups alles wieder i.O.Die meisten (nicht Linux affinen) Leute haben aber wahnsinnige Angst vor Neuinstallationen...
@kkickingereder Du machst Dir das Leben mit einer ordentlichen Debian bookworm Installation definitiv leichter!
-
@thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
@skorpil sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
Gilt Dein Hinweis auf komplette Neuinstallation nur für Raspian Installationen auf einem Raspi?
Ja , gilt primär für die Installation von Raspberry OS 12 'Bookworm'.
Bei Debian waren die Änderungen nicht so gravierend wie bei Raspberry OS.Danke Thomas. Ich bin aber jetzt erst, beim Lesen dieses ganzen threats, darauf gekommen, dass es einen Unterschied macht, ob man Debian oder Raspberry OS installiert hat.
Hier mal der summary von iob diag
======================= SUMMARY ======================= v.2023-10-10 Static hostname: LinuxNeu Icon name: computer-vm Chassis: vm Virtualization: oracle Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.0-25-amd64 Architecture: x86-64 Installation: oracle Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 Recommended versions are nodejs 18.19.0 and npm 10.2.3 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.9G 2.0G 331M 0.0K 1.6G 1.7G Swap: 974M 28M 946M Total: 4.9G 2.0G 1.3G Active iob-Instances: 15 Active repo(s): stable ioBroker Core: js-controller 5.0.17 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : LinuxNeu - enabled, port: 8081, bind: 0.0.0.0, run as: admin Objects: 16217 States: 13635 Size of iob-Database: 33M /opt/iobroker/iobroker-data/objects.jsonl 11M /opt/iobroker/iobroker-data/objects.json.migrated 11M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 5.3M /opt/iobroker/iobroker-data/states.jsonl 1.6M /opt/iobroker/iobroker-data/states.json.migrated 1.6M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
Anregung (oder habe da was übersehen): könntet ihr Profis noch irgendwo mal eine Schritt für Schritt Anleitung zum Update auf Bookworm posten? Und dabei vielleicht die unterschiedlichen Systeme berücksichtigen. Ich hab das zumindest so nicht gefunden.
-
@skorpil sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
Anleitung zum Update auf Bookworm posten?
Schau in meine Threads rein. Hab ich mal irgendwann beschrieben.
-
@thomas-braun aber war das nicht ausschließlich raspian bezogen?
-
Nein, es ist allgemein auf ein Upgrade auf Bookworm bezogen. Zu Raspberry OS steht sogar drin, dass man das dieses Mal besser komplett neuinstalliert.
https://forum.iobroker.net/topic/65655/upgrade-von-debian-11-bullseye-auf-12-bookworm
-
@thomas-braun sorry, dann hatte ich nicht gut gelesen. Danke u. frohe Weihnachten u. DANKE für gute Beratung u. Betreuung von uns allen!
-
Hi,
bring gerade mal alle Systeme auf den aktuellen Stand, Bookworm installiert. Allerdings zeigt er mir bei NPM einen Fehler an.iob fix
+iob nodejs-update
bereits ausgeführt.Nodefixer:
ioBroker nodejs fixer 2023-10-13 Recommended nodejs-version is: 18.19.0 Checking your installation now. Please be patient! Your current setup is: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /home/iobroker/.nodejs-update.sh: line 130: npm: command not found /home/iobroker/.nodejs-update.sh: line 131: npx: command not found /home/iobroker/.nodejs-update.sh: line 147: npm: command not found /home/iobroker/.nodejs-update.sh: line 148: npx: command not found *** nodejs is NOT correctly installed *** We found these nodejs versions available for installation: nodejs: Installed: 18.19.0+dfsg-6~deb12u1 Candidate: 18.19.0+dfsg-6~deb12u1 Version table: *** 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages 100 /var/lib/dpkg/status 18.19.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.2-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.15.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.2-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.13.0+dfsg1-1 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 18.13.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.12.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.11.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.10.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.8.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.7.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.6.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.5.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.4.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.3.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.2.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.1.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.0.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages Your nodejs-Installation seems to be faulty. Shall we try to fix it? Press <y> to continue or any other key to quit Fixing your nodejs setup *** Deleting *** rm: cannot remove '': No such file or directory *** Deleting *** rm: cannot remove '': No such file or directory Wrong paths have been fixed. Run 'iob diag' or 'iob node-fix' again to check if your installation is fine now Nothing to do - Your version is the recommended one. You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands. Please DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation!
Bei Eingabe
npm -v
kommt das hier:pi@iobroker:~ $ npm -v -bash: eval: -v: invalid option eval: usage: eval [arg ...]
Was kann ich hier jetzt tun? War eigentlich alles richtig installiert gewesen und wurde auch richtig im iobroker angezeigt. Wodurch das jetzt passiert ist weiß ich leider nicht......
Das wurde auch bereits ausgeführt
sudo apt update && sudo apt full-upgrade
pi@iobroker:~ $ sudo apt update && sudo apt full-upgrade Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease Hit:5 https://repos.influxdata.com/debian stable InRelease Hit:6 https://apt.grafana.com stable InRelease Hit:7 https://deb.nodesource.com/node_18.x nodistro InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-
sudo apt install nodejs=18.19.0-1nodesource1
-
@thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
sudo apt install nodes=18.19.0-1nodesource1
pi@iobroker:~ $ sudo apt install nodes=18.19.0-1nodesource1 Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package nodes
-
sudo apt install nodejs=18.19.0-1nodesource1
-
-
@thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
iob nodejs-upgrade 18
pi@iobroker:~ $ iob nodejs-upgrade 18 /usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE) iobroker [command]
Aufruf
npm -v
klappt aber wieder, V10.2.3 wird wieder angezeigt.
Was war beim zweiten Befehlsudo apt install nodejs=18.19.0-1nodesource1
anders? Putze gleich nochmal meine Brille, aber sehe da gerade keinen Unterschied, ging aber damit. (Ahhh, hast "js" ergänzt)