NEWS
iobroker restore 0 funktioniert nicht
-
@thomas-braun
Bin noch nicht dazu gekommen den PI flott zu machen.
Das gute daran ist, dass ich/wir jetzt erkennen, dass wir im Haus nicht vom ioBroker abhängig sind. Wir senden meistens (Status)Informationen in Wort und Bild hin und her. Das was wir über Sprachsteuerung im Haus darüber schalten, kann auch alles manuell geschaltet werdenGute Erkenntnis!
-
@thomas-braun
mein RPi läuft wieder. Durch den reboot wurde eine falsche UUID in der cmdline.txt eingetragen.Leider ist der ioBroker immer noch nicht da!
-
Leider kann man da ohne Meldungen immer noch nichts zu sagen.
Welche UUID war es denn? Die werden ja nicht gewürfelt...
-
@thomas-braun
also jetzt blicke ich da garnicht mehr durch. Ich bin jetzt an via ssh an dem betroffenen System angemeldet und die cmdline.txt und fstab schaut jetzt so aus. Wo ist mein Eintrag geblieben. Mir scheint als ob ich in einer anderen Baumstruktur also einem anderen /etc/boot bin.markus@rpi:/boot $ cat cmdline.txt dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/sdb1 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait nosplash plymouth.ignore-serial-consoles markus@rpi:/boot $ cat /etc/fstab proc /proc proc defaults 0 0 PARTUUID=02211fe5-01 /boot vfat defaults,flush 0 2 #PARTUUID=924c1207-02 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, no line here # use dphys-swapfile swap[on|off] for that /dev/sdb1 / ext4 defaults,noatime 0 1 /dev/sdb2 swap swap defaults 0 0
Ich bin jetzt mal für 3 Std. weg.
-
@funkytown sagte in iobroker restore 0 funktioniert nicht:
root=/dev/sdb1
Keine Ahnung was du da wie warum treibst, jedenfalls ist der Eintrag
root=/dev/sdb1
absolut atypisch. Vor allendingen sdb1
Für gewöhnlich wird da die UUID ausblkid
eingetragen.
-
@thomas-braun
Das System läuft ja wieder nach dem full-upgrade.markus@rpi:/opt/iobroker $ blkid /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="0C61-73F5" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="02211fe5-01" /dev/mmcblk0p2: LABEL="rootfs" UUID="43f2d0bb-83be-464f-94d0-9a751f376c64" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="02211fe5-02" /dev/sda1: LABEL="ESD-USB" UUID="5CD7-2DC8" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="292eb410-01" /dev/sdb1: UUID="bbe67a8e-80a1-4c79-992c-a11ebfacecfe" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3b18e43a-01" /dev/sdb2: UUID="c25aeb0d-0033-4d60-a8a9-a914652a27c1" TYPE="swap" PARTUUID="3b18e43a-02" markus@rpi:/opt/iobroker $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.17.0 v16.17.0 8.15.0 4.0.23 markus markus adm cdrom sudo audio video plugdev games users input netdev lpadmin gpio iobroker /opt/iobroker OK:1 http://archive.raspberrypi.org/debian bullseye InRelease OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease OK:4 https://dl.yarnpkg.com/debian stable InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Alle Pakete sind aktuell. nodejs: Installiert: 16.17.0-deb-1nodesource1 Installationskandidat: 16.17.0-deb-1nodesource1 Versionstabelle: *** 16.17.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
-
Ich würde da halt die UUID in die cmdline.txt eintragen. Dann springt dir die boot-Partition auch nicht weg.
Zum iobroker: Logs? Kommandozeile?
-
@thomas-braun
Hab den Eintrag in der cmdline.txt gemacht und rebootet.
Welche Logs benötigst du jetzt?markus@rpi:~ $ blkid /dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="0C61-73F5" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="02211fe5-01" /dev/mmcblk0p2: LABEL="rootfs" UUID="43f2d0bb-83be-464f-94d0-9a751f376c64" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="02211fe5-02" /dev/sda1: LABEL="ESD-USB" UUID="5CD7-2DC8" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="292eb410-01" /dev/sdb1: UUID="bbe67a8e-80a1-4c79-992c-a11ebfacecfe" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3b18e43a-01" /dev/sdb2: UUID="c25aeb0d-0033-4d60-a8a9-a914652a27c1" TYPE="swap" PARTUUID="3b18e43a-02" markus@rpi:~ $ cat /boot/cmdline.txt dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=3b18e43a-01 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
-
iobroker status iobroker update iobroker list instances
-
markus@rpi:~ $ iobroker status iobroker is running on this host. Objects type: jsonl States type: jsonl markus@rpi:~ $ iobroker update Used repository: stable Adapter "admin" : 6.2.22 , installed 6.2.20 [Updatable] Adapter "alexa2" : 3.19.9 , installed 3.19.7 [Updatable] Adapter "backitup" : 2.4.12 , installed 2.4.10 [Updatable] Adapter "cloud" : 4.2.2 , installed 4.2.2 Adapter "cul" : 2.0.2 , installed 2.0.2 Adapter "discovery" : 3.0.5 , installed 3.0.5 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "email" : 1.1.3 , installed 1.1.3 Adapter "history" : 2.2.0 , installed 2.2.0 Adapter "hm-rega" : 3.0.40 , installed 3.0.40 Adapter "hm-rpc" : 1.15.12 , installed 1.15.12 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.9 , installed 1.11.8 [Updatable] Adapter "javascript" : 6.0.3 , installed 6.0.0 [Updatable] Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "linux-control": 1.1.3 , installed 1.1.5 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "node-red" : 4.0.0 , installed 3.3.1 [Updatable] Adapter "openweathermap": 0.3.0 , installed 0.3.0 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pollenflug" : 1.0.6 , installed 1.0.6 Adapter "pushover" : 3.0.3 , installed 3.0.2 [Updatable] Adapter "radar2" : 2.0.3 , installed 2.0.3 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "simple-api" : 2.7.0 , installed 2.7.0 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "synology" : 2.1.9 , installed 2.1.9 Adapter "tankerkoenig" : 2.1.1 , installed 2.1.1 Adapter "telegram" : 1.14.1 , installed 1.13.0 [Updatable] Adapter "text2command" : 2.2.2 , installed 2.2.2 Adapter "tr-064" : 4.2.16 , installed 4.2.16 Adapter "trashschedule": 2.0.3 , installed 2.0.3 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-material-advanced": 1.7.2, installed 1.7.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "withings" : 0.0.9 , installed 0.0.9 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "yahka" : 0.13.1 , installed 0.13.1 markus@rpi:~ $ iobroker list instances system.adapter.admin.0 : admin : rpi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.admin.1 : admin : rpi - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alexa2.0 : alexa2 : rpi - enabled system.adapter.alexa2.1 : alexa2 : rpi - enabled + system.adapter.backitup.0 : backitup : rpi - enabled + system.adapter.discovery.0 : discovery : rpi - enabled system.adapter.dwd.0 : dwd : rpi - disabled + system.adapter.email.0 : email : rpi - enabled + system.adapter.history.0 : history : rpi - enabled + system.adapter.hm-rega.0 : hm-rega : rpi - enabled + system.adapter.hm-rpc.0 : hm-rpc : rpi - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : rpi - enabled, port: 0 + system.adapter.hm-rpc.2 : hm-rpc : rpi - enabled, port: 0 + system.adapter.hm-rpc.3 : hm-rpc : rpi - enabled, port: 0 system.adapter.icons-mfd-svg.0 : icons-mfd-svg : rpi - disabled + system.adapter.info.0 : info : rpi - enabled + system.adapter.iot.0 : iot : rpi - enabled + system.adapter.javascript.0 : javascript : rpi - enabled + system.adapter.linux-control.0 : linux-control : rpi - enabled + system.adapter.mqtt.0 : mqtt : rpi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.ping.0 : ping : rpi - enabled system.adapter.pollenflug.0 : pollenflug : rpi - disabled + system.adapter.pushover.0 : pushover : rpi - enabled + system.adapter.rpi2.0 : rpi2 : rpi - enabled + system.adapter.scenes.0 : scenes : rpi - enabled system.adapter.synology.0 : synology : rpi - disabled, port: 5000 + system.adapter.tankerkoenig.0 : tankerkoenig : rpi - enabled system.adapter.telegram.0 : telegram : rpi - disabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command : rpi - disabled + system.adapter.tr-064.0 : tr-064 : rpi - enabled system.adapter.vis-material-advanced.0 : vis-material-advanced : rpi - disabled system.adapter.vis.0 : vis : rpi - disabled system.adapter.web.0 : web : rpi - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.withings.0 : withings : rpi - disabled system.adapter.yahka.0 : yahka : rpi - disabled + system.adapter.yahka.1 : yahka : rpi - enabled + instance is alive
-
iobroker upgrade iobroker del admin.1 iobroker start admin.0
Warum 2 Instanzen vom Admin?
-
Da stimmt schon was nicht!
markus@rpi:~ $ iobroker upgrade This upgrade of "alexa2" will introduce the following changes: ========================================================================== -> 3.19.9: Receive the correct player status again when musik is stopped -> 3.19.8: Add safeguard for too high intervals ========================================================================== Would you like to upgrade alexa2 from @3.19.7 to @3.19.9 now? [(y)es, (n)o]: y Update alexa2 from @3.19.7 to @3.19.9 NPM version: 8.15.0 Installing iobroker.alexa2@3.19.9... (System call) host.rpi Cannot install iobroker.alexa2@3.19.9: 217
-
for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
-
markus@rpi:~ $ iobroker upgrade This upgrade of "openweathermap" will introduce the following changes: ========================================================================== -> 0.3.0: Added new widget for vis2.0 ========================================================================== Would you like to upgrade openweathermap from @0.2.5 to @0.3.0 now? [(y)es, (n)o]: n No upgrade of "openweathermap" desired. This upgrade of "admin" will introduce the following changes: ========================================================================== -> 6.2.22: Corrected admin4 adapter settings -> 6.2.21: Corrected small JSON config issue ========================================================================== Would you like to upgrade admin from @6.2.20 to @6.2.22 now? [(y)es, (n)o]: y Update admin from @6.2.20 to @6.2.22 host.rpi Adapter "system.adapter.admin.0" is stopped. NPM version: 8.15.0 Installing iobroker.admin@6.2.22... (System call) host.rpi Cannot install iobroker.admin@6.2.22: 217
-
@funkytown sagte in iobroker restore 0 funktioniert nicht:
iobroker upgrade admin --debug
-
markus@rpi:~ $ iobroker upgrade admin --debug This upgrade of "admin" will introduce the following changes: ========================================================================== -> 6.2.22: Corrected admin4 adapter settings -> 6.2.21: Corrected small JSON config issue ========================================================================== Would you like to upgrade admin from @6.2.20 to @6.2.22 now? [(y)es, (n)o]: y Update admin from @6.2.20 to @6.2.22 NPM version: 8.15.0 Installing iobroker.admin@6.2.22... (System call) npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/addressparser npm ERR! dest /opt/iobroker/node_modules/.addressparser-qF9vtHFg npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/addressparser' -> '/opt/iobroker/node_modules/.addressparser-qF9vtHFg' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-09-22T20_14_23_357Z-debug-0.log host.rpi Cannot install iobroker.admin@6.2.22: 217
-
@funkytown
Nochmalfor i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
-
@thomas-braun
Zwischendurch einmal ein DANKE an dich! -
markus@rpi:~ $ iobroker upgrade admin --debug This upgrade of "admin" will introduce the following changes: ========================================================================== -> 6.2.22: Corrected admin4 adapter settings -> 6.2.21: Corrected small JSON config issue ========================================================================== Would you like to upgrade admin from @6.2.20 to @6.2.22 now? [(y)es, (n)o]: y Update admin from @6.2.20 to @6.2.22 NPM version: 8.15.0 Installing iobroker.admin@6.2.22... (System call) npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3 npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 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 multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10. npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) 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 npm WARN deprecated axios@0.27.0: Formdata complete broken, incorrect build size npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /opt/iobroker/node_modules/node-red-node-email/node_modules/encoding-japanese/src npm ERR! dest /opt/iobroker/node_modules/.node-red-node-email-1lk8B7Gi/node_modules/encoding-japanese/src npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/node-red-node-email/node_modules/encoding-japanese/src' -> '/opt/iobroker/node_modules/.node-red-node-email-1lk8B7Gi/node_modules/encoding-japanese/src' npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-09-22T20_27_53_207Z-debug-0.log host.rpi Cannot install iobroker.admin@6.2.22: 217 markus@rpi:~ $
-
Führst du das nicht aus?
for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
Das sollte das eigentlich alles bereinigen.