Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Neue Installationsroutine (für Linux)

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    899

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Neue Installationsroutine (für Linux)

Scheduled Pinned Locked Moved ioBroker Allgemein
installation
415 Posts 64 Posters 124.9k Views 31 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AlCalzoneA Offline
    AlCalzoneA Offline
    AlCalzone
    Developer
    wrote on last edited by
    #11

    @peer6969:

    Meine Frage dazu ist: wenn der ioBroker als nicht privilegierter User laufen soll, wie will man dann mit den Adaptern umgehen, die Zugriff auf Systemressourcen brauchen? `

    Hängt auch ein wenig von der Ressource ab. GPIO/Serial wird bereits bei der Installation mit der neuen Routine freigeschaltet (als NodeJS-Skript). Wenn es eine andere Systemressource ist, von der mehrere Adapter was haben könnten, besteht durchaus die Möglichkeit, diese Gruppenzugehörigkeit auch anzulegen.

    Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

    1 Reply Last reply
    0
    • P Offline
      P Offline
      peer6969
      wrote on last edited by
      #12

      Edit: Der Beitrag ist verschwunden, daher steht meine Antwort jetzt hier ohne Kontext. Ich lass trotzdem mal stehen. /

      Da liegst du leider falsch. Noch sind die von mir skizzierten Änderungen gar nicht Bestandteil der Installation. Im Forum ist man dir sicher gern behilflich, um herauszufinden, woran es bei dir liegt.

      Wenn du als Basissystem ein Linux verwendest, solltest du dir dort auch Grundkenntnisse drauf schaffen. Ich zB installiere Node und npm mittlerweile auch nicht mehr aus dem Repo oder mit nem Skript, sondern „zu Fuß“. So funktioniert es für mich am besten und ich hab die Versionen unter Kontrolle. Gerade npm in Verbindung mit unbedachten Userwechseln und Einsatz von sudo war bei mir immer wieder mal eine Fehlerquelle. Durchatmen, nachdenken, weitermachen.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        reini
        wrote on last edited by
        #13

        Verhält sich der Raspi Zero W von der Installationsroutine eher wie der Raspi 1 oder der 2-3 ?

        1 Reply Last reply
        0
        • eric2905E Offline
          eric2905E Offline
          eric2905
          wrote on last edited by
          #14

          @reini:

          Verhält sich der Raspi Zero W von der Installationsroutine eher wie der Raspi 1 oder der 2-3 ? `
          Aus eigener Erfahrung … Pi1

          Gruß,

          Eric

          Von unterwegs getippert

          Roses are red, violets are blue,

          if I listen to metal, my neighbours do too

          1 Reply Last reply
          0
          • AlCalzoneA Offline
            AlCalzoneA Offline
            AlCalzone
            Developer
            wrote on last edited by
            #15

            @reini:

            Verhält sich der Raspi Zero W von der Installationsroutine eher wie der Raspi 1 oder der 2-3 ? `

            https://raspberrypi.stackexchange.com/q … 6-or-armv7

            Der Zero scheint wie Pi1 eine ARMv6-Architektur zu haben

            Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

            1 Reply Last reply
            0
            • eric2905E Offline
              eric2905E Offline
              eric2905
              wrote on last edited by
              #16

              Hat er.

              Wenn man die Node-Installation vom Pi2/3 nimmt, kommt genau dieser Hinweis.

              Mit der Node-Installation des Pi1 geht es dann.

              Gruß,

              Eric

              Von unterwegs getippert

              Roses are red, violets are blue,

              if I listen to metal, my neighbours do too

              1 Reply Last reply
              0
              • G Offline
                G Offline
                Griesemer
                wrote on last edited by
                #17

                Sehr gute Arbeit! Vielen Dank.

                Ich war schon am verzweifeln, weil ich den Autostart nicht hinbekommen hatte. Nun geht wieder alles ;)

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  Golan
                  wrote on last edited by
                  #18

                  Thanks for the instructions, everything is fine. A question, and on Windows 7, the installer has not changed?, otherwise I have been fighting for the second day, nothing happens.

                  Thank.

                  ` > Danke für die Anweisungen, alles ist gut. Eine frage, und unter Windows7 hat sich der Installer nicht geändert ?, ansonsten habe ich den zweiten tag gekämpft, nichts passiert.

                  Danke.

                  PS: Sorry für mein Deutsch, ich habe einen Übersetzer benutzt `

                  Добро не ценится в современном мире, люди от него наглеют.

                  1 Reply Last reply
                  0
                  • AlCalzoneA Offline
                    AlCalzoneA Offline
                    AlCalzone
                    Developer
                    wrote on last edited by
                    #19

                    @Golan:

                    Thanks for the instructions, everything is fine. A question, and on Windows 7, the installer has not changed?, otherwise I have been fighting for the second day, nothing happens. `

                    The installer itself has not changed. But under the hood, the installation works differently now, which is why you now need to execute "npm install" twice.

                    If you want to do a manual installation, you can find the relevant steps in the new documentation we are currently working on:

                    https://iobroker.github.io/ioBroker.doc … d=nodeinst => replace "https://github.com/ioBroker/ioBroker/tarball/master" with just "iobroker". Or continue to read here:

                    Open an administrative command prompt and execute the following:

                    npm install --global windows-build-tools
                    md C:\iobroker
                    cd /d C:\iobroker
                    npm install iobroker
                    
                    

                    Now follow the instructions on screen, which should be

                    npm install --production
                    

                    or something similar.

                    Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      Golan
                      wrote on last edited by
                      #20

                      Thank you very much, I will learn and try to install

                      Добро не ценится в современном мире, люди от него наглеют.

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        Golan
                        wrote on last edited by
                        #21

                        Tell me please, what version of the node.js is necessary to pre-install, and then Windows does not perceive npm

                        Добро не ценится в современном мире, люди от него наглеют.

                        1 Reply Last reply
                        0
                        • OberjembkerO Offline
                          OberjembkerO Offline
                          Oberjembker
                          wrote on last edited by
                          #22

                          Ich habe mir das Skript (https://raw.githubusercontent.com/ioBro … staller.sh) angeschaut.

                          Die logischen Vergleiche mit IS_ROOT passen meiner Ansicht nach so nicht.

                          Habe folgendes aus dem Skript getestet:

                          if [[ $EUID -eq 0 ]]; then
                                  IS_ROOT=true
                          else
                                  IS_ROOT=false
                          fi
                          ####
                          if [[ IS_ROOT -eq true ]]; then
                                  echo "running as ROOT"
                          else
                                  echo "NOT running as ROOT"
                          fi
                          
                          

                          Das liefert IMMER "running as ROOT".

                          Funktionieren wuerde es mit einer der folgenden Abfragen:

                          if [ "$IS_ROOT" = true ]; then ...
                          if $IS_ROOT ; then ...
                          
                          1 Reply Last reply
                          0
                          • R Offline
                            R Offline
                            rewenode
                            wrote on last edited by
                            #23

                            Recht hat er

                            https://stackoverflow.com/questions/295 … ell-script

                            1 Reply Last reply
                            0
                            • eric2905E Offline
                              eric2905E Offline
                              eric2905
                              wrote on last edited by
                              #24

                              Ist schon an die Entwickler weitergeleitet.

                              Die schauen sich das an.

                              Danke für den Hinweis [emoji106]

                              Gruß,

                              Eric

                              Von unterwegs getippert

                              Roses are red, violets are blue,

                              if I listen to metal, my neighbours do too

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                danyo80
                                wrote on last edited by
                                #25

                                Hallo zusammen,

                                wäre es möglich, den User iobroker in die SUDO Gruppe aufzunehmen, so dass er Kommandos mit sudo ausführen kann.

                                Ja, ich weiß, dass man damit dem unpreviligierten User nahezu Adminrechte verleiht, aber würde das evtl. helfen, bei Installation wie

                                z.B. ZWAVE aus dem Admin heraus? Oder sollte man dies lieber nicht tun, und die Installtion solcher Adapter auf anderem Wege durchführen?

                                Gruß

                                Danyo

                                1 Reply Last reply
                                0
                                • AlCalzoneA Offline
                                  AlCalzoneA Offline
                                  AlCalzone
                                  Developer
                                  wrote on last edited by
                                  #26

                                  Ist auf meiner TODO-Liste. Das löst noch einige andere Probleme, wenn wir das tun.

                                  https://github.com/ioBroker/ioBroker/issues/87

                                  https://github.com/ioBroker/ioBroker/issues/89

                                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                  1 Reply Last reply
                                  0
                                  • MathiasJM Offline
                                    MathiasJM Offline
                                    MathiasJ
                                    wrote on last edited by
                                    #27

                                    Wie sieht es mit Bluetooth im allgemeinen aus?

                                    Ich hatte bisher bei der neuen Installationsroutine das Problem, daß weder Radar noch BLE ging.

                                    Wenn ich sudo hcitool lescan eingegeben habe, wurden alle Geräte erkannt, jedoch nicht weitergereicht.

                                    Mit der alten Installationsroutine hatte ich das Problem nicht.

                                    Gruß,

                                    Mathias

                                    Gesendet von meinem MI 8 mit Tapatalk

                                    IObroker auf dem NUC als VM.
                                    Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
                                    Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

                                    1 Reply Last reply
                                    0
                                    • D Offline
                                      D Offline
                                      danyo80
                                      wrote on last edited by
                                      #28

                                      Hi,

                                      könnte es daran liegen, dass der iobroker nicht in der Bluetooth Gruppe ist? Ich meine mich erinnern zu können, dass es eine solche Gruppe gibt. Guck mal in die /etc/group ob es da so eine Gruppe gibt.

                                      Gruß

                                      Danyo

                                      1 Reply Last reply
                                      0
                                      • L Offline
                                        L Offline
                                        LibertyX82
                                        wrote on last edited by
                                        #29

                                        Ich habe mit dem node-red das Problem, dass ich die Nodes nicht updaten kann

                                        https://github.com/ioBroker/ioBroker.node-red/issues/41%5B [Mit der alten Installation (über den alten Weg) konnte ich diese zumindest über die Konsole updaten
                                        z.B. ~~[code]~~npm update node-red-node-email[/code] Nach der Installation des iobrokers über das neue Script geht das auch nicht mehr.](</s><LINK_TEXT text=)
                                        [" target="_blank">](</s><LINK_TEXT text=)[<link_text text="https://github.com/ioBroker/ioBroker.no … issues/41[">https://github.com/ioBroker/ioBroker.node-red/issues/41[</link_text>[/url]

                                        Mit der alten Installation (über den alten Weg) konnte ich diese zumindest über die Konsole updaten

                                        z.B.

                                        npm update node-red-node-email
                                        

                                        Nach der Installation des iobrokers über das neue Script geht das auch nicht mehr.](</s><LINK_TEXT text=)

                                        1 Reply Last reply
                                        0
                                        • AlCalzoneA Offline
                                          AlCalzoneA Offline
                                          AlCalzone
                                          Developer
                                          wrote on last edited by
                                          #30

                                          @LibertyX82:

                                          npm update node-red-node-email
                                          

                                          Nach der Installation des iobrokers über das neue Script geht das auch nicht mehr. `
                                          "Geht nicht" ist keine gute Fehlermeldung :|

                                          Vielleicht kannst du ja ein paar mehr Details nennen, damit man den Fehler beheben kann?

                                          Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          761

                                          Online

                                          32.6k

                                          Users

                                          82.2k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe