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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    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

      @SmarthomeMF:

      und dann? `
      auf dem Slave````
      sudo iobroker restart

      
      ~~@SmarthomeMF:~~ 
      
      > Gibt es da auch noch eine Anleitung? `  
      Ich dachte das mal geschrieben zu haben, finde es gerade selber nicht.
      
      Muss ich mal neu machen.
      
      Gruß
      
      Rainer
      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        @[url=http://www.iobroker.net/docu/?page_id=3068⟨=de#Installation:

        Doku"]<size size="150">Installation</size>

        Wichtig: Die verschiedenenen Hosts müssen unbedingt eindeutige Hostnamen besitzen.

        Dazu installiert man zuerst auf allen verwendeten hosts ganz normal ioBroker. Auf den untergeordneten hosts führt man nach der Installation in dem entsprechenden Installationsverzeichnis den folgenden Befehl aus:

        ./iobroker setup custom
        

        In dem nun folgenden Dialog wird wie folgt eingegeben:

        ****__Type of objects DB [file, couch, redis], default [file]: ENTER

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

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

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

        Host of states DB (file), default[cubie]: <ip adresse="">vom Hauptsystem ENTER

        Port of states DB (file), default[9000]: ENTER

        Host name of this machine [hostname]: ENTER</ip>__****

        Nun das untergeordnete System neu starten.

        Auf dem Hauptsystem erscheint danach unter Hosts auch der neu angelegte Host. `

        Gut dass ich da gerade drüberschaue, da sind ja Fehler drin. :oops: :oops:

        EDIT: Version auf der Website und in diesem Post korrigiert

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

          so alles neu mit der richtigen Anleitung

          nachdem ich den Slave eingerichtet habe mit -sudo iobroker setup custom

          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)
          
          

          Was habe ich nun falsch gemacht? :roll:

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

            Hattest du bei der Installation sudo chmod 777 -R /opt/iobroker gemacht?

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

              was wo wie ??

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

                @[url=http://www.iobroker.net/docu/?page_id=5106⟨=de#Installation_ioBroker:

                ~~Doku"]~~nstallation ioBroker

                ioBroker installieren

                sudo mkdir /opt/iobroker
                sudo chmod 777 /opt/iobroker
                cd /opt/iobroker
                sudo npm install iobroker --unsafe-perm
                

                je nach OS muss ioBroker evtl. noch mit sudo iobroker start gestertet werden

                ioBroker über IP im Webbrowser aufrufen: http://IP-Adresse:8081 `

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

                  ich habe von der ioBroker Seite eine fertige Image gezogen wo das schon alles drauf war….

                  glaube ich ?

                  Soweit ich als als Laie verstehe heißt das Ordner anlegen ins Verzeichnis wechseln und installieren.

                  Aber was ist -chmod 777-

                  1 Reply Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            561
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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