NEWS
Erledigt Redis über Backitup , Fehler beim Restore
-
sudo -u iobroker groups iobroker tty dialout audio video bluetooth redis gpio i2c
MOD-EDIT: Code in code-tags gesetzt!
Hat leider nichts gebracht, gleiche Fehlermeldung.
cu paul -
@paul-honka sagte in Redis über Backitup , Fehler beim Restore:
Hat leider nichts gebracht, gleiche Fehlermeldung.
Was soll das auch 'bringen'? Das zeigt nur in welchen Gruppen der iobroker Mitglied ist.
-
@thomas-braun
Was nun?
Wenn ich jetzt das Iobrockerbackup wieder einspiele, startet der Iobroker nicht.
Deshalb wollte ich vorher das Redis Backup zurück spielen. Das hat aber ein Rechte / Zugriffsproblem.
cu paul -
@paul-honka sagte in Redis über Backitup , Fehler beim Restore:
Was nun?
die Ein- und Ausgabe des letzten Befehls posten
edit: übersehen, weil nicht in code-tags.
-
weiß nicht, ob das hilft!
hast du nach der installation das "iobroker setup custom" aufgerufen und auf redis geändert- bevor du restore machst - ich glaube standard ist jsonl. evtl wird dabei noch was eingerichtet -
@liv-in-sky in code tags gewandelt
habe ich gemacht, siehe Spoiler, code tagspi@Humboldt35:/opt/iobroker $ iobroker setup custom Current configuration: - Objects database: - Type: jsonl - Host/Unix Socket: 127.0.0.1 - Port: 9001 - States database: - Type: jsonl - Host/Unix Socket: 127.0.0.1 - Port: 9000 - Data Directory: ../../iobroker-data/ Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]: r When Objects and Files are stored in a Redis database please consider the following: 1. All data will be stored in RAM, make sure to have enough free RAM available! 2. Make sure to check Redis persistence options to make sure a Redis problem will not cause data loss! 3. The Redis persistence files can get big, make sure not to use an SD card to store them. Host / Unix Socket of objects DB(redis), default[127.0.0.1]: Port of objects DB(redis), default[6379]: Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [redis]: r Host / Unix Socket of states DB (redis), default[127.0.0.1]: Port of states DB (redis), default[6379]: Host name of this machine [Humboldt35]: Please choose if this is a Master/single host (enter "m") or a Slave host (enter "S") you are about to edit. For Slave hosts the data migration will be skipped. [S/m]: m Important: Using redis for the Objects database is only supported with js-controller 2.0 or higher! When your system consists of multiple hosts please make sure to have js-controller 2.0 or higher installed on ALL hosts *before* continuing! Important #2: If you already did the migration on an other host please *do not* migrate again! This can destroy your system! Important #3: The process will migrate all files that were officially uploaded into the ioBroker system. If you have manually copied files into iobroker-data/files/... into own directories then these files will NOT be migrated! Make sure all files are in adapter directories inside the files directory!
Fehlermeldung die gleiche beim Restore von Redis, siehe oben.
cu paul -
@paul-honka bitte code tags nutzen !!!!!!! bei solchen text
-
@paul-honka sagte in Redis über Backitup , Fehler beim Restore:
Deshalb wollte ich vorher das Redis Backup zurück spielen. Das hat aber ein Rechte / Zugriffsproblem.
Wie genau gehst du da vor? Als User 'pi'? Ist der in der Gruppe 'redis' drin?
-
@paul-honka sagte in Redis über Backitup , Fehler beim Restore:
Host / Unix Socket of states DB (redis), default[127.0.0.1]:
Siehe Multihost mit Redis:
https://www.iobroker.net/#de/documentation/config/multihost.md -
@fredf
Ist kein Multihost!
cu paul -
@paul-honka
Upps... aber auch da sollte imho 0.0.0.0 eingetragen werden -
@fredf sagte in Redis über Backitup , Fehler beim Restore:
@paul-honka
Upps... aber auch da sollte imho 0.0.0.0 eingetragen werdenja? nicht localhost?
-
@thomas-braun
Ich wollte das Backup mit Backupit zururückspiehlen, da tritt dann das Rechte / Zugriffsproblem auf.
cu paul -
@paul-honka sagte in Redis über Backitup , Fehler beim Restore:
ich bekomme beim Restore von Redis folgende Fehlermeldungen
restore wodrauf?
neue Installation?hast du denn dort redis installiert?
-
@homoran
afaik 0.0.0.0 -
@fredf sagte in Redis über Backitup , Fehler beim Restore:
@homoran
afaik 0.0.0.0ist sooooo lang her.
Weiß ich wirklich nicht mehr.so als Nebelschwaden:
ich hatte localhost für single und die IP des hosts (master) bei Multihost im Kopf.
die 0.0.0.0 musste in der redis.conf bei Multihost eingetragen werden.
-
@homoran @paul-honka
Ich nehme alles zurück...
Für die "Objects" die aktuellen Einstellungen bestätigen ("file" als Typ, IP, Port 9001) und bei "States" jetzt als Typ "redis", die IP des Redis-Hostservers (bzw. 127.0.01 wenn auf dem gleichen Host) und 6379 als Port einstellen.
aus -
@fredf
jo das war, thx.
cu paul