Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Speicher vergrößern?!

    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

    Speicher vergrößern?!

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      Wenn du

      Ein komplettes image ist für einen Slave nicht geeignet.

      Da müsstest du erst alle Adapter bis auf den Admin vollständig entfernen, bevor du ohn in den Multihost modus als Slave versetzst.

      @SmarthomeMF:

      Aber was ist -chmod 777- `
      Die Rechte aller Dateien für alle freigeben.

      Gruß Rainer

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

        so ich habe nun noch mal die Images auf beiden Raspi neu rauf gespielt und das ganze noch mal gemacht.

        1.-sudo chmod 777 /opt/ioBroker- bei beiden

        2. beim Master -./iobroker setup custom

        ==> nach der neuen Anleitung eingestellt.

        3. beim Slave -./iobroker setup custom

        ==> nach der neuen Anleitung eingestellt.

        –-nur die IP bei Host

        Dann kam sofort beim Slave

        Type of objects DB [(f)ile, (c)ouch, (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]:
        Host / Unix Socket of states DB (file), default[127.0.0.1]: 192.168.xx.xx
        Port of states DB (file), default[9000]:
        Data directory (file), default[../../../iobroker-data/]:
        Host name of this machine [ioBroker-Pi-Slave1]:
        creating conf/iobroker.json
        readline.js:980
                    throw err;
                    ^
        
        Error: EACCES: permission denied, open '/opt/iobroker/iobroker-data/iobroker.json'
            at Error (native)
            at Object.fs.openSync (fs.js:642:18)
            at Object.fs.writeFileSync (fs.js:1356:33)
            at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:576:60
            at Interface._onLine (readline.js:230:5)
            at Interface._line (readline.js:583:8)
            at Interface._ttyWrite (readline.js:860:14)
            at ReadStream.onkeypress (readline.js:119:10)
            at emitTwo (events.js:106:13)
            at ReadStream.emit (events.js:191:7)
        
        

        Ich verstehe nur Bahnhof :?:

        Kann mir wer helfen

        Der Pi ist über Putty und ach vom http://localhost:8081/ erreichbar.

        Aber kein Multihost!

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

          ok ich habe nicht alle Adapter gelöscht!

          nur die was doppelt waren

          Ich probiere es gleich noch mal.

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

            Diese ganzen Befehle musst du nur machen wenn du iobroker selbst installierst.

            Im image ist alles ok

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

              so nun habe ich alles gelöscht bis auf Admin

              dann beim Slave -./iobroker setup custom

              :? das lief durch ohne einen Fehler

              restart iobroker…..

              aber kein Multihost im Master

              habe auch den Admin Adapter schon neu gestartet.

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

                Beim Master vorher setup custom mit ip 0.0.0.0 gemacht?

                Achtung!

                Die images arbeiten mit redis!

                Entweder vorher wieder auf file umstellen oder auch die redis conf bearbeiten

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

                  @Homoran:

                  Beim Master vorher setup custom mit ip 0.0.0.0 gemacht? `
                  habe ich gemacht
                  @Homoran:

                  Achtung!Die images arbeiten mit redis!Entweder vorher wieder auf file umstellen oder auch die redis conf bearbeiten `
                  hast du mehr Infos da für mich damit weis ich nicht weiter

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

                    Entweder bei setup custom bei den states BEIDE hosts auf redis oder BEIDE auf file einstellen

                    Wenn redis dann die änderungen gemäß der Multihost Anleitung für redis durchführen.

                    Bin nicht mehr am PC. Kann nicht verlinken oder zitieren.

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

                      nein keine redis…

                      Datei ist lehr..

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

                        hätte ich probiert

                        war mir nicht ganz sicher wo file…

                        Type of objects DB [(f)ile, (c)ouch, (r)edis], default [file]: f
                        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]: f
                        Host / Unix Socket of states DB (file), default[127.0.0.1]: 192.168.188.40
                        Port of states DB (file), default[9000]:
                        Data directory (file), default[../../../iobroker-data/]:
                        Host name of this machine [ioBroker-Pi-Slave1]:
                        creating conf/iobroker.json
                        readline.js:980
                                    throw err;
                                    ^
                        
                        Error: EACCES: permission denied, open '/opt/iobroker/iobroker-data/iobroker.json'
                            at Error (native)
                            at Object.fs.openSync (fs.js:642:18)
                            at Object.fs.writeFileSync (fs.js:1356:33)
                            at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:576:60
                            at Interface._onLine (readline.js:230:5)
                            at Interface._line (readline.js:583:8)
                            at Interface._ttyWrite (readline.js:860:14)
                            at ReadStream.onkeypress (readline.js:119:10)
                            at emitTwo (events.js:106:13)
                            at ReadStream.emit (events.js:191:7)
                        
                        

                        aber es kommt wieder der ERROR :oops: ich kann ihn nicht mehr sehen!

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

                          Ich werde das morgen mal versuchen zu reproduzieren.

                          Bin schon im Bett :oops:

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

                            ok

                            Also vielen dann bis hir hin!!!

                            Ohne euch würde ich das nicht schaffen…

                            echt eine Coole Leute hir

                            DANKE

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

                              irgend was stimmt hir nicht!

                              Ich habe den Slave nun per hand aufgesetzt.

                              Also eine nue ioBroker installation ohne irgend welchen Adaptern.

                              Dann beim Slave –>sudo iobroker setup custom

                              Die IP des Masters eingegeben und neu gestartet....

                              wieder kein Multihost!!

                              Was mach ich falsch?

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

                                ist der Master mit setup custom http://www.iobroker.net/docu/?page_id=3068&lang=de#Aenderung_ab_js-controller_Version_110 "freigeschaltet"

                                Gruß

                                Rainer

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

                                  und welche Meldung kommt jetzt?

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

                                    es läuft bei beiden alles ordnungsgemäß durch!!

                                    Ich bekomme keinen Fehler….

                                    nur bekomme ich auch keine zweiten Host angezeigt im Hosts!

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

                                      so ich mach es noch mal von neu!

                                      1. beim Master

                                      sudo iobroker setup custom
                                      

                                      Dann Einstellung:

                                      Type of objects DB [file, couch, redis], default [file]: ENTER
                                      Host of objects DB(file), default[127.0.0.1]: <0.0.0.0>
                                      Port of objects DB(file), default[9001]: 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[9000]: ENTER
                                      Host name of this machine [hostname]: ENTER
                                      

                                      die hast du noch mal geändert?

                                      2. beim Slave

                                      sudo iobroker setup custom
                                      

                                      Dann Einstellung:

                                      Type of objects DB [file, couch, redis], default [file]: ENTER
                                      Host of objects DB(file), default[127.0.0.1]: <192.168.1x.xx> meine IP vom Master
                                      Port of objects DB(file), default[9001]: ENTER
                                      Type of states DB [file, redis], default [file]: ENTER
                                      Host of states DB (file), default[cubie]:<192.168.1x.xx> meine IP vom Master
                                      Port of states DB (file), default[9000]: ENTER
                                      Host name of this machine [hostname]: ENTER
                                      

                                      3. Beim Slave

                                      iobroker restart
                                      

                                      4. Im Master Localhost/:8081 im Reiter Hosts schauen ob der Slave angezeigt wird.

                                      Ist das so Richtig?

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

                                        @SmarthomeMF:

                                        die hast du noch mal geändert? `
                                        Mehrfach hin und her - ich hoffe das ist jetzt wieder richtig.

                                        @SmarthomeMF:

                                        Ist das so Richtig? `
                                        Ja!

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

                                          wenn ich es durch habe gebe ich wieder einen Bericht ab. 😢

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

                                            so habe das ganze jetzt noch mal durch!!!
                                            @SmarthomeMF:

                                            3. Beim SlaveCode:iobroker restart `
                                            Kommt das!!

                                            iobroker controller daemon is not running
                                            Starting iobroker controller daemon...
                                            iobroker controller daemon failed to start:  Failed to write pidfile (EACCES)
                                            Error: Failed to write pidfile (EACCES)
                                            
                                            

                                            OK???

                                            Was heißt das??

                                            Dann habe ich ihn vom Netz genommen (Strom)….

                                            per Putty wieder drauf...

                                            Dann wieder

                                            iobroker start
                                            

                                            wieder der gleiche Fehler??

                                            Ich weis nicht weiter :oops:

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            907
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            67
                                            8443
                                            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