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.
    • 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
                  • F
                    fastfoot @Renegade 0 last edited by

                    @renegade-0 sagte in Auf redis umstellen:

                    default[127.0.0.1]: r

                    du hast die IP mit r überschrieben 🙂

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

                      @fastfoot uups.^^
                      ok nochmal von vorn 🙂

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

                        @renegade-0 sagte in Auf redis umstellen:

                        No connection to states r:6379[redis]

                        was macht das r da?

                        EDIT: @fastfoot war schneller

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

                          @homoran

                          jaja schon gefixt. 🙂

                          @apollon77 So alles nochmal nach Vorschrift gemacht. Läuft wie eine 1.

                          nur mein DoorIO macht immer noch mucken, aber das geht in den passenden Thread.

                          Danke dir vielmals 🙂

                          Homoran F 2 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Renegade 0 last edited by Homoran

                            @renegade-0 sagte in Auf redis umstellen:

                            aber das geht in den passenden Thread.

                            Auch für die anderen Threads bitte nochmal Zusammenfassen:
                            Du hast jetzt controller 3.2.x und redis?

                            Und auch die Objekte in redis, wenn ich das richtig gesehen habe?

                            @renegade-0 sagte in Auf redis umstellen:

                            Do you want to migrate objects and states from "file/file" to "redis/redis" [y/N]: y

                            EDIT: im anderen Thread habe ich gerade gefunden:

                            So nun mein ganzes System auf die Latest gezogen, redis draufgepackt und migriert. Alle Adapter aktualisiert.

                            Hab das gar nicht mitbekommen, hast du jetzt wirklich ALLE Adapter auf latest?

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

                              @homoran
                              OK wird gemacht

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

                                @renegade-0 sagte in Auf redis umstellen:

                                So alles nochmal nach Vorschrift gemacht. Läuft wie eine 1.

                                Sorgfalt zahlt sich aus 🙂

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

                                  Noch ein Versuch - gleiches Ergebnis.
                                  sudo systemctl restart redis-server
                                  ergibt:

                                  Job for redis-server.service failed because the control process exited with error code.
                                  See "systemctl status redis-server.service" and "journalctl -xe" for details.
                                  

                                  systemctl status redis-server.service
                                  ergibt:

                                  * redis-server.service - Advanced key-value store
                                     Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
                                     Active: failed (Result: exit-code) since Thu 2021-01-21 19:08:33 CET; 13s ago
                                       Docs: http://redis.io/documentation,
                                             man:redis-server(1)
                                    Process: 6559 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=226/NAMESPA
                                  

                                  Und sudo journalctl -xe
                                  ergibt:

                                  -- Defined-By: systemd
                                  -- Support: https://www.debian.org/support
                                  --
                                  -- The process /usr/bin/redis-server could not be executed and failed.
                                  --
                                  -- The error number returned by this process is ERRNO.
                                  Jan 21 19:08:33 iobroker systemd[1]: redis-server.service: Control process exited, code=exited, status
                                  -- Subject: Unit process exited
                                  -- Defined-By: systemd
                                  -- Support: https://www.debian.org/support
                                  --
                                  -- An ExecStart= process belonging to unit redis-server.service has exited.
                                  --
                                  -- The process' exit code is 'exited' and its exit status is 226.
                                  Jan 21 19:08:33 iobroker systemd[1]: redis-server.service: Failed with result 'exit-code'.
                                  -- Subject: Unit failed
                                  -- Defined-By: systemd
                                  -- Support: https://www.debian.org/support
                                  --
                                  -- The unit redis-server.service has entered the 'failed' state with result 'exit-code'.
                                  Jan 21 19:08:33 iobroker systemd[1]: Failed to start Advanced key-value store.
                                  -- Subject: A start job for unit redis-server.service has failed
                                  -- Defined-By: systemd
                                  -- Support: https://www.debian.org/support
                                  --
                                  -- A start job for unit redis-server.service has finished with a failure.
                                  --
                                  -- The job identifier is 674 and the job result is failed.
                                  Jan 21 19:08:33 iobroker systemd[1]: redis-server.service: Service RestartSec=100ms expired, schedulin
                                  Jan 21 19:08:33 iobroker systemd[1]: redis-server.service: Scheduled restart job, restart counter is a
                                  -- Subject: Automatic restarting of a unit has been scheduled
                                  -- Defined-By: systemd
                                  -- Support: https://www.debian.org/support
                                  --
                                  -- Automatic restarting of the unit redis-server.service has been scheduled, as the result for
                                  -- the configured Restart= setting for the unit.
                                  Jan 21 19:08:33 iobroker systemd[1]: Stopped Advanced key-value store.
                                  -- Subject: A stop job for unit redis-server.service has finished
                                  -- Defined-By: systemd
                                  -- Support: https://www.debian.org/support
                                  --
                                  -- A stop job for unit redis-server.service has finished.
                                  --
                                  -- The job identifier is 715 and the job result is done.
                                  Jan 21 19:08:33 iobroker systemd[1]: redis-server.service: Start request repeated too quickly.
                                  Jan 21 19:08:33 iobroker systemd[1]: redis-server.service: Failed with result 'exit-code'.
                                  -- Subject: Unit failed
                                  -- Defined-By: systemd
                                  -- Support: https://www.debian.org/support
                                  --
                                  -- The unit redis-server.service has entered the 'failed' state with result 'exit-code'.
                                  Jan 21 19:08:33 iobroker systemd[1]: Failed to start Advanced key-value store.
                                  -- Subject: A start job for unit redis-server.service has failed
                                  -- Defined-By: systemd
                                  -- Support: https://www.debian.org/support
                                  --
                                  -- A start job for unit redis-server.service has finished with a failure.
                                  --
                                  -- The job identifier is 715 and the job result is failed.
                                  

                                  Der Ordner \var\log\redis ist leer.

                                  Jemand noch eine Idee?

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

                                    Mit /usr/bin/redis-server /etc/redis/redis.conf kann man ja die Config prüfen. Das ergibt:

                                    *** FATAL CONFIG FILE ERROR ***
                                    Reading the configuration file, at line 171
                                    >>> 'logfile /var/log/redis/redis-server.log'
                                    Can't open the log file: Permission denied
                                    

                                    Also folgendes gemacht:
                                    Eine leere redis-server.log erstellt und dann
                                    sudo chown -R redis:redis /var/log/redis
                                    sudo chmod -R u+rwX,g+rwX,u+rx /var/log/redis
                                    sudo chmod +r /etc/redis/redis.conf

                                    Allerdings ohne Erfolg.

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

                                      @dr-bakterius Da würde ich ja auch zunächst Mal schauen wem das Log mit welchen Rechten gehört. Dann kannst du halt da was ändern. Ich vermute ja immer noch eine fehlende Gruppenzugehörigkeit.

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

                                        @dr-bakterius sagte in Auf redis umstellen:

                                        Allerdings ohne Erfolg.

                                        probiere mal (ohne Gewähr)

                                        sudo systemctl edit redis-server
                                        
                                        [Service]
                                        ProtectHome=no
                                        
                                        
                                        Save and exit the editor 
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fastfoot @Thomas Braun last edited by

                                          @thomas-braun sagte in Auf redis umstellen:

                                          @dr-bakterius Da würde ich ja auch zunächst Mal schauen wem das Log mit welchen Rechten gehört. Dann kannst du halt da was ändern. Ich vermute ja immer noch eine fehlende Gruppenzugehörigkeit.

                                          er ist nicht iobroker, das würde sich erst beim Zugriff bemerkbar machen und ist dann evtl nochmal Thema. für jetzt startet der server erst gar nicht

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

                                            @thomas-braun sagte in Auf redis umstellen:

                                            Da würde ich ja auch zunächst Mal schauen wem das Log mit welchen Rechten gehört.

                                            Es wird ja erst gar keine Log-Datei erstellt. Den Ordner habe ich mal als Test '777' zugewiesen - brachte aber auch nichts.

                                            @fastfoot sagte in Auf redis umstellen:

                                            probiere mal (ohne Gewähr)

                                            Danke, aber leider kein Erfolg.

                                            F 1 Reply 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

                                            824
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            100
                                            12814
                                            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