Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. REDIS will be back

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    REDIS will be back

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dutchman
      Dutchman Developer Most Active Administrators last edited by

      hmm wird wohl an mir liegen….

      neu installation von iobroker auf ubuntu mit nodejs 6 und redis, iobroker einmal gestartet ohne redis danach umgeschaltet (redis vorher natuerlich installiert.

      Iobroker admin nicht erreicht, commando iobroker status sagt running....

      log:

      
      2017-07-15 23:24:39.933  - ^[[32minfo^[[39m: iobroker _restart
      2017-07-15 23:24:39.941  - ^[[32minfo^[[39m: host.HomeMaster terminated
      2017-07-15 23:24:40.181  - ^[[32minfo^[[39m: iobroker Starting node restart.js
      2017-07-15 23:24:40.188  - ^[[32minfo^[[39m: iobroker exit 0
      2017-07-15 23:24:40.333  - ^[[32minfo^[[39m: host.HomeMaster received SIGTERM
      2017-07-15 23:24:40.334  - ^[[32minfo^[[39m: host.HomeMaster terminated
      2017-07-15 23:24:45.707  - ^[[32minfo^[[39m: host.HomeMaster iobroker.js-controller version 1.1.2 js-controller starting
      2017-07-15 23:24:45.711  - ^[[32minfo^[[39m: host.HomeMaster Copyright (c) 2014-2017 bluefox, hobbyquaker
      2017-07-15 23:24:45.711  - ^[[32minfo^[[39m: host.HomeMaster hostname: HomeMaster, node: v6.11.1
      2017-07-15 23:24:45.712  - ^[[32minfo^[[39m: host.HomeMaster ip addresses: 192.168.1.60 fe80::20c:29ff:fef3:bb55
      2017-07-15 23:24:45.740  - ^[[32minfo^[[39m: host.HomeMaster States connected to redis: 127.0.0.1:6379
      2017-07-15 23:24:45.741  - ^[[32minfo^[[39m: host.HomeMaster InRedisDB connected
      2017-07-15 23:24:45.760  - ^[[31merror^[[39m: uncaught exception: Cannot read property 'views' of null
      2017-07-15 23:24:45.762  - ^[[31merror^[[39m: TypeError: Cannot read property 'views' of null
          at /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInRedis.js:1380:24
          at Command.callback (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:639:49)
          at normal_reply (/opt/iobroker/node_modules/redis/index.js:721:21)
          at RedisClient.return_reply (/opt/iobroker/node_modules/redis/index.js:819:9)
          at JavascriptRedisParser.returnReply (/opt/iobroker/node_modules/redis/index.js:192:18)
          at JavascriptRedisParser.execute (/opt/iobroker/node_modules/redis-parser/lib/parser.js:574:12)
          at Socket. <anonymous>(/opt/iobroker/node_modules/redis/index.js:274:27)
          at emitOne (events.js:96:13)
          at Socket.emit (events.js:188:7)
          at readableAddChunk (_stream_readable.js:176:18)
      2017-07-15 23:24:45.765  - ^[[32minfo^[[39m: iobroker _restart
      2017-07-15 23:24:45.774  - ^[[32minfo^[[39m: host.HomeMaster terminated
      2017-07-15 23:24:46.006  - ^[[32minfo^[[39m: iobroker Starting node restart.js
      2017-07-15 23:24:46.012  - ^[[32minfo^[[39m: iobroker exit 0
      2017-07-15 23:24:46.158  - ^[[32minfo^[[39m: host.HomeMaster received SIGTERM
      2017-07-15 23:24:46.158  - ^[[32minfo^[[39m: host.HomeMaster terminated</anonymous> 
      

      nach umschalten auf settings ohne redis geht alles wieder

      Edit: Dieser depp der Dutchman heist sollte mal vernuenftig lesen…. es laeuft !

      Datei => REDIS:

      >iobroker stop
      >iobroker setup custom
      

      ` > Type of objects DB [file, couch, redis], default [file]:

      Host of objects DB(file), default[127.0.0.1]:

      Port of objects DB(file), default[9001]:

      Type of states DB [file, redis], default [file]: redis

      Host 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 [FastPC]:

      creating conf/iobroker.json `

      iobroker start
      

      nur die states und nicht alles auf redis setzen !

      1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by

        hab da ein Problem mit multihost

        redis läuft auf dem Master … kann mich auch von aussen mit verbinden

        started
        Sun Dec 10 2017 10:48:54 GMT+0100 (CET)Restarting iobroker...
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Stopping daemon iobroker...
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Exit code for "kill -KILL 631": 1
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Exit code for "kill -KILL 631": 1
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Exit code for "kill -KILL 796": 1
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Exit code for "kill -KILL 631": 1
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Exit code for "kill -KILL 1025": 1
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Exit code for "kill -KILL 631": 1
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Exit code for "kill -KILL 631": 1
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Exit code for "kill -KILL 1018": 1
        Sun Dec 10 2017 10:48:55 GMT+0100 (CET)Exit code for "kill -KILL 631": 1
        
        

        steht im log auf dem Master.. iobroker startet nicht…

        multihost Umgebung

        Master

        Type of objects DB [file, couch, redis], default [file]: redis
        Host of objects DB(file), default[127.0.0.1]: <0.0.0.0>
        Port of objects DB(file), default[6379]: ENTER
        Type of states DB [file, redis], default [file]: ENTER
        Host of states DB (file), default[0.0.0.0]: ENTER
        Port of states DB (file), default[6379]: ENTER
        Host name of this machine [hostname]: ENTER
        

        Slave alles gleich bis auf die IP

        1 Reply Last reply Reply Quote 0
        • Dutchman
          Dutchman Developer Most Active Administrators last edited by

          Hast du redis so konfiguriert dass er externe Verbindungen erlaubt ?

          –-----------------------

          Send from mobile device

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

            Ich weiß nicht ob das wichtig ist, aber dein master hat angeblich keinen Namen.

            Zu Dutchmans hinweis

            http://www.iobroker.net/docu/?page_id=3 … _mit_redis

            Gruß Rainer

            1 Reply Last reply Reply Quote 0
            • arteck
              arteck Developer Most Active last edited by

              @Dutchman:

              Hast du redis so konfiguriert dass er externe Verbindungen erlaubt ?

              –-----------------------

              Send from mobile device `

              jo.. komme von aussen auch hin

              hab es an 0.0.0.0 gebunden also offen wie ein Scheunentor

              > Ich weiß nicht ob das wichtig ist, aber dein master hat angeblich keinen Namen.

              doch hab es nur nicht reinkopiert.

              hat iobroker nen debugschalter ??? vielleicht kann ich im Log was mehr sehen oder consolenausgaben ??

              1 Reply Last reply Reply Quote 0
              • arteck
                arteck Developer Most Active last edited by

                nur die States Arthur nicht die Objekte…. ahhhhhhhhhhhhhhhhh

                so läuft zumindest vorerst.. hab aber in Redis keine objekte abgelegt bekommen... hmm.. die Db's sind leer

                UPDATE:

                habe redis gerade neu Installiert... jetzt werden auch die objekte in der DB angelegt..
                1518_unbenannt.jpg

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

                  Hallo,

                  hat jemand die objects DB auf redis laufen?

                  Was würde das bringen?

                  Gruß

                  Robert

                  1 Reply Last reply Reply Quote 0
                  • ruhr70
                    ruhr70 last edited by

                    @arteck:

                    nur die States Arthur nicht die Objekte…. ahhhhhhhhhhhhhhhhh

                    so läuft zumindest vorerst.. hab aber in Redis keine objekte abgelegt bekommen... hmm.. die Db's sind leer

                    UPDATE:

                    habe redis gerade neu Installiert... jetzt werden auch die objekte in der DB angelegt.. `

                    womit greifst Du per GUI suf Redis zu?

                    Gesendet von iPhone mit Tapatalk

                    1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 last edited by

                      Objects gehen noch nicht im Redis. Nur States.

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

                        @apollon77:

                        Objects gehen noch nicht im Redis. Nur States. ` Ok, Danke!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        426
                        Online

                        31.7k
                        Users

                        79.8k
                        Topics

                        1.3m
                        Posts

                        23
                        104
                        21836
                        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