NEWS
Admin startet nicht mehr
-
@iced112 Bitte immer mit Ein- und Ausgaben in Codetags posten...
Fehlt noch die Ausgabe zu:iobroker diag
Edit: und Dein Admin läuft ja auch nicht !
-
======== Start marking the full check here ========= Skript v.2022-12-13 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.4 Architecture: armv7l Docker: false Virtualization: none Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 20:11:20 up 10:42, 2 users, load average: 1.18, 1.03, 0.69 CPU threads: 4 *** Time and Time Zones *** Sun Dec 25 19:11:20 UTC 2022 Sun Dec 25 20:11:20 CET 2022 CET +0100 Europe/Berlin *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 1.9G 1.2G 224M 0.0K 468M 703M Swap: 99M 29M 70M Total: 2.0G 1.2G 295M 1872 M total memory 1179 M used memory 266 M active memory 1244 M inactive memory 224 M free memory 96 M buffer memory 372 M swap cache 99 M total swap 29 M used swap 70 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 29G 6.2G 22G 22% / devtmpfs devtmpfs 776M 0 776M 0% /dev tmpfs tmpfs 937M 0 937M 0% /dev/shm tmpfs tmpfs 375M 828K 374M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 253M 50M 203M 20% /boot tmpfs tmpfs 188M 0 188M 0% /run/user/1000 Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro Files in neuralgic directories: /var: 2.5G /var/ 2.2G /var/log/journal/25070aeb79f44c94a7f7bcc85e4ba968 2.2G /var/log/journal 2.2G /var/log 138M /var/cache /opt/iobroker/backups: 74M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 618M /opt/iobroker/iobroker-data/ 294M /opt/iobroker/iobroker-data/files 249M /opt/iobroker/iobroker-data/backup-objects 74M /opt/iobroker/iobroker-data/files/vis.0 48M /opt/iobroker/iobroker-data/files/javascript.admin The five largest files in iobroker-data are: 42M /opt/iobroker/iobroker-data/states.jsonl 34M /opt/iobroker/iobroker-data/objects.jsonl 12M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/790.1eb1f33b.chunk.js.map 8.9M /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.7de3299d.chunk.js.map 8.0M /opt/iobroker/iobroker-data/backup-objects/2022-12-24_18-41_states.jsonl.gz *** NodeJS-Installation *** /usr/bin/nodejs v16.16.0 /usr/bin/node v16.16.0 /usr/bin/npm 8.11.0 nodejs: Installed: 16.16.0-deb-1nodesource1 Candidate: 16.19.0-deb-1nodesource1 Version table: 16.19.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages *** 16.16.0-deb-1nodesource1 100 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages Temp directories causing npm8 problem: 125 *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.23 admin: 6.2.23 npm ERR! code ELSPROBLEMS npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: buffer-shims@1.0.0 /opt/iobroker/node_modules/buffer-shims npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript npm ERR! extraneous: decimal.js@10.4.1 /opt/iobroker/node_modules/decimal.js npm ERR! extraneous: futoin-hkdf@1.4.3 /opt/iobroker/node_modules/futoin-hkdf npm ERR! extraneous: homebridge-plugin-wrapper@3.2.0 /opt/iobroker/node_modules/homebridge-plugin-wrapper npm ERR! invalid: iobroker.javascript@6.1.4 /opt/iobroker/node_modules/iobroker.javascript npm ERR! extraneous: jsonata@1.8.6 /opt/iobroker/node_modules/jsonata npm ERR! extraneous: mock-require@3.0.3 /opt/iobroker/node_modules/mock-require npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: node-persist@0.0.11 /opt/iobroker/node_modules/node-persist npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors npm ERR! extraneous: string-argv@0.3.1 /opt/iobroker/node_modules/string-argv npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2 npm ERR! extraneous: typescript@4.7.4 /opt/iobroker/node_modules/typescript npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-12-25T19_11_31_254Z-debug-0.log Adapters from github: 0 Enabled adapters with bindings + system.adapter.hue.0 : hue : ioBroker - enabled, port: 443 + system.adapter.lgtv11.0 : lgtv11 : ioBroker - enabled, port: 8080 + system.adapter.shelly.0 : shelly : ioBroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.web.0 : web : ioBroker - 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): stable ioBroker-Instances Used repository: stable Adapter "accuweather" : 1.2.1 , installed 1.2.4 Adapter "admin" : 6.3.5 , installed 6.2.23 [Updatable] Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "backitup" : 2.5.9 , installed 2.5.9 Adapter "bring" : 1.8.1 , installed 1.8.1 Adapter "chromecast" : 2.3.1 , installed 2.3.1 Adapter "daswetter" : 3.1.4 , installed 3.1.4 Adapter "denon" : 1.13.4 , installed 1.13.4 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "fb-checkpresence": 1.1.20, installed 1.1.20 Adapter "followthesun" : 0.4.0 , installed 0.4.0 Adapter "ham" : 5.3.1 , installed 5.3.1 Adapter "harmony" : 1.2.2 , installed 1.2.2 Adapter "heos" : 1.10.0 , installed 1.10.0 Adapter "hue" : 3.7.1 , installed 3.7.1 Adapter "hue-extended" : 2.0.0 , installed 2.0.0 Adapter "ical" : 1.13.2 , installed 1.13.2 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-mfd-png": 1.1.0 , installed 1.1.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "lgtv" : 1.1.10 , installed 1.1.10 Adapter "lgtv11" : 1.0.5 , installed 1.0.5 Adapter "meross" : 1.14.0 , installed 1.14.0 Adapter "panasonic-viera": 2.0.0 , installed 2.0.0 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "shelly" : 6.0.0 , installed 6.0.0 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 4.2.0 , installed 6.1.8 Adapter "spotify-premium": 1.2.1 , installed 1.2.2 Adapter "telegram" : 1.15.2 , installed 1.14.1 [Updatable] Adapter "tr-064" : 4.2.17 , installed 4.2.16 [Updatable] Adapter "trashschedule": 2.0.3 , installed 2.0.3 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-hqwidgets": 1.3.0 , installed 1.3.0 Adapter "vis-icontwo" : 0.90.0 , installed 0.90.0 Adapter "vis-inventwo" : 3.3.1 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 4.3.0 , installed 5.2.4 Adapter "ws" : 1.3.0 , installed 2.1.3 Adapter "yr" : 5.3.0 , installed 5.3.0 Objects and States Please stand by - This may take a while Objects: 26610 States: 22287 *** OS-Repositories and Updates *** Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Pending Updates: 99 *** 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 13689 539/sshd: /usr/sbin tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 197095 13947/iobroker.js-c tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 197102 13947/iobroker.js-c tcp6 0 0 :::22 :::* LISTEN 0 13691 539/sshd: /usr/sbin tcp6 0 0 :::61991 :::* LISTEN 1001 200063 14693/io.harmony.0 tcp6 0 0 :::8082 :::* LISTEN 1001 202865 14934/io.web.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 199809 14596/io.chromecast udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 10653 358/avahi-daemon: r udp 0 0 0.0.0.0:57775 0.0.0.0:* 1001 199230 14708/io.heos.0 udp 0 0 0.0.0.0:51737 0.0.0.0:* 108 10655 358/avahi-daemon: r udp 0 0 0.0.0.0:61991 0.0.0.0:* 1001 200064 14693/io.harmony.0 udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 198355 14399/io.shelly.0 udp 0 0 0.0.0.0:68 0.0.0.0:* 0 11806 765/dhcpcd udp6 0 0 :::5353 :::* 108 10654 358/avahi-daemon: r udp6 0 0 :::57307 :::* 108 10656 358/avahi-daemon: r udp6 0 0 :::546 :::* 0 13742 765/dhcpcd ============ Mark until here for C&P ============= iob diag has finished.
-
iobroker start admin
-
@djmarc75 Ja, das hatte ich ja eingangs erklärt. Gestern ein Update des Adatber gestartet, was wohl nicht korrekt durchgegangen ist
-
@djmarc75
Super, das wusste ich nämlich nicht, wie bzw. dass ´man über die ssh die einzelen Adapter neustarten kann.
Auf die Adminoberfläche komm ich schonmal rauf -
sudo apt update sudo apt full-upgrade sudo reboot
-
@djmarc75
wird durchgeführt... -
@djmarc75
Alle adapter, bis auf den Javascript adapter sind gestartet... -
Der Javaskript-Adapter läuft ja auch nicht in der Spur:
npm ERR! invalid: iobroker.javascript@6.1.4 /opt/iobroker/node_modules/iobroker.javascript
Installier den nochmal drüber.
-
@thomas-braun wie mache ich das? Einfach ne Instanz mit + hinzufügen?
-
cd /opt/iobroker/node_modules/iobroker.javascript sudo -u iobroker npm install
-
pi@ioBroker:~ $ cd /opt/iobroker/node_modules/iobroker.javascript pi@ioBroker:/opt/iobroker/node_modules/iobroker.javascript $ sudo -u iobroker npm install npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node npm ERR! dest /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/.node-f0Rqzy2m npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node' -> '/opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/.node-f0Rqzy2m' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-12-25T20_12_39_802Z-debug-0.log pi@ioBroker:/opt/iobroker/node_modules/iobroker.javascript $
da hab ich aber was nicht korrekt gemacht?
-
-
for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%/}; done
und hier nach dann nochmal den?
sudo -u iobroker npm install
-
@iced112
Ja. Aber pass auf das du im richtigen Verzeichnis stehst! -
pi@ioBroker:/opt/iobroker/node_modules/iobroker.javascript $ sudo -u iobroker npm install npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained. npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > iobroker.javascript@6.1.4 postinstall > node ./install/installTypings.js Installing NodeJS typings... latest @types: 18, installed node: 16 added 106 packages, removed 108 packages, changed 94 packages, and audited 876 packages in 54s 64 packages are looking for funding run `npm fund` for details 11 vulnerabilities (1 low, 3 moderate, 6 high, 1 critical) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details.
sieht schon anders aus
-
Startet immer noch nicht und die Version die hier steht, stimmt auch nicht mit der überein, die bei der diagnose ausgegeben wurde
-
iobroker update iobroker upgrade all --debug
-
@thomas-braun
Ach, guck an. das hat beim zweiten versuch funktioniert. Beim ersten mal hat er noch die scheinbar neue version als "installtiert" angezeigt und als ich das zweite mal update ausgeführt habe war Java auf dem alten stand. Dann hat die installation, bzw. das update geklappt. Jetzt ist der Adapter auch wieder gestartet... und funktioniert auch wiederVielen liebe Dank dir/euch
-