NEWS
Redis schreiben auf SD abschalten
-
Hallo,
Betreibe den Broker seit 3-4 Monaten, hatte mit KNX angefangen, inzwischen ein paar scripte laufen und Angefangen Wetterdaten zu verarbeiten.
Raspi 4 mit 8gbRam und SDKarteAb und zu bleiben in letzter Zeit meine KNX Befehle aus der visu hängen, entweder passiert gar nichts oder 30sec. verspätet . Jetzt hatte ich den Tipp bekommen zuerst mal redis abzuschalten und mit einer SSD aufzurüsten.
Im Forum hier gibt es ein paar Beiträge mit dem Thema redis abschalten, dort funktionieren aber einige links nicht mehr.
Was hatte ich beim ersten Versuch falsch angegeben?
Linux IOBroker 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 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: Sat Mar 20 19:42:18 2021 from 192.168.178.60 SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password. Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@IOBroker:~ $ iobroker stop pi@IOBroker:~ $ iobroker setup custom Current configuration: - Objects database: - Type: file - Host/Unix Socket: 127.0.0.1 - Port: 9001 - States database: - Type: file - Host/Unix Socket: 127.0.0.1 - Port: 9000 - Data Directory: ../../iobroker-data/ Type of objects DB [(f)ile, (r)edis, ...], default [file]: 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]: file Port of objects DB(redis), default[6379]: Type of states DB [(f)file, (r)edis, ...], default [redis]: f Host / Unix Socket of states DB (file), default[127.0.0.1]: Port of states DB (file), default[9000]: Data directory (file), default[../../iobroker-data/]: Host name of this machine [IOBroker]: This host appears to be a Master or a Single host system. Is this correct? [Y/n]: y 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! Do you want to migrate objects and states from "file/file" to "redis/file" [y/N]: y Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y Connecting to previous DB "file"... Creating backup ... This can take some time ... please be patient! host.IOBroker 3959 states saved host.IOBroker 4760 objects saved Backup created: /opt/iobroker/backups/2021_03_21-13_49_38_backupiobroker-migration.tar.gz updating conf/iobroker.json Connecting to new DB "redis" (can take up to 20s) ... No connection to objects file:6379[redis] New Database could not be connected. Please check your settings. No settings have been changed. restoring conf/iobroker.json pi@IOBroker:~ $ -
Hallo,
Betreibe den Broker seit 3-4 Monaten, hatte mit KNX angefangen, inzwischen ein paar scripte laufen und Angefangen Wetterdaten zu verarbeiten.
Raspi 4 mit 8gbRam und SDKarteAb und zu bleiben in letzter Zeit meine KNX Befehle aus der visu hängen, entweder passiert gar nichts oder 30sec. verspätet . Jetzt hatte ich den Tipp bekommen zuerst mal redis abzuschalten und mit einer SSD aufzurüsten.
Im Forum hier gibt es ein paar Beiträge mit dem Thema redis abschalten, dort funktionieren aber einige links nicht mehr.
Was hatte ich beim ersten Versuch falsch angegeben?
Linux IOBroker 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 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: Sat Mar 20 19:42:18 2021 from 192.168.178.60 SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password. Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@IOBroker:~ $ iobroker stop pi@IOBroker:~ $ iobroker setup custom Current configuration: - Objects database: - Type: file - Host/Unix Socket: 127.0.0.1 - Port: 9001 - States database: - Type: file - Host/Unix Socket: 127.0.0.1 - Port: 9000 - Data Directory: ../../iobroker-data/ Type of objects DB [(f)ile, (r)edis, ...], default [file]: 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]: file Port of objects DB(redis), default[6379]: Type of states DB [(f)file, (r)edis, ...], default [redis]: f Host / Unix Socket of states DB (file), default[127.0.0.1]: Port of states DB (file), default[9000]: Data directory (file), default[../../iobroker-data/]: Host name of this machine [IOBroker]: This host appears to be a Master or a Single host system. Is this correct? [Y/n]: y 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! Do you want to migrate objects and states from "file/file" to "redis/file" [y/N]: y Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y Connecting to previous DB "file"... Creating backup ... This can take some time ... please be patient! host.IOBroker 3959 states saved host.IOBroker 4760 objects saved Backup created: /opt/iobroker/backups/2021_03_21-13_49_38_backupiobroker-migration.tar.gz updating conf/iobroker.json Connecting to new DB "redis" (can take up to 20s) ... No connection to objects file:6379[redis] New Database could not be connected. Please check your settings. No settings have been changed. restoring conf/iobroker.json pi@IOBroker:~ $@tobi68 sagte in Redis schreiben auf SD abschalten:
Jetzt hatte ich den Tipp bekommen zuerst mal redis abzuschalten und mit einer SSD aufzurüsten.
wo hast du denn den Tipp her?
bei einem
@tobi68 sagte in Redis schreiben auf SD abschalten:
Raspi 4 mit 8gbRam und SDKarte
sollte bei einer sauberen Installation alles gut laufen.
Außerdem verringert Redis die Schreibvorgänge, wäre also im Falle, dass das diese ein Problem sind, eher genau umgekehrt, nämlich redis aktivieren.
-
Hallo,
Betreibe den Broker seit 3-4 Monaten, hatte mit KNX angefangen, inzwischen ein paar scripte laufen und Angefangen Wetterdaten zu verarbeiten.
Raspi 4 mit 8gbRam und SDKarteAb und zu bleiben in letzter Zeit meine KNX Befehle aus der visu hängen, entweder passiert gar nichts oder 30sec. verspätet . Jetzt hatte ich den Tipp bekommen zuerst mal redis abzuschalten und mit einer SSD aufzurüsten.
Im Forum hier gibt es ein paar Beiträge mit dem Thema redis abschalten, dort funktionieren aber einige links nicht mehr.
Was hatte ich beim ersten Versuch falsch angegeben?
Linux IOBroker 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 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: Sat Mar 20 19:42:18 2021 from 192.168.178.60 SSH is enabled and the default password for the 'pi' user has not been changed. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password. Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@IOBroker:~ $ iobroker stop pi@IOBroker:~ $ iobroker setup custom Current configuration: - Objects database: - Type: file - Host/Unix Socket: 127.0.0.1 - Port: 9001 - States database: - Type: file - Host/Unix Socket: 127.0.0.1 - Port: 9000 - Data Directory: ../../iobroker-data/ Type of objects DB [(f)ile, (r)edis, ...], default [file]: 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]: file Port of objects DB(redis), default[6379]: Type of states DB [(f)file, (r)edis, ...], default [redis]: f Host / Unix Socket of states DB (file), default[127.0.0.1]: Port of states DB (file), default[9000]: Data directory (file), default[../../iobroker-data/]: Host name of this machine [IOBroker]: This host appears to be a Master or a Single host system. Is this correct? [Y/n]: y 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! Do you want to migrate objects and states from "file/file" to "redis/file" [y/N]: y Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y Connecting to previous DB "file"... Creating backup ... This can take some time ... please be patient! host.IOBroker 3959 states saved host.IOBroker 4760 objects saved Backup created: /opt/iobroker/backups/2021_03_21-13_49_38_backupiobroker-migration.tar.gz updating conf/iobroker.json Connecting to new DB "redis" (can take up to 20s) ... No connection to objects file:6379[redis] New Database could not be connected. Please check your settings. No settings have been changed. restoring conf/iobroker.json pi@IOBroker:~ $@tobi68 Ich würde ja zunächst mal das grundlegende System auf Stand bringen. Und auch dem pi ein anderes Passwort als 'raspberrypi' geben.
Dann kann man sich das darauf laufende Server-System anschauen.Mal ganz davon abgesehen, dass der Tip
zuerst mal redis abzuschalten und mit einer SSD aufzurüsten.
eigentlich Blödsinn ist.
-
@tobi68 Ich würde ja zunächst mal das grundlegende System auf Stand bringen. Und auch dem pi ein anderes Passwort als 'raspberrypi' geben.
Dann kann man sich das darauf laufende Server-System anschauen.Mal ganz davon abgesehen, dass der Tip
zuerst mal redis abzuschalten und mit einer SSD aufzurüsten.
eigentlich Blödsinn ist.
@thomas-braun sagte in Redis schreiben auf SD abschalten:
@tobi68 Ich würde ja zunächst mal das grundlegende System auf Stand bringen. Und auch dem pi ein anderes Passwort als 'raspberrypi' geben.
Dann kann man sich das darauf laufende Server-System anschauen.Welches Update habe ich übersehen was du meinst?
-
@thomas-braun sagte in Redis schreiben auf SD abschalten:
@tobi68 Ich würde ja zunächst mal das grundlegende System auf Stand bringen. Und auch dem pi ein anderes Passwort als 'raspberrypi' geben.
Dann kann man sich das darauf laufende Server-System anschauen.Welches Update habe ich übersehen was du meinst?
@tobi68
Vermutlich alle seit August 2020.sudo apt update sudo apt dist-upgrade sudo reboot -
@tobi68
Vermutlich alle seit August 2020.sudo apt update sudo apt dist-upgrade sudo reboot@thomas-braun sagte in Redis schreiben auf SD abschalten:
@tobi68
Vermutlich alle seit August 2020.sudo apt update sudo apt dist-upgrade sudo rebootOK Mach ich nachher erst mal....
Da ich aber erst seit November dabei bin und im Januar ohne Image neu aufgesetzt hatte glaube ich nich das es daran liegt. -
@thomas-braun sagte in Redis schreiben auf SD abschalten:
@tobi68
Vermutlich alle seit August 2020.sudo apt update sudo apt dist-upgrade sudo rebootOK Mach ich nachher erst mal....
Da ich aber erst seit November dabei bin und im Januar ohne Image neu aufgesetzt hatte glaube ich nich das es daran liegt.@tobi68
Jedenfalls läuft da ein 'uralter' Kernel und vermutlich auch die ebenfalls 'uralte' Firmware des Pi. -
@tobi68
Jedenfalls läuft da ein 'uralter' Kernel und vermutlich auch die ebenfalls 'uralte' Firmware des Pi.Hab ich noch per VPN von unterwegs gemacht..
Jow, ist etwas länger gelaufen.
Mal schauen obs jetzt besser wird, werde mal jeden Tag nen weiteren Adapter starten.
-
@tobi68 sagte in Redis schreiben auf SD abschalten:
Jetzt hatte ich den Tipp bekommen zuerst mal redis abzuschalten und mit einer SSD aufzurüsten.
wat.. dann Frag den Experten WARUM ??
-
@tobi68 sagte in Redis schreiben auf SD abschalten:
Jetzt hatte ich den Tipp bekommen zuerst mal redis abzuschalten und mit einer SSD aufzurüsten.
wat.. dann Frag den Experten WARUM ??
@arteck Auf die Antwort warte ich seit dem ersten Post
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden