NEWS
Backup funktioniert nicht mehr
-
pi@raspberrypi:~ $ sudo netstat -nap | grep 9001 tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51612 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51612 127.0.0.1:9001 VERBUNDEN 3010/io.iot.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51700 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51426 127.0.0.1:9001 VERBUNDEN 2878/io.sonoff.0 tcp 0 0 127.0.0.1:51726 127.0.0.1:9001 VERBUNDEN 3555/io.whatsapp-cm tcp 0 0 127.0.0.1:9001 127.0.0.1:51452 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51428 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51430 127.0.0.1:9001 VERBUNDEN 2878/io.sonoff.0 tcp 0 0 127.0.0.1:51570 127.0.0.1:9001 VERBUNDEN 2970/io.info.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51876 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51476 127.0.0.1:9001 VERBUNDEN 2924/io.evohome.0 tcp 0 0 127.0.0.1:51566 127.0.0.1:9001 VERBUNDEN 2970/io.info.0 tcp 0 0 127.0.0.1:51700 127.0.0.1:9001 VERBUNDEN 3492/io.web.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51878 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51462 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51300 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51304 127.0.0.1:9001 VERBUNDEN 2758/io.alexa2.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51288 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51284 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51476 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51392 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51512 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51460 127.0.0.1:9001 VERBUNDEN 2904/io.mqtt.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51276 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51448 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51830 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51514 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51616 127.0.0.1:9001 VERBUNDEN 3010/io.iot.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51698 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51450 127.0.0.1:9001 VERBUNDEN 2893/io.zigbee.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51704 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51464 127.0.0.1:9001 VERBUNDEN 2904/io.mqtt.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51450 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51876 127.0.0.1:9001 VERBUNDEN 3604/io.backitup.0 tcp 0 0 127.0.0.1:51828 127.0.0.1:9001 VERBUNDEN 3585/io.ring.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51614 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51566 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51730 127.0.0.1:9001 VERBUNDEN 3555/io.whatsapp-cm tcp 0 0 127.0.0.1:9001 127.0.0.1:51472 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51428 127.0.0.1:9001 VERBUNDEN 2878/io.sonoff.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51502 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51278 127.0.0.1:9001 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51728 127.0.0.1:9001 VERBUNDEN 3555/io.whatsapp-cm tcp 0 0 127.0.0.1:51390 127.0.0.1:9001 VERBUNDEN 2807/io.rpi2.0 tcp 0 0 127.0.0.1:51394 127.0.0.1:9001 VERBUNDEN 2807/io.rpi2.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51832 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51426 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51322 127.0.0.1:9001 VERBUNDEN 2750/io.javascript. tcp 0 0 127.0.0.1:9001 127.0.0.1:51318 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51830 127.0.0.1:9001 VERBUNDEN 3585/io.ring.0 tcp 0 0 127.0.0.1:51516 127.0.0.1:9001 VERBUNDEN 2955/io.hs100.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51616 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51318 127.0.0.1:9001 VERBUNDEN 2750/io.javascript. tcp 0 0 127.0.0.1:51474 127.0.0.1:9001 VERBUNDEN 2924/io.evohome.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51474 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51462 127.0.0.1:9001 VERBUNDEN 2904/io.mqtt.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51570 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51276 127.0.0.1:9001 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51286 127.0.0.1:9001 VERBUNDEN 2734/io.admin.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51730 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51502 127.0.0.1:9001 VERBUNDEN 2939/io.history.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51390 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51500 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51504 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51464 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51698 127.0.0.1:9001 VERBUNDEN 3492/io.web.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51394 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51514 127.0.0.1:9001 VERBUNDEN 2955/io.hs100.0 tcp 0 0 127.0.0.1:51880 127.0.0.1:9001 VERBUNDEN 3604/io.backitup.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51430 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51500 127.0.0.1:9001 VERBUNDEN 2939/io.history.0 tcp 0 0 127.0.0.1:51288 127.0.0.1:9001 VERBUNDEN 2734/io.admin.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51880 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51878 127.0.0.1:9001 VERBUNDEN 3604/io.backitup.0 tcp 0 0 127.0.0.1:51832 127.0.0.1:9001 VERBUNDEN 3585/io.ring.0 tcp 0 0 127.0.0.1:51614 127.0.0.1:9001 VERBUNDEN 3010/io.iot.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51516 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51568 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51452 127.0.0.1:9001 VERBUNDEN 2893/io.zigbee.0 tcp 0 0 127.0.0.1:51568 127.0.0.1:9001 VERBUNDEN 2970/io.info.0 tcp 0 0 127.0.0.1:51284 127.0.0.1:9001 VERBUNDEN 2734/io.admin.0 tcp 0 0 127.0.0.1:51392 127.0.0.1:9001 VERBUNDEN 2807/io.rpi2.0 tcp 0 0 127.0.0.1:51472 127.0.0.1:9001 VERBUNDEN 2924/io.evohome.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51320 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51448 127.0.0.1:9001 VERBUNDEN 2893/io.zigbee.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51460 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51504 127.0.0.1:9001 VERBUNDEN 2939/io.history.0 tcp 0 0 127.0.0.1:51320 127.0.0.1:9001 VERBUNDEN 2750/io.javascript. tcp 0 0 127.0.0.1:9001 127.0.0.1:51828 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51728 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51322 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51512 127.0.0.1:9001 VERBUNDEN 2955/io.hs100.0 tcp 0 0 127.0.0.1:9001 127.0.0.1:51726 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51278 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51304 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51302 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:9001 127.0.0.1:51286 VERBUNDEN 2715/iobroker.js-co tcp 0 0 127.0.0.1:51302 127.0.0.1:9001 VERBUNDEN 2758/io.alexa2.0 tcp 0 0 127.0.0.1:51704 127.0.0.1:9001 VERBUNDEN 3492/io.web.0 tcp 0 0 127.0.0.1:51300 127.0.0.1:9001 VERBUNDEN 2758/io.alexa2.0
-
@glasfaser said in Backup funktioniert nicht mehr:
iobroker setup custom
<pi@raspberrypi:~ $ iobroker setup custom
Current configuration:- Objects database:
- Type: file
- Host/Unix Socket: 127.0.0.1
- Port: 9001
- States database:
- Type: redis
- Host/Unix Socket: 127.0.0.1
- Port: 6379
- Data Directory: ../../iobroker-data/
Type of objects DB [(f)ile, (r)edis, ...], default [file]:
- Objects database:
-
zu CodeTags ...
-
-
@glasfaser
Danke, jetzt hab ich es auch verstanden -
pi@raspberrypi:~ $ iobroker setup custom Current configuration: - Objects database: - Type: file - Host/Unix Socket: 127.0.0.1 - Port: 9001 - States database: - Type: redis - Host/Unix Socket: 127.0.0.1 - Port: 6379 - Data Directory: ../../iobroker-data/ Type of objects DB [(f)ile, (r)edis, ...], default [file]:
Muss ich Database auf 9000 umstellen?
-
@norman sagte in Backup funktioniert nicht mehr:
Muss ich Database auf 9000 umstellen?
Nein du nutzt doch redis .
Du schreibts ja oben ..
bei etwa 800MB in Gebrauch, nach dem Start geht er langsam hoch bis zum maximal verfügbaren 2GB, dann ist der Admin kurz offline,
Zeige mal
htop
-
@glasfaser said in Backup funktioniert nicht mehr:
Nein du nutzt doch redis .
ich weiß nicht, ob ich redis nutze, das lief alles nach der Installation so. Redis hat er bei mir automatisch immer nur mitgesichert
htop kann ich aber nur per Screenshot, da kann ich nix kopieren, ist das richtig?
-
-
@norman sagte in Backup funktioniert nicht mehr:
ist das richtig?
@norman sagte in Backup funktioniert nicht mehr:
ist das richtig?
alles falsch!
bitte allePosts mit logs editieren und in code-tags setzen.
Dann kann man auch zitieren -
@homoran said in Backup funktioniert nicht mehr:
alles falsch!
bitte allePosts mit logs editieren und in code-tags setzen.
Dann kann man auch zitierenich kann aber bei htop nix herauskopieren.....ich weiß nicht, was ich sonst machen soll.....
-
-
@norman sagte in Backup funktioniert nicht mehr:
ich weiß nicht, ob ich redis nutze,
aber dein ioBroker weiß es
@norman sagte in Backup funktioniert nicht mehr:
- States database: - Type: redis
ist redis installiert?
-
apt policy redis
-
okay, jetzt hab ichs.....hatte immer händisch kopiert
login as: pi pi@192.168.178.60's password: Linux raspberrypi 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Dec 5 18:53:34 2021 from 192.168.178.20 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@raspberrypi:~ $ htop 1 [| 0.7%] Tasks: 50, 203 thr; 1 running 2 [||||||| 6.5%] Load average: 0.16 0.27 0.38 3 [|||||| 5.8%] Uptime: 19 days, 23:14:05 4 [|| 1.3%] Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 909M/1.82G] Swp[ 0K/0K] PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 3585 iobroker 20 0 158M 76344 28400 S 4.5 4.0 1:47.14 io.ring.0 7516 pi 20 0 6424 3572 2328 R 3.2 0.2 0:00.29 htop 571 redis 20 0 46624 6768 2312 S 1.3 0.4 8h58:59 /usr/bin/redis-server 127.0.0.1:6379 2750 iobroker 20 0 213M 131M 28620 S 1.3 7.1 1:42.74 io.javascript.0 2955 iobroker 20 0 147M 64960 27408 S 0.6 3.4 1:07.51 io.hs100.0 2924 iobroker 20 0 145M 59484 28360 S 0.6 3.1 0:12.81 io.evohome.0 2715 iobroker 20 0 172M 91080 28876 S 0.6 4.8 5:10.62 iobroker.js-controller 2734 iobroker 20 0 164M 78560 29336 S 0.6 4.1 0:50.37 io.admin.0 589 homebridg 20 0 173M 60432 9392 S 0.6 3.2 16:02.22 hb-service 2934 iobroker 20 0 145M 59484 28360 S 0.6 3.1 0:00.09 io.evohome.0 3602 iobroker 20 0 158M 76344 28400 S 0.6 4.0 0:02.09 io.ring.0 7502 pi 20 0 12240 3504 2712 S 0.6 0.2 0:00.02 sshd: pi@pts/0 2807 iobroker 20 0 146M 56364 27420 S 0.0 2.9 0:18.70 io.rpi2.0 2904 iobroker 20 0 151M 65608 27296 S 0.0 3.4 0:49.78 io.mqtt.0 2893 iobroker 20 0 158M 75952 27572 S 0.0 4.0 0:18.07 io.zigbee.0 2721 iobroker 20 0 172M 91080 28876 S 0.0 4.8 0:35.68 iobroker.js-controller 2878 iobroker 20 0 150M 63596 27460 S 0.0 3.3 0:37.80 io.sonoff.0 2931 iobroker 20 0 145M 59484 28360 S 0.0 3.1 0:00.08 io.evohome.0 2939 iobroker 20 0 149M 64964 27296 S 0.0 3.4 0:24.26 io.history.0 3555 iobroker 20 0 137M 53328 27488 S 0.0 2.8 0:06.30 io.whatsapp-cmb.0 3590 iobroker 20 0 158M 76344 28400 S 0.0 4.0 0:02.22 io.ring.0 3600 iobroker 20 0 158M 76344 28400 S 0.0 4.0 0:02.08 io.ring.0 3604 iobroker 20 0 136M 53956 28628 S 0.0 2.8 0:06.50 io.backitup.0 1 root 20 0 34780 5372 3584 S 0.0 0.3 0:30.18 /sbin/init 112 root 20 0 37708 6496 5560 S 0.0 0.3 1:28.47 /lib/systemd/systemd-journald 147 root 20 0 18104 2452 1564 S 0.0 0.1 0:04.40 /lib/systemd/systemd-udevd 319 systemd-t 20 0 22416 1956 1304 S 0.0 0.1 0:00.01 /lib/systemd/systemd-timesyncd 283 systemd-t 20 0 22416 1956 1304 S 0.0 0.1 0:05.21 /lib/systemd/systemd-timesyncd 320 root 20 0 13144 1596 888 S 0.0 0.1 0:04.92 /lib/systemd/systemd-logind 323 root 39 19 3692 196 0 S 0.0 0.0 0:00.56 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon 329 avahi 20 0 5904 1532 1160 S 0.0 0.1 9:32.23 avahi-daemon: running [raspberrypi.local] 333 nobody 20 0 4320 176 0 S 0.0 0.0 0:15.59 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event* 371 root 20 0 25512 1132 0 S 0.0 0.1 0:05.40 /usr/sbin/rsyslogd -n -iNONE 372 root 20 0 25512 1132 0 S 0.0 0.1 0:00.08 /usr/sbin/rsyslogd -n -iNONE 373 root 20 0 25512 1132 0 S 0.0 0.1 0:07.28 /usr/sbin/rsyslogd -n -iNONE 334 root 20 0 25512 1132 0 S 0.0 0.1 0:12.95 /usr/sbin/rsyslogd -n -iNONE 337 messagebu 20 0 6656 584 0 S 0.0 0.0 0:02.04 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only 338 root 20 0 10744 404 0 S 0.0 0.0 0:10.48 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant 346 root 20 0 5412 180 0 S 0.0 0.0 0:03.90 /usr/sbin/cron -f 352 root 20 0 27656 348 208 S 0.0 0.0 0:27.72 /usr/sbin/rngd -r /dev/hwrng 353 root 20 0 27656 348 208 S 0.0 0.0 0:00.78 /usr/sbin/rngd -r /dev/hwrng 354 root 20 0 27656 348 208 S 0.0 0.0 1:51.84 /usr/sbin/rngd -r /dev/hwrng 350 root 20 0 27656 348 208 S 0.0 0.0 2:20.60 /usr/sbin/rngd -r /dev/hwrng 374 avahi 20 0 5772 252 0 S 0.0 0.0 0:00.00 avahi-daemon: chroot helper 424 root 20 0 11004 544 0 S 0.0 0.0 0:23.43 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext 439 root 20 0 2140 128 0 S 0.0 0.0 0:00.00 /usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow - 443 root 20 0 9536 284 0 S 0.0 0.0 0:00.02 /usr/lib/bluetooth/bluetoothd 559 root 20 0 2968 1768 1344 S 0.0 0.1 1:26.02 /sbin/dhcpcd -q -w 568 root 20 0 4308 88 0 S 0.0 0.0 0:00.00 /sbin/agetty -o -p -- \u --noclear tty1 linux 570 root 20 0 10728 2000 1420 S 0.0 0.1 0:00.40 /usr/sbin/sshd -D 572 redis 20 0 46624 6768 2312 S 0.0 0.4 0:00.00 /usr/bin/redis-server 127.0.0.1:6379 573 redis 20 0 46624 6768 2312 S 0.0 0.4 0:00.00 /usr/bin/redis-server 127.0.0.1:6379 574 redis 20 0 46624 6768 2312 S 0.0 0.4 0:00.00 /usr/bin/redis-server 127.0.0.1:6379 591 homebridg 20 0 173M 60432 9392 S 0.0 3.2 0:00.00 hb-service F1Help F2Setup F3SearchF4FilterF5Tree F6SortByF7Nice -F8Nice +F9Kill F10Quit
-
@homoran said in Backup funktioniert nicht mehr:
ist redis installiert?
Sieht nicht so aus:
pi@raspberrypi:~ $ apt policy redis redis: Installiert: (keine) Installationskandidat: 5:5.0.3-4+deb10u3 Versionstabelle: 5:5.0.3-4+deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
brauch ich denn redis unbedingt um ein Backup zu erstellen? Kann ich nicht umstellen auf File?
-
@norman sagte in Backup funktioniert nicht mehr:
Kann ich nicht umstellen auf File?
Kannst du auch. Oder halt redis nach installieren.
Aber warum stellst du den ioBroker auf redis (halbfertig) dann um? -
@norman sagte in Backup funktioniert nicht mehr:
Sieht nicht so aus:
Ist verwirrend, aber trotzdem installiert!
-
@norman sagte in Backup funktioniert nicht mehr:
brauch ich denn redis unbedingt um ein Backup zu erstellen?
Redis wird ja für die States benötigt, die darin gespeichert werden.
Wenn du die Datenbank gar nicht hast, hast du ein grundsätzliches Problem, wenn ioBroker für redis konfiguriert ist -
@meister-mopper sagte in Backup funktioniert nicht mehr:
Ist verwirrend, aber trotzdem installiert!
Wo soll denn redis dann installiert sein? Über den Paketmanager ist es nicht installiert. Jedenfalls nicht das meta package.