NEWS
NPM verschwunden ,Keine Änderungen in der Konsole möglich
-
@burgsteff sagte in NPM verschwunden ,Keine Änderungen in der Konsole möglich:
Somit sind alle Hilfestellung bisher nutzlos, da ich ja nicht mal die Rechte für irgendwas habe.
Der user 'burgsteff' hat offenbar keine ausreichenden Rechte an dem System herumzufummeln.
Die Ausgabe voniob diag
in der Langfassung schaut wie aus?
-
burgsteff@ioBroker:~$ iob diag [sudo] password for burgsteff: Sorry, user burgsteff is not allowed to execute '/usr/bin/curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh' as iobroker on ioBroker. burgsteff@ioBroker:~$
Ich muss auch hier nochmals das Passwort eingeben, was ich dann mache, und dann kommt wieder die Meldung
-
-
burgsteff@ioBroker:~$ groups burgsteff cdrom floppy audio dip video plugdev users netdev burgsteff@ioBroker:~$
-
@burgsteff wie hast du denn iobroker installiert ohne in die Gruppe iobroker aufgenommen zu werden?
-
Der fehlt ja auch in allen wichtigen Gruppen.
Als root:usermod -aG adm,dialout,sudo,input,iobroker burgsteff
Dann den burgsteff einmal komplett ausloggen.
Danach sollte z. B. dann auchiob diag
funktionieren.
-
@homoran Ehrlich gesagt ist das schon paar Jährchen her und es gab nie Probleme, daher kann ich das nicht genau sagen. Hatte den iobroker erst auf nem Pi, dann vor zwei Jahren ca. auf Proxmox umgezogen und seit dem läuft es meist ganz gut:-)
-
@burgsteff sagte in NPM verschwunden ,Keine Änderungen in der Konsole möglich:
es gab nie Probleme,
aber jetzt!
@burgsteff sagte in NPM verschwunden ,Keine Änderungen in der Konsole möglich:
dann vor zwei Jahren ca. auf Proxmox umgezogen
aber doch hoffentlich neu installiert und nicht nur kopiert!?
daher bitte die Langfassung von
iob diag
nach den Änderungen, die @thomas-braun gezeigt hat -
@thomas-braun sorry, ich stell mich da gerade echt blöd an. fast schon peinlich....
Als root bedeutet für mich was genau? Also mir ist schon klar das dass die Rechte sind aber wie mache ich das konkret in der Konsole wenn ich da jetzt mit meinem Benutzer burgsteff angemeldet bin.
-
-
burgsteff@ioBroker:~$ su Password: root@ioBroker:/home/burgsteff# usermod -aG adm,dialout,sudo,input,iobroker bash: usermod: command not found root@ioBroker:/home/burgsteff#
command not found?
-
Keine Ahnung was das da für eine Baustelle bei dir ist.
iob diag
sagt? Ausnahmsweise mal als root, damit man wenigstens mal sieht in welcher Umgebung du da unterwegs bist.
-
======================= SUMMARY ======================= v.2024-05-22 Static hostname: ioBroker Icon name: computer-vm Chassis: vm 🖴 Virtualization: kvm Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-23-amd64 Architecture: x86-64 Hardware Vendor: QEMU Hardware Model: Standard PC _i440FX + PIIX, 1996_ Firmware Version: rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org Installation: kvm Kernel: x86_64 Userland: 64 bit Timezone: US/Eastern (EDT, -0400) User-ID: 0 Display-Server: false Boot Target: graphical.target Pending OS-Updates: 1 Pending iob updates: 3 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 npm: N/A npx: N/A corepack: N/A Recommended versions are nodejs 20.17.0 and npm 10.8.2 *** nodejs is NOT correctly installed *** Wrong installation path detected. This needs to be fixed. Please execute iobroker nodejs-update to fix these errors. MEMORY: total used free shared buff/cache available Mem: 4.1G 382M 3.4G 528K 574M 3.7G Swap: 1.0G 0B 1.0G Total: 5.1G 382M 4.4G Active iob-Instances: 1 Upgrade policy: none ioBroker Core: js-controller 6.0.9 admin 7.0.22 ioBroker Status: iobroker is not running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: system.adapter.admin.0 : admin : ioBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.web.0 : web : ioBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 6488 States: 5263 Size of iob-Database: 24M /opt/iobroker/iobroker-data/objects.jsonl 8.9M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
Die Langfassung.
Sitzt du an der Ostküste der USA? -
Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: ioBroker Icon name: computer-vm Chassis: vm 🖴 Virtualization: kvm Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-23-amd64 Architecture: x86-64 Hardware Vendor: QEMU Hardware Model: Standard PC _i440FX + PIIX, 1996_ Firmware Version: rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org model name : QEMU Virtual CPU version 2.5+ Docker : false Virtualization : kvm Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 11:22:19 up 3:01, 3 users, load average: 0.04, 0.06, 0.04 CPU threads: 4 *** Time and Time Zones *** Local time: Sun 2024-08-25 11:22:20 EDT Universal time: Sun 2024-08-25 15:22:20 UTC RTC time: Sun 2024-08-25 15:22:20 Time zone: US/Eastern (EDT, -0400) System clock synchronized: no NTP service: n/a RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': root HOME=/root GROUPS=root User that is running 'js-controller': js-controller is not running *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 4.1G 366M 3.4G 528K 574M 3.7G Swap: 1.0G 0B 1.0G Total: 5.1G 366M 4.4G Active iob-Instances: 1 3914 M total memory 350 M used memory 341 M active memory 171 M inactive memory 3247 M free memory 70 M buffer memory 477 M swap cache 974 M total swap 0 M used swap 974 M free swap *** top - Table Of Processes *** top - 11:22:20 up 3:01, 3 users, load average: 0.04, 0.06, 0.04 Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 33.3 sy, 0.0 ni, 66.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 3914.7 total, 3246.2 free, 351.1 used, 548.3 buff/cache MiB Swap: 975.0 total, 975.0 free, 0.0 used. 3563.6 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. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.9G 0 1.9G 0% /dev tmpfs tmpfs 392M 516K 391M 1% /run /dev/sda1 ext4 31G 6.4G 23G 22% / tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 392M 0 392M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Sun Aug 25 08:21:11 2024] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none. [Sun Aug 25 08:21:11 2024] EXT4-fs (sda1): re-mounted. Quota mode: none. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda1 ext4 rw,relatime,errors=remount-ro |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime | `-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime |-/proc proc proc rw,nosuid,nodev,noexec,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13260 | `-/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime |-/dev udev devtmpfs rw,nosuid,relatime,size=1981136k,nr_inodes=495284,mode=755,inode64 | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev,inode64 | |-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime | `-/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M `-/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=400872k,mode=755,inode64 |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64 |-/run/credentials/systemd-sysctl.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 |-/run/credentials/systemd-sysusers.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime |-/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=400868k,nr_inodes=100217,mode=700,uid=1000,gid=1000,inode64 `-/run/credentials/systemd-tmpfiles-setup.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 Files in neuralgic directories: /var: 712M /var/ 316M /var/cache 310M /var/cache/apt 240M /var/log 235M /var/cache/apt/archives Archived and active journals take up 224.3M in the file system. /opt/iobroker/backups: 35M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 839M /opt/iobroker/iobroker-data/ 748M /opt/iobroker/iobroker-data/files 441M /opt/iobroker/iobroker-data/files/javascript.admin 409M /opt/iobroker/iobroker-data/files/javascript.admin/static 408M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 27M /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.ce422ec2.js.map 24M /opt/iobroker/iobroker-data/objects.jsonl 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map 22M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.js.map 9.0M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.js 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' *** NodeJS-Installation *** /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 npm: N/A npx: N/A corepack: N/A *** nodejs is NOT correctly installed *** nodejs: Installed: 18.19.0+dfsg-6~deb12u2 Candidate: 18.19.0+dfsg-6~deb12u2 Version table: *** 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 100 /var/lib/dpkg/status 18.19.0+dfsg-6~deb12u1 500 500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x bookworm/main amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is not running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 6.0.9 admin: 7.0.22 javascript: 8.7.6 nodejs modules from github: 0 Adapter State system.adapter.admin.0 : admin : ioBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup : ioBroker - disabled system.adapter.flot.0 : flot : ioBroker - enabled system.adapter.history.0 : history : ioBroker - disabled system.adapter.hm-rega.0 : hm-rega : ioBroker - enabled system.adapter.hm-rpc.0 : hm-rpc : ioBroker - enabled, port: 0 system.adapter.hm-rpc.1 : hm-rpc : ioBroker - enabled, port: 0 system.adapter.hm-rpc.2 : hm-rpc : ioBroker - enabled, port: 0 system.adapter.icons-mfd-png.0 : icons-mfd-png : ioBroker - disabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: ioBroker - disabled system.adapter.javascript.0 : javascript : ioBroker - enabled system.adapter.modbus.0 : modbus : ioBroker - enabled system.adapter.modbus.1 : modbus : ioBroker - disabled system.adapter.mqtt.0 : mqtt : ioBroker - enabled, port: 1883, bind: 0.0.0.0 system.adapter.semp.0 : semp : ioBroker - enabled system.adapter.tibber.0 : tibber : ioBroker - enabled system.adapter.tibberconnect.0 : tibberconnect : ioBroker - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : ioBroker - disabled system.adapter.vis-icontwo.0 : vis-icontwo : ioBroker - disabled system.adapter.vis-inventwo.0 : vis-inventwo : ioBroker - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : ioBroker - disabled system.adapter.vis-justgage.0 : vis-justgage : ioBroker - disabled system.adapter.vis-metro.0 : vis-metro : ioBroker - disabled system.adapter.vis-plumb.0 : vis-plumb : ioBroker - disabled system.adapter.vis-rgraph.0 : vis-rgraph : ioBroker - disabled system.adapter.vis-timeandweather.0 : vis-timeandweather : ioBroker - disabled system.adapter.vis-weather.0 : vis-weather : ioBroker - disabled system.adapter.vis.0 : vis : ioBroker - enabled system.adapter.web.0 : web : ioBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : ioBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.hm-rpc.0 : hm-rpc : ioBroker - enabled, port: 0 system.adapter.hm-rpc.1 : hm-rpc : ioBroker - enabled, port: 0 system.adapter.hm-rpc.2 : hm-rpc : ioBroker - enabled, port: 0 system.adapter.mqtt.0 : mqtt : ioBroker - enabled, port: 1883, bind: 0.0.0.0 system.adapter.web.0 : web : ioBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories ┌─────────┬────────────────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼────────────────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'Stable (default)' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'Beta (latest)' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴────────────────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): Stable (default) Upgrade policy: none Installed ioBroker-Instances Used repository: Stable (default) Adapter "admin" : 7.0.23 , installed 7.0.22 [Updatable] Adapter "backitup" : 3.0.19 , installed 3.0.16 [Updatable] Adapter "flot" : 1.12.0 , installed 1.12.0 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "hm-rega" : 5.0.0 , installed 4.0.0 [Updatable] Adapter "hm-rpc" : 1.17.0 , installed 1.17.0 Adapter "icons-mfd-png": 1.2.1 , installed 1.2.1 Adapter "icons-open-icon-library-png": 0.1.2, installed 0.1.2 Adapter "javascript" : 8.7.6 , installed 8.7.6 Controller "js-controller": 6.0.9 , installed 6.0.9 Adapter "modbus" : 6.2.3 , installed 6.2.3 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "node-red" : 5.2.1 , installed 5.2.1 Adapter "semp" : 1.4.5 , installed 1.4.5 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "vis-hqwidgets": 1.5.1 , installed 1.5.1 Adapter "vis-icontwo" : 1.5.0 , installed 1.5.0 Adapter "vis-inventwo" : 3.3.4 , installed 3.3.4 Adapter "vis-jqui-mfd" : 1.1.1 , installed 1.1.1 Adapter "vis-justgage" : 2.1.7 , installed 2.1.7 Adapter "vis-materialdesign": 0.5.9, installed 0.5.9 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "vis-weather" : 2.5.9 , installed 2.5.9 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "ws" : 2.6.2 , installed 2.6.2 Objects and States Please stand by - This may take a while Objects: 6488 States: 5263 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org/debian-security bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_18.x bookworm InRelease Reading package lists... Pending Updates: 1 *** 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 14648 519/sshd: /usr/sbin tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 14255 1/init tcp6 0 0 :::22 :::* LISTEN 0 14650 519/sshd: /usr/sbin tcp6 0 0 :::111 :::* LISTEN 0 1566 1/init udp 0 0 0.0.0.0:68 0.0.0.0:* 0 15818 437/dhclient udp 0 0 0.0.0.0:111 0.0.0.0:* 0 347 1/init udp6 0 0 :::111 :::* 0 1567 1/init *** Log File - Last 25 Lines *** 2024-08-25 10:33:26.944 - info: javascript.0 (2261) terminating 2024-08-25 10:33:26.951 - info: mqtt.0 (2350) terminating 2024-08-25 10:33:26.957 - info: modbus.0 (2366) terminating 2024-08-25 10:33:26.959 - info: tibber.0 (2381) terminating 2024-08-25 10:33:26.962 - info: vis-inventwo.0 (2396) terminating 2024-08-25 10:33:26.965 - info: semp.0 (2456) terminating 2024-08-25 10:33:26.976 - info: admin.0 (2962) terminating 2024-08-25 10:33:27.288 - info: host.ioBroker instance system.adapter.tibber.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.289 - info: host.ioBroker instance system.adapter.semp.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.307 - info: host.ioBroker instance system.adapter.javascript.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.384 - info: host.ioBroker instance system.adapter.vis-inventwo.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.384 - info: host.ioBroker instance system.adapter.mqtt.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.482 - info: host.ioBroker instance system.adapter.modbus.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.509 - info: host.ioBroker instance system.adapter.hm-rpc.1 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.509 - info: host.ioBroker instance system.adapter.tibberconnect.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.521 - info: host.ioBroker instance system.adapter.admin.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.575 - info: host.ioBroker stopInstance timeout system.adapter.web.0 killing pid 2426 2024-08-25 10:33:27.600 - info: host.ioBroker instance system.adapter.hm-rpc.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.600 - info: host.ioBroker instance system.adapter.hm-rpc.2 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.633 - info: host.ioBroker instance system.adapter.hm-rega.0 terminated with code 0 (NO_ERROR) 2024-08-25 10:33:27.633 - info: host.ioBroker All instances are stopped. 2024-08-25 10:33:27.668 - warn: host.ioBroker instance system.adapter.web.0 terminated due to SIGKILL 2024-08-25 10:33:27.668 - info: host.ioBroker instance system.adapter.web.0 terminated with code null () 2024-08-25 10:33:27.668 - info: host.ioBroker All instances are stopped. 2024-08-25 10:33:27.812 - info: host.ioBroker terminated
Wohne in Baden- Württemberg
-
@burgsteff sagte in NPM verschwunden ,Keine Änderungen in der Konsole möglich:
Wohne in Baden- Württemberg
dann wäre zumindest da
@burgsteff sagte in NPM verschwunden ,Keine Änderungen in der Konsole möglich:
Timezone: US/Eastern (EDT, -0400)
erwas zu korrigieren
-
@burgsteff sagte in NPM verschwunden ,Keine Änderungen in der Konsole möglich:
Wohne in Baden- Württemberg
Und seit wann gilt da die
Time zone: US/Eastern
?
Da ist aber noch mehr krumm und schief...timedatectl set-timezone Europe/Berlin systemctl set-default multi-user.target
iob nodejs-update
Dann noch
apt update apt install passwd sudo
-
root@ioBroker:/home/burgsteff# timedatectl set-timezone Europe/Berlin systemctl set-default mutli-user.target Failed to set default target: Unit file mutli-user.target does not exist. root@ioBroker:/home/burgsteff#
Hmmm...
-
root@ioBroker:/home/burgsteff# iob nodejs-update iobroker nodejs-update [<major-version>] Upgrade the Node.JS installation to the current LTS Options: --help Show help [boolean] root@ioBroker:/home/burgsteff#
-
systemctl set-default multi-user.target iob fix