@aruttkamp
Na dann gedulde ich mich einfach =D Vielen Dank soweit!
NEWS
Latest posts made by McBeutlin
-
RE: Spotify Adapter Redirect URL problem
-
RE: Spotify Adapter Redirect URL problem
Hi zusammen,
ich habe es heute mit http://127.0.0.1 in den Spotify App Settings versucht. Leider erscheint bei mir auch der Fehler "This redirect URI is not secure. Learn more here." mit einem Port kann ich zwar die Einstellungen speichern, aber beim Versuch der Autenthifizierung im Adapter, komme ich zwar zur Anmelde Page von Spotify, nach "zustimmen" erhalte ich aber keine korrekte URL. Die URL scheint sich gar nicht zu ändern.Gibt es hierzu eine Lösung? Freu mich seit Ewigkeiten darauf den Adapter wieder zu nutzen und jetzt scheitert es daran
-
RE: Webserver nach Node.js Update nicht mehr erreichbar
bevor ich schon wieder was kaputt mach, freue ich mich das es krum läuft
.
-
RE: Webserver nach Node.js Update nicht mehr erreichbar
@thomas-braun said in Webserver nach Node.js Update nicht mehr erreichbar:
Pi
Wie haste den denn angelegt?
Der hat kein eingenes /home bekommen.Pi
HOME=/home/iobrokerMuss gestehen, ich habe keine Ahnung
vermutlich weil ich es nicht besser wusste?
-
RE: Webserver nach Node.js Update nicht mehr erreichbar
@thomas-braun
es läuft wieder! Ihr seid die Besten
Vielen Dank.Vermutlich war ich einfach nicht fähig alles korrekt zu updaten.
Danke nochmal!
-
Webserver nach Node.js Update nicht mehr erreichbar
Hi zusammen,
erstmal ein großes Danke für die viele Hilfe, die ich hier bereits gefunden habe für alle möglichne Themen
Nun stelle ich meinen ersten Post hier rein, weil ich nicht mehr weiter weiß, und jegliche Suche erfolglos war...Ich bin Laie was Linux etc angeht. Bis jetzt lief es mit copy+paste der jeweiligen richtig aussehenden prompts aber ganz gutHintergrund:
Der Server lief stabil. Da ich auf meinem Win PC eine Slave Instanz installiert habe, wollte ich beide Instanzen auf die selben Node.js Version bringen.
Meine eigentliche Instanz lief (meine ich) auf einer v16. Das Update lief sauber durch, danach konnte ich allerdings nicht mehr die Admin übersicht erreichen (port 8081). Nun habe ich über Backup Restore und Upgrade von allen möglichen Sachen einiges Versucht. Auch ein Downgrade auf Node.js v16 lief nicht durch, da ich zwar die v16 installieren konnte, er aber dann wohl Pfad probleme hatte...
Letztendlich kann ich über den Port 8081 nichts erreichen. Port 8082 gibt mir zwar die gewohnten Icons wie "Flot Editor" allerdings kommen dort wohl kein Daten mehr zur Visualisierung an.Hier mal der "iobroker diag" output:
The state system.host.Pi.versions.nodeNewestNext was not found!
The state system.host.Pi.versions.npmNewestNext was not found!Skript v.2024-08-12 *** BASE SYSTEM *** Static hostname: Pi Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 OS is similar to: Model : Raspberry Pi 4 Model B Rev 1.1 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 14:41:01 up 33 min, 3 users, load average: 0.91, 0.66, 0.63 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Mon 2024-09-30 14:41:01 CEST Universal time: Mon 2024-09-30 12:41:01 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': Pi HOME=/home/iobroker GROUPS=Pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** Display-Server-Setup *** Display-Server: true Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 564M 1.8G 19M 1.5G 3.1G Swap: 99M 0B 99M Total: 3.9G 564M 1.9G Active iob-Instances: 3 3794 M total memory 564 M used memory 812 M active memory 949 M inactive memory 1768 M free memory 163 M buffer memory 1297 M swap cache 99 M total swap 0 M used swap 99 M free swap *** top - Table Of Processes *** top - 14:41:02 up 33 min, 3 users, load average: 0.92, 0.67, 0.64 Tasks: 203 total, 1 running, 202 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.9 us, 2.9 sy, 0.0 ni, 94.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 3794.3 total, 1768.4 free, 564.6 used, 1461.4 buff/cache MiB Swap: 100.0 total, 100.0 free, 0.0 used. 3135.1 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 29G 6.7G 22G 24% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 759M 1.3M 758M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 255M 31M 225M 13% /boot tmpfs tmpfs 380M 20K 380M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Mon Sep 30 14:07:20 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:3E:55:80 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 115200 console=tty1 root=PARTUUID=3ad5b54b-02 rootfstype=ext4 fsck.repair=yes rootwait [Mon Sep 30 14:07:21 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Mon Sep 30 14:07:21 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Mon Sep 30 14:07:23 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. Show mounted filesystems: 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: 1.9G /var/ 1.1G /var/log/journal/0ac622987f2447a3bb42ffe657fb0173 1.1G /var/log/journal 1.1G /var/log 571M /var/cache Archived and active journals take up 1.0G in the file system. /opt/iobroker/backups: 116M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 287M /opt/iobroker/iobroker-data/ 129M /opt/iobroker/iobroker-data/files 84M /opt/iobroker/iobroker-data/backup-objects 52M /opt/iobroker/iobroker-data/history 52M /opt/iobroker/iobroker-data/files/javascript.admin The five largest files in iobroker-data are: 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map 12M /opt/iobroker/iobroker-data/objects.jsonl 8.3M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.312d98a8.chunk.js.map 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.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': /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0056-if00-port0 /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2410311-if00 *** NodeJS-Installation *** /usr/bin/nodejs v20.17.0 /usr/bin/node v20.17.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 nodejs: Installed: 20.17.0-1nodesource1 Candidate: 20.17.0-1nodesource1 Version table: *** 20.17.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 20.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 12.22.12~dfsg-1~deb11u5 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.12~dfsg-1~deb11u4 500 500 http://deb.debian.org/debian bullseye/main arm64 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: 4.0.24 admin: 6.3.5 javascript: 7.0.3 nodejs modules from github: 1 | `-- UNMET OPTIONAL DEPENDENCY socksv5@https://github.com/christophgysin/socksv5/tarball/7b4eba5b30ecdb6d9e656dcfede1e6884dc7c6d9 Adapter State system.adapter.admin.0 : admin : Pi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : Pi - enabled system.adapter.deconz.0 : deconz : Pi - disabled, port: 80 system.adapter.denon.0 : denon : Pi - disabled system.adapter.discovery.0 : discovery : Pi - disabled system.adapter.fakeroku.0 : fakeroku : Pi - disabled system.adapter.flot.0 : flot : Pi - disabled system.adapter.harmony.0 : harmony : Pi - disabled system.adapter.history.0 : history : Pi - disabled system.adapter.jarvis.0 : jarvis : Pi - disabled system.adapter.javascript.0 : javascript : Pi - disabled system.adapter.net-tools.0 : net-tools : Pi - disabled system.adapter.ping.0 : ping : Pi - disabled system.adapter.samsung_tizen.0 : samsung_tizen : Pi - disabled, port: 8002 system.adapter.smartmeter.0 : smartmeter : Pi - disabled system.adapter.sonos.0 : sonos : Pi - disabled system.adapter.sourceanalytix.0 : sourceanalytix : Pi - disabled system.adapter.telegram.0 : telegram : Pi - disabled, port: 8443, bind: 0.0.0.0 system.adapter.vis.0 : vis : Pi - disabled + system.adapter.web.0 : web : Pi - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.yamaha.0 : yamaha : Pi - disabled + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : Pi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : Pi - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): beta Installed ioBroker-Instances Used repository: beta Adapter "admin" : 7.1.5 , installed 6.3.5 [Updatable] Adapter "backitup" : 3.0.25 , installed 2.6.23 [Updatable] Adapter "deconz" : 1.5.0 , installed 1.3.21 [Updatable] Adapter "denon" : 1.15.12 , installed 1.15.5 [Updatable] Adapter "discovery" : 5.0.0 , installed 3.1.0 [Updatable] Adapter "fakeroku" : 0.3.0 , installed 0.2.2 [Updatable] Adapter "flot" : 1.12.0 , installed 1.12.0 Adapter "harmony" : 1.5.0 , installed 1.3.0 [Updatable] Adapter "history" : 3.0.1 , installed 2.2.6 [Updatable] Adapter "jarvis" : 3.2.0-rc.5, installed 3.1.2 [Updatable] Adapter "javascript" : 8.8.3 , installed 7.0.3 [Updatable] Controller "js-controller": 6.0.11 , installed 4.0.24 [Updatable] Adapter "net-tools" : 1.0.11 , installed 0.2.0 [Updatable] Adapter "ping" : 1.7.8 , installed 1.6.2 [Updatable] Adapter "samsung_tizen": 1.1.0 , installed 1.0.0 [Updatable] Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "smartmeter" : 3.4.0 , installed 3.4.0 Adapter "socketio" : 6.7.1 , installed 6.5.5 [Updatable] Adapter "sonos" : 3.0.0 , installed 2.3.1 [Updatable] Adapter "sourceanalytix": 0.4.14 , installed 0.4.14 Adapter "telegram" : 3.9.0 , installed 1.16.0 [Updatable] Adapter "vis" : 1.5.6 , installed 1.4.16 [Updatable] Adapter "web" : 6.3.1 , installed 6.1.2 [Updatable] Adapter "ws" : 2.6.2 , installed 2.5.5 [Updatable] Adapter "yamaha" : 0.5.4 , installed 0.5.3 [Updatable] Objects and States Please stand by - This may take a while Objects: 2606 States: 1978 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://phoscon.de/apt/deconz bullseye InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 http://deb.debian.org/debian bullseye-updates InRelease Hit:6 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Pending Updates: 0 *** 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:631 0.0.0.0:* LISTEN 0 15008 598/cupsd tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 0 3902 608/vncserver-x11-c tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 60614 25300/iobroker.js-c tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 60611 25300/iobroker.js-c tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 14977 613/sshd: /usr/sbin tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1000 3824 403/deCONZ tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1000 15520 403/deCONZ tcp6 0 0 ::1:631 :::* LISTEN 0 15007 598/cupsd tcp6 0 0 :::5900 :::* LISTEN 0 3901 608/vncserver-x11-c tcp6 0 0 :::8082 :::* LISTEN 1001 60753 25479/io.web.0 tcp6 0 0 :::22 :::* LISTEN 0 14979 613/sshd: /usr/sbin udp 0 0 0.0.0.0:68 0.0.0.0:* 0 1699 878/dhcpcd udp 0 0 0.0.0.0:45444 0.0.0.0:* 108 1599 397/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 1597 397/avahi-daemon: r udp 0 0 0.0.0.0:1900 0.0.0.0:* 1000 15162 403/deCONZ udp6 0 0 :::546 :::* 0 15043 878/dhcpcd udp6 0 0 :::5353 :::* 108 1598 397/avahi-daemon: r udp6 0 0 :::44632 :::* 108 1600 397/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-09-30 14:40:42.622 - info: host.Pi Delete state "system.host.Pi.versions.nodeCurrent" 2024-09-30 14:40:42.625 - info: host.Pi 21 instances found 2024-09-30 14:40:42.662 - info: host.Pi starting 3 instances 2024-09-30 14:40:42.744 - info: host.Pi Some obsolete host states deleted. 2024-09-30 14:40:42.802 - info: host.Pi instance system.adapter.admin.0 started with pid 25340 2024-09-30 14:40:45.325 - info: admin.0 (25340) starting. Version 6.3.5 in /opt/iobroker/node_modules/iobroker.admin, node: v20.17.0, js-controller: 4.0.24 2024-09-30 14:40:45.385 - info: admin.0 (25340) requesting all states 2024-09-30 14:40:45.386 - info: admin.0 (25340) requesting all objects 2024-09-30 14:40:46.731 - info: host.Pi instance system.adapter.backitup.0 started with pid 25411 2024-09-30 14:40:47.521 - info: admin.0 (25340) received all objects 2024-09-30 14:40:47.551 - error: admin.0 (25340) Cannot create web-server: TypeError: Cannot read properties of undefined (reading 'createServerAsync') 2024-09-30 14:40:47.555 - info: admin.0 (25340) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-09-30 14:40:48.160 - info: admin.0 (25340) Request actual repository... 2024-09-30 14:40:48.188 - warn: admin.0 (25340) get state error: DB closed 2024-09-30 14:40:48.189 - warn: admin.0 (25340) get state error: DB closed 2024-09-30 14:40:48.291 - warn: admin.0 (25340) Cannot check node.js/npm version 2024-09-30 14:40:48.298 - info: admin.0 (25340) terminating http server on port 8081 2024-09-30 14:40:48.383 - error: host.Pi instance system.adapter.admin.0 terminated by request of the instance itself and will not be restarted, before user restarts it. 2024-09-30 14:40:48.384 - info: host.Pi Do not restart adapter system.adapter.admin.0 because desired by instance 2024-09-30 14:40:49.727 - info: backitup.0 (25411) starting. Version 2.6.23 in /opt/iobroker/node_modules/iobroker.backitup, node: v20.17.0, js-controller: 4.0.24 2024-09-30 14:40:49.842 - info: backitup.0 (25411) [iobroker] backup will be activated at 02:40 every 1 day(s) 2024-09-30 14:40:50.714 - info: host.Pi instance system.adapter.web.0 started with pid 25479 2024-09-30 14:40:53.352 - info: web.0 (25479) starting. Version 6.1.2 in /opt/iobroker/node_modules/iobroker.web, node: v20.17.0, js-controller: 4.0.24 2024-09-30 14:40:53.740 - info: web.0 (25479) socket.io server listening on port 8082 2024-09-30 14:40:53.759 - info: web.0 (25479) http server listening on port 8082
======================= SUMMARY ======================= v.2024-08-12 Static hostname: Pi Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Installation: native Kernel: aarch64 Userland: 64 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 21 Nodejs-Installation: /usr/bin/nodejs v20.17.0 /usr/bin/node v20.17.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 487M 1.8G 18M 1.5G 3.2G Swap: 99M 0B 99M Total: 3.9G 487M 1.9G Active iob-Instances: 3 Active repo(s): beta ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: system.adapter.admin.0 : admin : Pi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : Pi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 2606 States: 1978 Size of iob-Database: 12M /opt/iobroker/iobroker-data/objects.jsonl 2.3M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
Vielleicht seht ihr hier direkt ein Fehler?
Vielen Dank schonmal im Voraus!
Gruß,
Frederick