Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Redis schreiben auf SD abschalten

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    11
    1
    266

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.8k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    773

Redis schreiben auf SD abschalten

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
10 Beiträge 4 Kommentatoren 651 Aufrufe 3 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • T Offline
    T Offline
    Tobi68
    schrieb am zuletzt editiert von Tobi68
    #1

    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 SDKarte

    Ab 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:~ $ 
    
    
    HomoranH Thomas BraunT 2 Antworten Letzte Antwort
    0
    • T Tobi68

      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 SDKarte

      Ab 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:~ $ 
      
      
      HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #2

      @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.

      kein Support per PN! - Fragen im Forum stellen -
      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      1 Antwort Letzte Antwort
      0
      • T Tobi68

        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 SDKarte

        Ab 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:~ $ 
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von Thomas Braun
        #3

        @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.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        T 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @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.

          T Offline
          T Offline
          Tobi68
          schrieb am zuletzt editiert von
          #4

          @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 BraunT 1 Antwort Letzte Antwort
          0
          • T Tobi68

            @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 BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #5

            @tobi68
            Vermutlich alle seit August 2020.

            sudo apt update
            sudo apt dist-upgrade
            sudo reboot
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            T 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @tobi68
              Vermutlich alle seit August 2020.

              sudo apt update
              sudo apt dist-upgrade
              sudo reboot
              
              T Offline
              T Offline
              Tobi68
              schrieb am zuletzt editiert von
              #6

              @thomas-braun sagte in Redis schreiben auf SD abschalten:

              @tobi68
              Vermutlich alle seit August 2020.

              sudo apt update
              sudo apt dist-upgrade
              sudo reboot
              

              OK 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 BraunT 1 Antwort Letzte Antwort
              0
              • T Tobi68

                @thomas-braun sagte in Redis schreiben auf SD abschalten:

                @tobi68
                Vermutlich alle seit August 2020.

                sudo apt update
                sudo apt dist-upgrade
                sudo reboot
                

                OK 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 BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #7

                @tobi68
                Jedenfalls läuft da ein 'uralter' Kernel und vermutlich auch die ebenfalls 'uralte' Firmware des Pi.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                T 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @tobi68
                  Jedenfalls läuft da ein 'uralter' Kernel und vermutlich auch die ebenfalls 'uralte' Firmware des Pi.

                  T Offline
                  T Offline
                  Tobi68
                  schrieb am zuletzt editiert von
                  #8

                  @thomas-braun

                  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.

                  1 Antwort Letzte Antwort
                  0
                  • arteckA Offline
                    arteckA Offline
                    arteck
                    Developer Most Active
                    schrieb am zuletzt editiert von
                    #9

                    @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 ??

                    zigbee hab ich, zwave auch, nuc's genauso und HA auch

                    HomoranH 1 Antwort Letzte Antwort
                    0
                    • arteckA arteck

                      @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 ??

                      HomoranH Nicht stören
                      HomoranH Nicht stören
                      Homoran
                      Global Moderator Administrators
                      schrieb am zuletzt editiert von
                      #10

                      @arteck Auf die Antwort warte ich seit dem ersten Post

                      kein Support per PN! - Fragen im Forum stellen -
                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      1 Antwort Letzte Antwort
                      0

                      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
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate
                      FAQ Cloud / IOT
                      HowTo: Node.js-Update
                      HowTo: Backup/Restore
                      Downloads
                      BLOG

                      559

                      Online

                      32.9k

                      Benutzer

                      83.0k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe