Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Auf redis umstellen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Auf redis umstellen

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Renegade 0 last edited by Thomas Braun

      @renegade-0
      Hinweis am Rande: Nicht mit sudo rumfuhrwerken. Und das Kommando iobroker liegt in deinem $PATH.
      ./ ist also unnötig.

      R 1 Reply Last reply Reply Quote 0
      • R
        Renegade 0 @Thomas Braun last edited by Renegade 0

        @thomas-braun ich kopiere nur die Befehle aus den diversen Anleitungen hier im Forum. 🙂
        Und ist ja eine Testkiste. Da kann ich spielen, bis sie Grätscht. Wird dann eh erst wenns läuft auf dem eigentlichen System nachgebaut.

        @apollon77 und warum hab ich die ned?

        Thomas Braun 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Renegade 0 last edited by Thomas Braun

          @renegade-0 sagte in Auf redis umstellen:

          ich kopiere nur die Befehle aus den diversen Anleitungen hier im Forum.

          Das heißt ja nicht dass die alle (heute noch) richtig sind.

          Wird dann eh erst wenns läuft auf dem eigentlichen System nachgebaut.

          Da würde ich dann auf die angemerkten Dinge besonders achten. Sonst zerschießt du dir ggf. die Rechte in dem eigentlichen System.

          R 1 Reply Last reply Reply Quote 0
          • R
            Renegade 0 @Thomas Braun last edited by

            @thomas-braun
            ja in dem arbeite ich dann mit Sorgfalt.

            F 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Renegade 0 last edited by

              @renegade-0 sagte in Auf redis umstellen:

              @apollon77 und warum hab ich die ned?

              Weil du den Verwahrort nie auf Beta umgestellt hast.

              Dr. Bakterius 1 Reply Last reply Reply Quote 0
              • F
                fastfoot @Renegade 0 last edited by

                @renegade-0 sagte in Auf redis umstellen:

                @thomas-braun
                ja in dem arbeite ich dann mit Sorgfalt.

                das solltest du auch mit den Tests für apollon tun, die Ergebnisse sollen ja zu was Vernünftigem führen und nicht auf einem zerschossenen System basieren

                R 1 Reply Last reply Reply Quote 0
                • R
                  Renegade 0 @fastfoot last edited by

                  @fastfoot
                  OK, dann arbeite ich sauberer. Ist ja eh noch nicht wirklich viel passiert. Hab den erst die Woche aufgesetzt.

                  @apollon77 ok, wie stelle ich auf beta um?

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Renegade 0 last edited by

                    @renegade-0 sagte in Auf redis umstellen:

                    wie stelle ich auf beta um?

                    https://www.iobroker.net/#de/documentation/admin/settings.md

                    1 Reply Last reply Reply Quote 0
                    • Dr. Bakterius
                      Dr. Bakterius Most Active @Thomas Braun last edited by

                      Darf ich mich mal anhängen?

                      Ich wollte nun auch mal 'redis' ausprobieren. Also kurz update gemacht und redis installiert. Hat auch ohne Fehler funktioniert. Danach ioBroker gestoppt und setup custom ausgeführt. Ergebnis:

                      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]:
                      Host / Unix Socket of objects DB(file), default[127.0.0.1]:
                      Port of objects DB(file), default[9001]:
                      Type of states DB [(f)file, (r)edis, ...], default [file]: r
                      
                      When States are stored in a Redis database please make sure to configure Redis
                      persistence to make sure a Redis problem will not cause data loss!
                      
                      Host / Unix Socket of states DB (redis), default[127.0.0.1]:
                      Port of states DB (redis), default[6379]:
                      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]:
                      
                      Do you want to migrate objects and states from "file/file" to "file/redis" [y/N]: y
                      Connecting to previous DB "file"...
                      Creating backup ...
                      This can take some time ... please be patient!
                      host.iobroker 11670 states saved
                      host.iobroker 10567 objects saved
                      Backup created: /opt/iobroker/backups/2021_01_21-17_51_56_backupiobroker-migration.tar.gz
                      updating conf/iobroker.json
                      
                      Connecting to new DB "file" (can take up to 20s) ...
                      No connection to states 127.0.0.1:6379[redis]
                      
                      New Database could not be connected. Please check your settings. No settings have been changed.
                      restoring conf/iobroker.json
                      

                      Objects und States bleiben auf file. Bei redis-cli kommt folgende Meldung:

                      Could not connect to Redis at 127.0.0.1:6379: Connection refused
                      

                      Habe den Snapshot wiederhergestellt und noch einmal probiert. Leider mit dem selben Ergebnis.

                      Node.js v12.20.1
                      js-controller v3.2.7
                      redis v5:5.0.3-4+deb10u2

                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Dr. Bakterius last edited by

                        @dr-bakterius sagte in Auf redis umstellen:

                        und redis installiert. Hat auch ohne Fehler funktioniert.

                        nur mal in den Raum geworfen:
                        Muss bei nachträglicher Installation von redis ggf. der Fixer noch mal drüber?

                        F Dr. Bakterius 2 Replies Last reply Reply Quote 0
                        • F
                          fastfoot @Homoran last edited by

                          @homoran sagte in Auf redis umstellen:

                          @dr-bakterius sagte in Auf redis umstellen:

                          und redis installiert. Hat auch ohne Fehler funktioniert.

                          nur mal in den Raum geworfen:
                          Muss bei nachträglicher Installation von redis ggf. der Fixer noch mal drüber?

                          nein, redis installiert sich unabhängig von iobroker und ist deshalb auch nicht vom fixer erfasst. ich vermute dass der redis server nicht läuft

                          Homoran Dr. Bakterius 2 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @fastfoot last edited by

                            @fastfoot sagte in Auf redis umstellen:

                            redis installiert sich unabhängig von iobroker

                            soweit klar, aber ich fragte mich, darf der user ioBroker auch darauf zugreifen?

                            F 1 Reply Last reply Reply Quote 0
                            • Dr. Bakterius
                              Dr. Bakterius Most Active @Homoran last edited by

                              @homoran sagte in Auf redis umstellen:

                              Muss bei nachträglicher Installation von redis ggf. der Fixer noch mal drüber?

                              Keine Ahnung, also einfach nochmal probiert mit Fixer - leider kein Erfolg...

                              1 Reply Last reply Reply Quote 0
                              • R
                                Renegade 0 last edited by

                                @apollon77
                                So update ausgeführt:

                                pi@TestPI:/opt/iobroker $ iobroker update
                                Used repository: Beta (latest)
                                hash unchanged, use cached sources
                                update done
                                Adapter    "accuweather"   : 1.1.4    
                                Adapter    "adb"           : 0.0.5    
                                Adapter    "admin"         : 4.2.1    , installed 4.1.11 [Updateable]
                                Adapter    "alarm"         : 1.9.0    
                                Adapter    "alexa2"        : 3.5.2    
                                Adapter    "alpha2"        : 1.0.0    
                                Adapter    "amazon-dash"   : 1.1.0    
                                Adapter    "artnet"        : 1.2.2    
                                Adapter    "asterisk"      : 1.0.6    
                                Adapter    "asuswrt"       : 1.0.1    
                                Adapter    "b-control-em"  : 0.2.1    
                                Adapter    "backitup"      : 1.8.5    
                                Adapter    "beckhoff"      : 1.2.2    
                                Adapter    "benq"          : 0.2.2    
                                Adapter    "binance"       : 1.1.3    
                                Adapter    "ble"           : 0.12.0   
                                Adapter    "blink4home"    : 0.1.1    
                                Adapter    "bmw"           : 1.4.0    
                                Adapter    "boblight"      : 0.0.1    
                                Adapter    "bosesoundtouch": 0.9.3    
                                Adapter    "botvac"        : 1.0.0    
                                Adapter    "bring"         : 1.7.7    
                                Adapter    "broadlink2"    : 2.1.5    
                                Adapter    "bsblan"        : 0.2.0    
                                Adapter    "bshb"          : 0.1.10   
                                Adapter    "calendar"      : 1.2.0    
                                Adapter    "cameras"       : 0.1.3    
                                Adapter    "canbus"        : 1.0.0-beta.6
                                Adapter    "chromecast"    : 2.3.1    
                                Adapter    "cloud"         : 4.0.1    
                                Adapter    "comfoair"      : 1.1.2    
                                Adapter    "contact"       : 1.1.3    
                                Adapter    "contactid"     : 1.0.2    
                                Adapter    "coronavirus-statistics": 0.6.7   
                                Adapter    "corrently"     : 0.0.2    
                                Adapter    "countdown"     : 1.1.0    
                                Adapter    "cul"           : 1.3.4    
                                Adapter    "daikin"        : 1.3.0    
                                Adapter    "daswetter"     : 3.0.4    
                                Adapter    "deconz"        : 1.3.11   
                                Adapter    "denon"         : 1.10.0   
                                Adapter    "device-reminder": 1.0.6   
                                Adapter    "devices"       : 0.3.15   
                                Adapter    "digitalstrom"  : 2.0.5    
                                Adapter    "discovergy"    : 0.5.4    
                                Adapter    "discovery"     : 2.5.0    , installed 2.4.1 [Updateable]
                                Adapter    "doorbird"      : 0.1.5    
                                Adapter    "doorio"        : 1.1.2    , installed 1.1.1 [Updateable]
                                Adapter    "ds18b20"       : 1.2.1    
                                Adapter    "dwd"           : 2.7.2    
                                Adapter    "ebus"          : 2.2.3    
                                Adapter    "echarts"       : 0.4.9    
                                Adapter    "ecovacs-deebot": 1.0.10   
                                Adapter    "egigeozone"    : 0.1.2    
                                Adapter    "ekey"          : 1.1.0    
                                Adapter    "email"         : 1.0.7    
                                Adapter    "emby"          : 1.0.2    
                                Adapter    "energymanager" : 1.2.3    
                                Adapter    "enet"          : 1.0.1    
                                Adapter    "epson_stylus_px830": 0.2.1   
                                Adapter    "eventlist"     : 0.4.2    
                                Adapter    "exchangerates" : 0.0.13   
                                Adapter    "fahrplan"      : 1.0.2    
                                Adapter    "fakeroku"      : 0.2.1    
                                Adapter    "fb-checkpresence": 1.1.0   
                                Adapter    "feiertage"     : 1.0.19   
                                Adapter    "fhem"          : 1.5.3    
                                Adapter    "find-my-iphone": 0.2.17   
                                Adapter    "firetv"        : 1.0.0    
                                Adapter    "fitbit-api"    : 0.1.1    
                                Adapter    "flot"          : 1.10.6   
                                Adapter    "followthesun"  : 0.2.6    
                                Adapter    "foobar2000"    : 2.0.3    
                                Adapter    "fritzbox"      : 0.2.1    
                                Adapter    "fritzdect"     : 2.1.7    
                                Adapter    "fronius"       : 1.1.1    
                                Adapter    "frontier_silicon": 0.0.10  
                                Adapter    "fullcalendar"  : 1.1.0    
                                Adapter    "fullybrowser"  : 2.0.4    
                                Adapter    "g-homa"        : 0.5.3    
                                Adapter    "geofency"      : 0.3.2    
                                Adapter    "go-e"          : 1.0.0    
                                Adapter    "growatt"       : 0.0.17   
                                Adapter    "gruenbeck"     : 0.0.27   
                                Adapter    "habpanel"      : 0.4.3    
                                Adapter    "haier"         : 1.0.3    
                                Adapter    "ham"           : 3.0.2    
                                Adapter    "ham-wemo"      : 1.1.0    
                                Adapter    "harmony"       : 1.2.2    
                                Adapter    "hass"          : 1.0.0    
                                Adapter    "hass-mqtt"     : 0.0.7    
                                Adapter    "heatingcontrol": 2.0.1    
                                Adapter    "heos"          : 1.6.2    
                                Adapter    "heytech"       : 1.0.1    
                                Adapter    "hid"           : 0.1.17   
                                Adapter    "hilink"        : 0.2.7    
                                Adapter    "history"       : 1.9.12   , installed 1.9.10 [Updateable]
                                Adapter    "hm-rega"       : 3.0.7    
                                Adapter    "hm-rpc"        : 1.14.31  
                                Adapter    "hmip"          : 1.6.1    
                                Adapter    "hombot"        : 0.1.3    
                                Adapter    "homeconnect"   : 0.0.31   
                                Adapter    "homee"         : 1.1.0    
                                Adapter    "homepilot"     : 1.1.4    
                                Adapter    "hp-ilo"        : 1.0.6    
                                Adapter    "hs100"         : 2.0.2    
                                Adapter    "hue"           : 3.4.0    
                                Adapter    "hue-extended"  : 2.0.0    
                                Adapter    "hyperion"      : 0.0.9    
                                Adapter    "i2c"           : 1.1.1    
                                Adapter    "ical"          : 1.9.0    
                                Adapter    "icons-addictive-flavour-png": 0.1.0   
                                Adapter    "icons-fatcow-hosting": 0.1.0   
                                Adapter    "icons-icons8"  : 0.0.1    
                                Adapter    "icons-material-png": 0.1.0   
                                Adapter    "icons-material-svg": 0.1.0   
                                Adapter    "icons-mfd-png" : 1.0.2    
                                Adapter    "icons-mfd-svg" : 1.0.2    , installed 1.0.2
                                Adapter    "icons-open-icon-library-png": 0.1.2   
                                Adapter    "icons-ultimate-png": 1.0.1   
                                Adapter    "influxdb"      : 1.9.4    
                                Adapter    "info"          : 1.7.15   , installed 1.7.10 [Updateable]
                                Adapter    "innogy-smarthome": 0.3.6   
                                Adapter    "intesishome"   : 0.1.2    
                                Adapter    "iogo"          : 0.6.5    
                                Adapter    "iot"           : 1.8.11   
                                Adapter    "iqontrol"      : 1.5.6    
                                Adapter    "jarvis"        : 2.1.0    
                                Adapter    "javascript"    : 4.10.9   , installed 4.8.4 [Updateable]
                                Adapter    "jeelink"       : 0.1.3    
                                Controller "js-controller" : 3.2.7    , installed 3.1.6 [Updateable]
                                Adapter    "js2fs"         : 0.1.5    
                                Adapter    "kecontact"     : 1.0.1    
                                Adapter    "klf200"        : 1.0.1    
                                Adapter    "km200"         : 2.0.3    
                                Adapter    "knmi-weather"  : 1.0.0    
                                Adapter    "knx"           : 1.0.42   
                                Adapter    "kodi"          : 2.0.4    
                                Adapter    "kostal-piko-ba": 1.1.5    
                                Adapter    "kress"         : 2.5.5    
                                Adapter    "lametric"      : 1.1.2    
                                Adapter    "landroid"      : 1.0.3    
                                Adapter    "lcn"           : 1.0.2    
                                Adapter    "legrand-ecocompteur": 1.0.0   
                                Adapter    "letrika_comgw" : 0.0.5    
                                Adapter    "lgtv"          : 1.1.10   
                                Adapter    "lgtv-rs"       : 0.1.0    
                                Adapter    "lgtv11"        : 1.0.5    
                                Adapter    "lifx"          : 0.1.1    
                                Adapter    "lightify"      : 0.2.16   
                                Adapter    "link"          : 0.5.10   
                                Adapter    "linkeddevices" : 1.4.2    
                                Adapter    "linux-control" : 1.1.2    
                                Adapter    "logparser"     : 1.1.0    
                                Adapter    "lovelace"      : 1.4.2    
                                Adapter    "loxone"        : 2.1.0    
                                Adapter    "luftdaten"     : 1.0.1    
                                Adapter    "lupusec"       : 1.2.9    
                                Adapter    "luxtronik1"    : 0.3.0    
                                Adapter    "material"      : 0.13.9   
                                Adapter    "maxcube"       : 1.0.2    
                                Adapter    "maxcul"        : 1.3.1    
                                Adapter    "mbus"          : 2.3.1    
                                Adapter    "mclighting"    : 0.1.1    
                                Adapter    "megad"         : 1.2.1    
                                Adapter    "megadd"        : 0.2.0    
                                Adapter    "megaesp"       : 0.1.0    
                                Adapter    "melcloud"      : 1.1.1    
                                Adapter    "mercedesme"    : 0.0.43   
                                Adapter    "mercury"       : 0.1.3    
                                Adapter    "meross"        : 1.5.1    
                                Adapter    "meteoalarm"    : 1.1.1    
                                Adapter    "midea"         : 0.0.6    
                                Adapter    "miele"         : 0.1.5    
                                Adapter    "mielecloudservice": 2.0.3   
                                Adapter    "mihome"        : 1.3.6    
                                Adapter    "mihome-airpurifier": 0.1.8   
                                Adapter    "mihome-lamp"   : 1.1.0    
                                Adapter    "mihome-plug"   : 0.2.1    
                                Adapter    "mihome-vacuum" : 2.1.1    
                                Adapter    "miio"          : 0.0.13   
                                Adapter    "mikrotik"      : 1.0.12   
                                Adapter    "milight"       : 0.3.6    
                                Adapter    "milight-smart-light": 1.2.0   
                                Adapter    "minuvis"       : 1.2.0    
                                Adapter    "mobile"        : 1.0.1    , installed 1.0.1
                                Adapter    "modbus"        : 3.2.2    
                                Adapter    "moma"          : 1.2.7    
                                Adapter    "mpd"           : 1.0.5    
                                Adapter    "mqtt"          : 2.3.2    
                                Adapter    "mqtt-client"   : 1.3.1    
                                Adapter    "multicast"     : 0.1.5    
                                Adapter    "musiccast"     : 0.1.5    
                                Adapter    "mydlink"       : 1.1.7    
                                Adapter    "myq"           : 0.1.1    
                                Adapter    "mysensors"     : 2.0.1    
                                Adapter    "mystrom"       : 0.0.2    
                                Adapter    "mytime"        : 0.6.1    
                                Adapter    "myvbus"        : 0.0.6    
                                Adapter    "nanoleaf-lightpanels": 1.2.0   
                                Adapter    "net-tools"     : 0.1.1    
                                Adapter    "netatmo"       : 1.3.3    
                                Adapter    "netatmo-crawler": 0.3.9   
                                Adapter    "nibeuplink"    : 0.4.0    
                                Adapter    "nina"          : 0.0.23   
                                Adapter    "node-red"      : 2.0.4    , installed 2.0.3 [Updateable]
                                Adapter    "noolitef"      : 0.0.2    
                                Adapter    "nuki"          : 1.4.3    
                                Adapter    "nuki-extended" : 2.3.0    
                                Adapter    "nut"           : 1.4.0    
                                Adapter    "octoprint"     : 1.0.6    
                                Adapter    "odl"           : 1.1.4    
                                Adapter    "oilfox"        : 2.1.0    
                                Adapter    "onkyo"         : 2.0.3    
                                Adapter    "onvif"         : 0.4.4    
                                Adapter    "openhab"       : 1.1.0    
                                Adapter    "openligadb"    : 1.2.0    
                                Adapter    "opentherm"     : 0.1.9    
                                Adapter    "openweathermap": 0.1.0    
                                Adapter    "opi"           : 0.1.1    
                                Adapter    "oppoplayer"    : 0.2.1    
                                Adapter    "owfs"          : 0.6.4    
                                Adapter    "owntracks"     : 1.0.0    
                                Adapter    "panasonic-viera": 1.0.2   
                                Adapter    "parser"        : 1.0.7    
                                Adapter    "paw"           : 0.3.2    
                                Adapter    "phantomjs"     : 1.1.2    
                                Adapter    "philips-air"   : 0.1.0    
                                Adapter    "pi-hole"       : 1.3.1    
                                Adapter    "piface"        : 1.0.0    
                                Adapter    "pimatic"       : 0.3.0    
                                Adapter    "ping"          : 1.4.12   
                                Adapter    "places"        : 1.0.0    
                                Adapter    "plenticore"    : 2.1.6    
                                Adapter    "plex"          : 0.9.1    
                                Adapter    "plexconnect"   : 0.0.7    
                                Adapter    "pollenflug"    : 1.0.6    
                                Adapter    "procon-ip"     : 1.0.2    
                                Adapter    "proxmox"       : 1.1.0    
                                Adapter    "proxy"         : 1.2.1    
                                Adapter    "pushbullet"    : 0.0.11   
                                Adapter    "pushover"      : 2.0.3    
                                Adapter    "pushsafer"     : 1.0.3    
                                Adapter    "radar2"        : 2.0.1    
                                Adapter    "radiohead"     : 1.1.1    
                                Adapter    "rainbird"      : 0.2.2    
                                Adapter    "rflink"        : 2.1.6    
                                Adapter    "rickshaw"      : 1.0.0    
                                Adapter    "ring"          : 1.1.3    
                                Adapter    "roadtraffic"   : 0.2.0    
                                Adapter    "robonect"      : 0.1.4    
                                Adapter    "roomba"        : 1.1.1    
                                Adapter    "rpi2"          : 1.2.0    
                                Adapter    "rssfeed"       : 0.0.30   
                                Adapter    "s7"            : 1.1.9    
                                Adapter    "samsung"       : 0.2.9    
                                Adapter    "sanext"        : 0.0.4    
                                Adapter    "sayit"         : 1.12.2   
                                Adapter    "sbfspot"       : 4.0.3    
                                Adapter    "scenes"        : 2.3.4    
                                Adapter    "schoolfree"    : 0.7.0    
                                Adapter    "schwoerer-ventcube": 1.3.0   
                                Adapter    "senec"         : 1.0.12   
                                Adapter    "seq"           : 0.2.5    
                                Adapter    "shelly"        : 4.0.4    
                                Adapter    "shuttercontrol": 1.1.3    
                                Adapter    "sia"           : 1.0.4    
                                Adapter    "siegenia"      : 1.0.1    
                                Adapter    "simple-api"    : 2.5.2    , installed 2.5.2
                                Adapter    "sma-em"        : 0.6.1-beta.0
                                Adapter    "smappee"       : 0.2.2    
                                Adapter    "smartcontrol"  : 1.2.1    
                                Adapter    "smartgarden"   : 1.0.2    
                                Adapter    "smartmeter"    : 3.1.8    
                                Adapter    "snips"         : 1.5.1    
                                Adapter    "snmp"          : 0.5.0    
                                Adapter    "socketio"      : 3.1.4    , installed 3.1.4
                                Adapter    "solarlog"      : 2.0.1    
                                Adapter    "solarviewdatareader": 0.2.1   
                                Adapter    "solarwetter"   : 1.0.0    
                                Adapter    "sonnen"        : 1.7.0    
                                Adapter    "sonoff"        : 2.3.3    
                                Adapter    "sonos"         : 2.1.1    
                                Adapter    "sonus"         : 0.1.1    
                                Adapter    "sony-bravia"   : 1.0.3    
                                Adapter    "sourceanalytix": 0.4.8    
                                Adapter    "spotify-premium": 1.0.0   
                                Adapter    "sprinklecontrol": 0.1.2   
                                Adapter    "sql"           : 1.15.4   
                                Adapter    "squeezebox"    : 1.0.0    
                                Adapter    "squeezeboxrpc" : 1.3.2    
                                Adapter    "starline"      : 1.0.0    
                                Adapter    "statistics"    : 1.0.2    
                                Adapter    "stiebel-isg"   : 1.6.0    
                                Adapter    "stockmarket"   : 0.0.2    
                                Adapter    "sunnyportal"   : 0.1.5    
                                Adapter    "swiss-weather-api": 0.3.2   
                                Adapter    "synology"      : 0.1.18   
                                Adapter    "systeminfo"    : 0.3.1    
                                Adapter    "tado"          : 0.2.5    
                                Adapter    "tahoma"        : 0.3.3    
                                Adapter    "tankerkoenig"  : 2.0.9    
                                Adapter    "telegram"      : 1.7.0    
                                Adapter    "terminal"      : 0.1.2    
                                Adapter    "tesla-motors"  : 0.3.1    
                                Adapter    "text2command"  : 2.0.7    
                                Adapter    "tileboard"     : 0.3.1    
                                Adapter    "tinker"        : 1.1.0    
                                Adapter    "tino"          : 1.0.0    
                                Adapter    "tinyrx4"       : 1.0.0    
                                Adapter    "todoist2"      : 0.8.5    
                                Adapter    "tr-064"        : 4.2.3    
                                Adapter    "tradfri"       : 2.6.5    
                                Adapter    "trashschedule" : 1.0.3    
                                Adapter    "tunnelbroker-endpoint-updater": 0.0.1   
                                Adapter    "tuya"          : 3.5.3    
                                Adapter    "tvspielfilm"   : 2.0.1    
                                Adapter    "unifi"         : 0.5.8    
                                Adapter    "unifi-protect" : 0.0.11   
                                Adapter    "upnp"          : 1.0.16   
                                Adapter    "vaillant"      : 0.0.10   
                                Adapter    "valloxmv"      : 1.1.1    
                                Adapter    "vcard"         : 0.0.9    
                                Adapter    "vedirect"      : 0.1.2    
                                Adapter    "velux"         : 0.0.6    
                                Adapter    "viessmann"     : 1.3.3    
                                Adapter    "viessmannapi"  : 1.3.2    
                                Adapter    "virtualpowermeter": 1.3.0   
                                Adapter    "vis"           : 1.3.7    , installed 1.3.4 [Updateable]
                                Adapter    "vis-bars"      : 0.1.4    , installed 0.1.4
                                Adapter    "vis-canvas-gauges": 0.1.5   
                                Adapter    "vis-colorpicker": 1.2.0   
                                Adapter    "vis-fancyswitch": 1.1.0   
                                Adapter    "vis-google-fonts": 0.1.0   
                                Adapter    "vis-history"   : 1.0.0    
                                Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.7
                                Adapter    "vis-icontwo"   : 0.38.0   
                                Adapter    "vis-inventwo"  : 2.7.4    
                                Adapter    "vis-jqui-mfd"  : 1.0.12   
                                Adapter    "vis-justgage"  : 1.0.2    
                                Adapter    "vis-keyboard"  : 0.0.2    
                                Adapter    "vis-lcars"     : 1.0.4    , installed 1.0.4
                                Adapter    "vis-map"       : 1.0.4    
                                Adapter    "vis-material"  : 0.1.3    
                                Adapter    "vis-material-advanced": 1.3.0   , installed 1.3.0
                                Adapter    "vis-material-webfont": 0.0.3   
                                Adapter    "vis-materialdesign": 0.4.2   
                                Adapter    "vis-metro"     : 1.1.2    
                                Adapter    "vis-players"   : 0.1.6    
                                Adapter    "vis-plumb"     : 1.0.2    
                                Adapter    "vis-rgraph"    : 0.0.2    
                                Adapter    "vis-timeandweather": 1.1.7   
                                Adapter    "vis-weather"   : 2.5.2    
                                Adapter    "vodafone-speedtest": 0.0.5   
                                Adapter    "volvo"         : 0.0.3    
                                Adapter    "vr200"         : 1.0.0    
                                Adapter    "vw-connect"    : 0.0.23   
                                Adapter    "weatherflow_udp": 0.0.14  
                                Adapter    "weatherunderground": 3.2.5   
                                Adapter    "web"           : 3.2.3    , installed 3.1.0 [Updateable]
                                Adapter    "web-speedy"    : 0.2.0    
                                Adapter    "weishaupt-wem" : 0.0.8    
                                Adapter    "whatsapp-cmb"  : 0.1.6    
                                Adapter    "wiffi-wz"      : 2.2.0    
                                Adapter    "wifilight"     : 1.1.0    
                                Adapter    "windows-control": 0.1.5   
                                Adapter    "wlanthermo-nano": 0.1.1   
                                Adapter    "wled"          : 0.5.6    
                                Adapter    "wm-bus"        : 0.3.1    
                                Adapter    "wolf"          : 1.2.1    
                                Adapter    "worx"          : 1.2.7    
                                Adapter    "xbox"          : 0.7.3    
                                Adapter    "xs1"           : 1.0.2    
                                Adapter    "yahka"         : 0.13.1   
                                Adapter    "yamaha"        : 0.4.0    
                                Adapter    "yeelight-2"    : 1.0.3    
                                Adapter    "youtube"       : 1.0.1    
                                Adapter    "yr"            : 2.0.3    
                                Adapter    "zigbee"        : 1.4.2    
                                Adapter    "zoneminder"    : 0.3.3    
                                Adapter    "zont"          : 0.5.4    
                                Adapter    "zwave"         : 2.0.1    
                                Adapter    "zwave2"        : 1.8.6    
                                pi@TestPI:/opt/iobroker $ iobroker upgrade self
                                Update js-controller from @3.1.6 to @3.2.7
                                NPM version: 6.14.10
                                npm install iobroker.js-controller@3.2.7 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                Starting node restart.js
                                pi@TestPI:/opt/iobroker $ 
                                

                                und jetzt wieder redis einstellen und migrieren oder?

                                1 Reply Last reply Reply Quote 0
                                • Dr. Bakterius
                                  Dr. Bakterius Most Active @fastfoot last edited by

                                  @fastfoot sagte in Auf redis umstellen:

                                  ich vermute dass der redis server nicht läuft

                                  Ein sudo systemctl restart redis-server hat auf jeden Fall nicht geholfen.

                                  Thomas Braun F Dr. Bakterius 3 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Dr. Bakterius last edited by Thomas Braun

                                    @dr-bakterius
                                    Der user iobroker muss in die Gruppe 'redis' gepackt werden:

                                    sudo usermod -aG redis iobroker
                                    

                                    Den user iobroker einmal abmelden, am besten vielleicht mal rebooten.
                                    Dann werden die Gruppen neueingelesen.

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • F
                                      fastfoot @Homoran last edited by

                                      @homoran sagte in Auf redis umstellen:

                                      @fastfoot sagte in Auf redis umstellen:

                                      redis installiert sich unabhängig von iobroker

                                      soweit klar, aber ich fragte mich, darf der user ioBroker auch darauf zugreifen?

                                      im gezeigten Aufruf der redis-cli ist der user ja nicht iobroker sondern der user auf dem host

                                      1 Reply Last reply Reply Quote 1
                                      • Homoran
                                        Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                                        @fastfoot sagte in Auf redis umstellen:

                                        im gezeigten Aufruf der redis-cli ist der user ja nicht iobroker sondern der user auf dem host

                                        😰 Danke für den Tritt gegen da Schienbein!

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fastfoot @Dr. Bakterius last edited by

                                          @dr-bakterius sagte in Auf redis umstellen:

                                          @fastfoot sagte in Auf redis umstellen:

                                          ich vermute dass der redis server nicht läuft

                                          Ein sudo systemctl restart redis-server hat auf jeden Fall nicht geholfen.

                                          dann sollte ein Blick ins redis log helfen

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            Renegade 0 last edited by

                                            Also hab jetzt mal migrieren wollen:

                                            pi@TestPI:~ $ iobroker stop
                                            pi@TestPI:~ $ 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]: r
                                            Port of objects DB(redis), default[6379]: 
                                            Type of states DB [(f)file, (r)edis, ...], default [redis]: 
                                            Host / Unix Socket of states DB (redis), default[r]: 
                                            Port of states DB (redis), default[6379]: 
                                            Host name of this machine [TestPI]: 
                                            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!
                                            
                                            
                                            Do you want to migrate objects and states from "file/file" to "redis/redis" [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.TestPI 609 states saved
                                            host.TestPI 747 objects saved
                                            Backup created: /opt/iobroker/backups/2021_01_21-18_36_16_backupiobroker-migration.tar.gz
                                            updating conf/iobroker.json
                                            
                                            Connecting to new DB "redis" (can take up to 20s) ...
                                            No connection to objects r:6379[redis]
                                            
                                            New Database could not be connected. Please check your settings. No settings have been changed.
                                            restoring conf/iobroker.json
                                            No connection to states r:6379[redis]
                                            pi@TestPI:~ $ redis-cli ping
                                            PONG
                                            pi@TestPI:~ $ 
                                            
                                            F Homoran 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            908
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            100
                                            12810
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo