Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Neue Installationsroutine (für Linux)

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Neue Installationsroutine (für Linux)

Neue Installationsroutine (für Linux)

Scheduled Pinned Locked Moved ioBroker Allgemein
installation
415 Posts 64 Posters 116.3k 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.
  • HomoranH Homoran

    @denjo

    Ja

    D Offline
    D Offline
    denjo
    wrote on last edited by
    #188

    @Homoran hab ich und dann, sorry aber ich mache das zum ersten mal

    HomoranH 1 Reply Last reply
    0
    • D denjo

      @Homoran hab ich und dann, sorry aber ich mache das zum ersten mal

      HomoranH Do not disturb
      HomoranH Do not disturb
      Homoran
      Global Moderator Administrators
      wrote on last edited by
      #189

      @denjo

      Geht jetzt iobroker stop?

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      1 Reply Last reply
      0
      • D Offline
        D Offline
        denjo
        wrote on last edited by
        #190

        falls ja, muss jetzt wieder alles neu machen. was muss ich denn dann machen?

        1 Reply Last reply
        0
        • HomoranH Homoran

          @denjo
          Jetzt mal langsam.

          Du solltest ihn mit dem befehl stoppen, dann den fixer ausführen,
          Danach hätte auch das übliche controller update funktionieren müssen.

          Dann erst wäre der neue Controller verfügbar.

          Was hast du genau! Gemacht, bevor es wieder heißt

          @denjo sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

          jetzt ist wieder alles zerschossen,

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #191

          Den Satz verstehe ich nicht.

          @Homoran sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

          Du solltest ihn mit dem befehl stoppen, dann den fixer ausführen,
          Danach hätte auch das übliche controller update funktionieren müssen.

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          D 1 Reply Last reply
          0
          • HomoranH Homoran

            Den Satz verstehe ich nicht.

            @Homoran sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

            Du solltest ihn mit dem befehl stoppen, dann den fixer ausführen,
            Danach hätte auch das übliche controller update funktionieren müssen.

            D Offline
            D Offline
            denjo
            wrote on last edited by
            #192

            @Homoran falls iobroker stop funktioniert was soll ich denn dann machen

            HomoranH 1 Reply Last reply
            0
            • D denjo

              @Homoran falls iobroker stop funktioniert was soll ich denn dann machen

              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #193

              @denjo
              Den Controller wie beschrieben updaten

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              D 1 Reply Last reply
              0
              • HomoranH Homoran

                @denjo
                Den Controller wie beschrieben updaten

                D Offline
                D Offline
                denjo
                wrote on last edited by
                #194

                @Homoran nicht das ich wieder was falsch verstehe, also so dann

                cd /opt/iobroker
                sudo iobroker stop
                sudo iobroker update
                sudo iobroker upgrade self
                sudo iobroker start

                HomoranH 1 Reply Last reply
                0
                • D denjo

                  @Homoran nicht das ich wieder was falsch verstehe, also so dann

                  cd /opt/iobroker
                  sudo iobroker stop
                  sudo iobroker update
                  sudo iobroker upgrade self
                  sudo iobroker start

                  HomoranH Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #195

                  @denjo

                  Yepp!

                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  AlCalzoneA 1 Reply Last reply
                  0
                  • HomoranH Homoran

                    @denjo

                    Yepp!

                    AlCalzoneA Offline
                    AlCalzoneA Offline
                    AlCalzone
                    Developer
                    wrote on last edited by
                    #196

                    @Homoran @denjo
                    BITTE. KEIN. sudo! (außer ggf. bei systemctl)
                    Nach Ausführen des Fixers ist das nicht nötig und ggf. sogar schädlich.

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

                    HomoranH 1 Reply Last reply
                    0
                    • AlCalzoneA AlCalzone

                      @Homoran @denjo
                      BITTE. KEIN. sudo! (außer ggf. bei systemctl)
                      Nach Ausführen des Fixers ist das nicht nötig und ggf. sogar schädlich.

                      HomoranH Do not disturb
                      HomoranH Do not disturb
                      Homoran
                      Global Moderator Administrators
                      wrote on last edited by
                      #197

                      @AlCalzone sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                      ggf. sogar schädlich

                      Das wusste ich nicht, das andere schon, wollte aber @denjo nicht noch weiter verunsichern

                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        denjo
                        wrote on last edited by
                        #198

                        ja cool, so hat geklappt.
                        für alle die so blöd sind wie ich hier:

                        cd /opt/iobroker
                        sudo systemctl stop iobroker
                        curl -sL https://iobroker.net/fix.sh | bash -
                        start iobroker
                        
                        cd /opt/iobroker
                        iobroker stop
                        iobroker update
                        iobroker upgrade self
                        iobroker start
                        
                        AlCalzoneA 1 Reply Last reply
                        1
                        • D denjo

                          ja cool, so hat geklappt.
                          für alle die so blöd sind wie ich hier:

                          cd /opt/iobroker
                          sudo systemctl stop iobroker
                          curl -sL https://iobroker.net/fix.sh | bash -
                          start iobroker
                          
                          cd /opt/iobroker
                          iobroker stop
                          iobroker update
                          iobroker upgrade self
                          iobroker start
                          
                          AlCalzoneA Offline
                          AlCalzoneA Offline
                          AlCalzone
                          Developer
                          wrote on last edited by AlCalzone
                          #199

                          @denjo sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                          start iobroker

                          Du meinst doch sicher iobroker start, oder?

                          Außerdem: Wenn du eh planst, upzugraden, ist Start und anschließender Stop nicht nötig. Geht also kürzer:

                          cd /opt/iobroker
                          sudo systemctl stop iobroker
                          curl -sL https://iobroker.net/fix.sh | bash -
                          iobroker update
                          iobroker upgrade self
                          iobroker start
                          

                          Und wenn ich ganz pedantisch sein will:
                          sudo systemctl stop iobroker funktioniert auch nicht auf allen alten Installationen. Der Befehl muss möglicherweise (wenn der Fixer über laufende Instanzen meckert) durch iobroker stop ersetzt werden.

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

                          1 Reply Last reply
                          0
                          • X Offline
                            X Offline
                            x3l4
                            wrote on last edited by
                            #200

                            Die Links aus dem ersten Beitrag funktionieren leider nicht mehr...

                            HomoranH 1 Reply Last reply
                            0
                            • X x3l4

                              Die Links aus dem ersten Beitrag funktionieren leider nicht mehr...

                              HomoranH Do not disturb
                              HomoranH Do not disturb
                              Homoran
                              Global Moderator Administrators
                              wrote on last edited by
                              #201

                              @x3l4 sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                              Die Links aus dem ersten Beitrag funktionieren leider nicht mehr...

                              Welche brauchst du denn genau?

                              sind das die Zeilen, die du suchst?
                              https://www.iobroker.net/#de/documentation/install/linux.md

                              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              X 1 Reply Last reply
                              0
                              • HomoranH Homoran

                                @x3l4 sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                Die Links aus dem ersten Beitrag funktionieren leider nicht mehr...

                                Welche brauchst du denn genau?

                                sind das die Zeilen, die du suchst?
                                https://www.iobroker.net/#de/documentation/install/linux.md

                                X Offline
                                X Offline
                                x3l4
                                wrote on last edited by
                                #202

                                @Homoran Ich habe alles gefunden, war nur eine Anmerkung.

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  martinschm
                                  wrote on last edited by
                                  #203

                                  Hi,
                                  ich habe grade ein frisches System mit iobroker versehen wollen. Hab wieder die Anleitung und das Skript verwendet weil es beim letzten mal so gut geklappt hat.

                                  Bin nach der Anleitung hier: https://www.iobroker.net/#de/documentation/install/linux.md vorgegangen und hab jeden Schritt ausgeführt. Installiert habe ich in ein Debian Stretch Lite auf einem Rock64. Node und npm mußte ich erst noch installieren.

                                  Das Installationsskript ist erfolgreich durchlaufen worden.

                                  
                                  ==========================================================================
                                      Finalizing installation (4/4)
                                  ==========================================================================
                                  
                                  Enabling autostart...
                                  Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                                  Autostart enabled!
                                  Fixing directory permissions...
                                  
                                  ==========================================================================
                                  
                                      ioBroker was installed successfully
                                      Open http://192.168.1.190:8081 in a browser and start configuring!
                                  
                                  ==========================================================================
                                  
                                  
                                  You need to re-login before doing anything else on the console!
                                  
                                  

                                  Habe dann versucht ein Backup meines anderen System einzuspielen und bekomme den Fehler:

                                  rock64@rock64:/opt/iobroker/backups$ sudo iobroker stop
                                  rock64@rock64:/opt/iobroker/backups$ sudo iobroker restore 0
                                  /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:568
                                          if (parseInt(name.trim(), 10).toString() === name.trim().toString()) {
                                                            ^
                                  
                                  TypeError: name.trim is not a function
                                      at BackupRestore.restoreBackup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:568:27)
                                      at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:1474:28)
                                      at Object.connected (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3087:29)
                                      at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemServer.js:184:26)
                                      at runCallback (timers.js:810:20)
                                      at tryOnImmediate (timers.js:768:5)
                                      at processImmediate [as _immediateCallback] (timers.js:745:5)
                                  rock64@rock64:/opt/iobroker/backups$ sudo iobroker restore
                                  Please specify one of the backup names:
                                  2019_06_13-20_38_43_backupiobroker.tar.gz or 2019_06_13-20_38_43 or 0
                                  rock64@rock64:/opt/iobroker/backups$ sudo iobroker restore 0
                                  /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:568
                                          if (parseInt(name.trim(), 10).toString() === name.trim().toString()) {
                                                            ^
                                  
                                  TypeError: name.trim is not a function
                                      at BackupRestore.restoreBackup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:568:27)
                                      at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:1474:28)
                                      at Object.connected (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3087:29)
                                      at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemServer.js:184:26)
                                      at runCallback (timers.js:810:20)
                                      at tryOnImmediate (timers.js:768:5)
                                      at processImmediate [as _immediateCallback] (timers.js:745:5)
                                  rock64@rock64:/opt/iobroker/backups$ sudo systemctl stop iobroker
                                  rock64@rock64:/opt/iobroker/backups$ sudo iobroker restore 0
                                  /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:568
                                          if (parseInt(name.trim(), 10).toString() === name.trim().toString()) {
                                                            ^
                                  
                                  TypeError: name.trim is not a function
                                      at BackupRestore.restoreBackup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:568:27)
                                      at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:1474:28)
                                      at Object.connected (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3087:29)
                                      at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemServer.js:184:26)
                                      at runCallback (timers.js:810:20)
                                      at tryOnImmediate (timers.js:768:5)
                                      at processImmediate [as _immediateCallback] (timers.js:745:5)
                                  
                                  

                                  Hab mal auf Verdacht das Fix Skript laufen lassen.

                                      Script version: 2019-05-14
                                  
                                      You might need to enter your password a couple of times.
                                  
                                  ==========================================================================
                                  
                                  
                                  ==========================================================================
                                      Installing prerequisites (1/3)
                                  ==========================================================================
                                  
                                  
                                  ==========================================================================
                                      Checking ioBroker user and directory permissions (2/3)
                                  ==========================================================================
                                  
                                  Created /etc/sudoers.d/iobroker
                                  Fixing directory permissions...
                                  
                                  ==========================================================================
                                      Checking autostart (3/3)
                                  ==========================================================================
                                  
                                  bash: line 654: /opt/iobroker/iobroker: Permission denied
                                  chmod: cannot access '/opt/iobroker/iobroker': No such file or directory
                                  chown: cannot access '/opt/iobroker/iobroker': No such file or directory
                                  Enabling autostart...
                                  Autostart enabled!
                                  
                                  ==========================================================================
                                  
                                      Your installation was fixed successfully
                                      Run iobroker start to start ioBroker again!
                                  
                                  ==========================================================================
                                  
                                  

                                  Komisch fand ich da die Meldung, das auf den Ordner nicht zugegriffen werden darf. BTW: Den Befehl hatte ich einem parallelen Terminalfenster eingegeben, also noch kein Reboot oder so nach der Installation gemacht.

                                  PS: Meine mich in der alten Anleitung an einen Teil bezüglich redis zu erinnern. Hab ich jetzt nicht mehr gefunden. Braucht es das nicht mehr ?

                                  ciao
                                  Martin

                                  1 Reply Last reply
                                  0
                                  • HomoranH Do not disturb
                                    HomoranH Do not disturb
                                    Homoran
                                    Global Moderator Administrators
                                    wrote on last edited by
                                    #204

                                    Die Suche bringt mich auf diesen Thread:
                                    https://forum.iobroker.net/topic/23036/gelöst-iobroker-restore-typeerror-name-trim-is-not-a-function/1

                                    Ich glaube das könnte auch dein Problem sein

                                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                    M 1 Reply Last reply
                                    0
                                    • HomoranH Homoran

                                      Die Suche bringt mich auf diesen Thread:
                                      https://forum.iobroker.net/topic/23036/gelöst-iobroker-restore-typeerror-name-trim-is-not-a-function/1

                                      Ich glaube das könnte auch dein Problem sein

                                      M Offline
                                      M Offline
                                      martinschm
                                      wrote on last edited by martinschm
                                      #205

                                      @Homoran erneut vielen Dank, wie schon so oft in diesem Forum. bin gar nicht auf die Idee gekommen nach dem Trim zu suchen sondern war eher da unterwegs das dort irgendwelche Permissions im Fix Skript angemeckert wurden und hab vermutet das irgendwas schief gelaufen ist.

                                      Ich probiere es heute abend mal aus. Ich wundere mich nur, hab ioBroker grade frisch installiert, dass da noch ein Fehler im Code drin ist der im August letzten Jahres gefixt wurde.

                                      1 Reply Last reply
                                      0
                                      • apollon77A Online
                                        apollon77A Online
                                        apollon77
                                        wrote on last edited by
                                        #206

                                        Danke as prüfen wir. Welche js-Controller Version hast finden bekommen?

                                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                        1 Reply Last reply
                                        0
                                        • 0 Offline
                                          0 Offline
                                          0018
                                          wrote on last edited by
                                          #207

                                          Hallo zusammen,

                                          bin gerade dabei ein neues Debian9 System nach der neuen Installationsroutine aufzusetzen und anschließend mein altes System umzuziehen, Generell stellen sich mir ein paar Fragen:

                                          Muss ich bei der neuen Installation noch "sudo iobroker start" eingeben oder reicht ein "iobroker start" bzw muss generell immer sudo davor oder nicht wenn ich über die Console arbeite?
                                          Kann ich mich auch als user "iobroker" anmelden oder ist dieser nur im Hintergrund aktiv?

                                          Mfg
                                          0018

                                          AlCalzoneA 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

                                          621

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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