Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IOBroker auf Debian 10 installieren (Mit GUI)

    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

    SOLVED IOBroker auf Debian 10 installieren (Mit GUI)

    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      if19kome @holgerwolf last edited by

      @holgerwolf ich habe nun mit curl -sL https://iobroker.net/install.sh | bash - iobroker installiert.
      nach der installation habe ich neugestartet und es funktioniert immernoch nicht.
      auch mit "start iobroker" im Terminal.

      FredF 1 Reply Last reply Reply Quote 0
      • I
        if19kome @FredF last edited by

        @FredF Bin deinem Rat gefolgt und hat funktioniert! Vielen Dank für deine Hilfe! 🙂

        Hier die Vorgehensweise,für die die den gleichen Fehler erhalten werden:

        su – 
        apt-get update
        apt-get upgrade
        apt-get install curl
        curl –sL https://deb.nodesource.com/setup_10.x | sudo -E -bash –
        Apt-get install –y nodejs
        curl –sL https://iobroker.net/install.sh | bash -
        
        FredF 1 Reply Last reply Reply Quote 0
        • FredF
          FredF Most Active Forum Testing @if19kome last edited by FredF

          @if19kome
          Gab es Fehlermeldungen bei der Installation von ioBroker?
          Am Ende der Installation sollte diese Meldung kommen:

          ioBroker was installed successfully
          
          Open http://localhost:8081 in a browser and start configuring!
          

          Was sagt den

          iobroker status
          

          bzw.

          iobroker list instances
          

          im Terminal?

          I 1 Reply Last reply Reply Quote 0
          • I
            if19kome @FredF last edited by

            @FredF

            Meine Vorgangsweise:

            sudo apt-get update

            sudo apt-get upgrade

            sudo apt-get install curl

            reboot

            curl -sL https://iobroker.net/install.sh | bash -

            curl -sL https://deb.nodesource.com/setup_10.x | bash -
            apt-get install -y nodejs

            apt-get intstall -y nodejs

            npm install -g npm

            npm -v
            (version: 6.11.3)

            node -v
            (version V10.16.3)

            nodejs -v
            (version V10.16.3)

            Bei der Installation von IoBroker steht: chown: invalid user: 'iobroker:iobroker'

            Später unten: iobroker was installed successfully
            Open http://xxx.xxx.xx:8081 in a browser and start configuring!

            bei "iobroker status" steht: unknown user: iobroker
            unable to initialize policy plugin

            FredF 1 Reply Last reply Reply Quote 0
            • FredF
              FredF Most Active Forum Testing @if19kome last edited by

              @if19kome
              Hast du iobroker vor node installiert?
              Zuerst node und dann iobroker...

              I 1 Reply Last reply Reply Quote 0
              • I
                if19kome @FredF last edited by

                @FredF Ich habe höchstvermutlich die falsche reihenfolge...

                ist also dies die richtige reihenfolge?

                1. Apt-get update
                2. Apt-get upgrade
                3. Apt-get install curl
                4. Curl –sL https://deb.nodesource.com/setup_10.x | bash -
                5. Apt-get install –y nodejs
                6. Npm install –g npm
                7. Npm –v
                8. Node –v
                9. Nodejs –v
                  (versionen kontrollieren)
                10. curl –sL https://iobroker.net/install.sh | bash -
                FredF 1 Reply Last reply Reply Quote 0
                • FredF
                  FredF Most Active Forum Testing @if19kome last edited by

                  @if19kome
                  Sorry war unterwegs...
                  Ist die Anleitung die schon @holgerwolf gepostet hat nicht eindeutig geschrieben? Wäre wichtig zu wissen, damit man das anpasst...

                  Die Reihenfolge stimmt so, bis auf das Punkt 6 nicht in der Anleitung steht.

                  I 2 Replies Last reply Reply Quote 0
                  • I
                    if19kome @FredF last edited by if19kome

                    @FredF Soweit ich weis, updated man npm mit dem befehl "Npm install -g npm" . Ich versuche Debian komplett neu aufzusetzen und gehe nun schritt für schritt nach dieser Reihenfolge. Wenn irgendwelche Fehler auftreten, werde ich diese dokumentieren.

                    (Bei Partitionierung, habe ich "All files in one partition" ausgewählt, oder währe "seperate /home /var /tmp partitions" die bessere wahl?

                    1 Reply Last reply Reply Quote 0
                    • I
                      if19kome @FredF last edited by if19kome

                      @FredF
                      Das ist, was ich bekomme nach dem ich curl -sL https://iobroker.net/install.sh | bash - eingebe.
                      ( start iobroker > und danach auf dem Browser localhost:8081 eingegeben und nichts kam.)

                      ==========================================================================
                      Installing prerequisites (1/4)

                      Installed build-essential
                      Installed libavahi-compat-libdnssd-dev
                      Installed libudev-dev
                      Installed libpam0g-dev
                      Installed git
                      bash: line 370: setcap: command not found

                      ==========================================================================
                      Creating ioBroker user and directory (2/4)

                      main: line 137: useradd: command not found
                      User iobroker created
                      main: line 208: visudo: command not found
                      main: line 233: usermod: command not found
                      main: line 233: usermod: command not found
                      main: line 233: usermod: command not found
                      main: line 233: usermod: command not found
                      Directory /opt/iobroker created

                      ==========================================================================
                      Installing ioBroker (3/4)

                      ==========================================================================
                      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...
                      chown: invalid user: ‘iobroker:iobroker’
                      This system does not support setting default permissions.
                      Do not use npm to manually install adapters unless you know what you are doing!

                      ==========================================================================

                      ioBroker was installed successfully
                      Open http://192.168.10.53:8081 in a browser and start configuring!
                      

                      ==========================================================================

                      You need to re-login before doing anything else on the console!


                      Nachdem ich installiert habe, gab ich folgendes ein:
                      "sudo systemctl status iobroker"

                      root@Miraculix:/home/majestix# sudo systemctl status iobroker
                      ● iobroker.service - ioBroker Server
                      Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                      Active: failed (Result: exit-code) since Wed 2019-09-18 08:19:58 CEST; 24s ago
                      Docs: http://iobroker.net
                      Process: 8048 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=2
                      Main PID: 8048 (code=exited, status=217/USER)

                      Sep 18 08:19:58 Miraculix systemd[1]: iobroker.service: Service RestartSec=100ms expired, scheduling restart.
                      Sep 18 08:19:58 Miraculix systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 5.
                      Sep 18 08:19:58 Miraculix systemd[1]: Stopped ioBroker Server.
                      Sep 18 08:19:58 Miraculix systemd[1]: iobroker.service: Start request repeated too quickly.
                      Sep 18 08:19:58 Miraculix systemd[1]: iobroker.service: Failed with result 'exit-code'.
                      Sep 18 08:19:58 Miraculix systemd[1]: Failed to start ioBroker Server.

                      FredF 1 Reply Last reply Reply Quote 0
                      • FredF
                        FredF Most Active Forum Testing @if19kome last edited by

                        @if19kome
                        Habe gerade gesehen, das bei deiner Auflistung der Reihenfolge bei Punkt 4 der Befehl am Ende ohne Sudo ist. Vielleich liegt es daran?
                        Npm musst du nicht noch separat updaten.

                        I 1 Reply Last reply Reply Quote 0
                        • I
                          if19kome @FredF last edited by

                          @FredF alle Befehle wurden als root ausgeführt. Am anfang habe ich su eingegeben und das Passwort eingegeben. Mittlerweile habe ich aufgegeben mit Debian zu arbeiten und versuche mein Glück jetzt mit Ubuntu.

                          FredF 1 Reply Last reply Reply Quote 0
                          • FredF
                            FredF Most Active Forum Testing @if19kome last edited by

                            @if19kome sagte in IOBroker auf Debian 10 installieren (Mit GUI):

                            aufgegeben mit Debian zu arbeiten

                            Das ist doch Käse, dann wärst du der erste bei dem Debian nicht läuft.
                            Was ist mit meiner letzten Frage zum punkt 4?

                            I 1 Reply Last reply Reply Quote 0
                            • I
                              if19kome @FredF last edited by

                              @FredF wie gesagt. der befehl wurde mit Su rechten ausgeführt.

                              FredF 1 Reply Last reply Reply Quote 0
                              • FredF
                                FredF Most Active Forum Testing @if19kome last edited by

                                @if19kome
                                Ich meine folgendes:
                                Du hast ausgeführt:

                                curl –sL https://deb.nodesource.com/setup_10.x | bash -
                                

                                in der Doku steht aber

                                curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                                

                                Also ein sudo am Ende. Ich bin mir nicht sicher ob es reicht mit su...

                                Probier es doch nochmals...

                                I 1 Reply Last reply Reply Quote 0
                                • I
                                  if19kome @FredF last edited by

                                  @FredF Hab es nochmal versucht, so wie du es beschrieben hast... leider nicht funktioniert...

                                  FredF 1 Reply Last reply Reply Quote 0
                                  • FredF
                                    FredF Most Active Forum Testing @if19kome last edited by FredF

                                    @if19kome Letzter Versuch, dann gebe ich auf...
                                    Hast du auch Debian mal neu installiert und dann die Schritte durchgeführt?

                                    I 1 Reply Last reply Reply Quote 0
                                    • I
                                      if19kome @FredF last edited by

                                      @FredF SSD wurde gecleant und neuinstalliert. hab es schon 2 mal versucht...

                                      FredF 1 Reply Last reply Reply Quote 0
                                      • FredF
                                        FredF Most Active Forum Testing @if19kome last edited by

                                        @if19kome
                                        Das hat mir doch keine Ruhe gelassen und habe mal Debian 10 auf meinem Proxmox installiert und siehe da, ich hatte das gleiche Problem wie du.
                                        Im Schritt 2 der ioBroker Installation wird kein ioBroker user angelegt und damit scheitert die weitere Installation
                                        Für die Lösung habe ich lange gesucht:

                                        Bei Debian 10 reicht es nicht

                                        su
                                        

                                        einzugeben, du musst

                                        su - 
                                        

                                        eingeben.

                                        Probier es doch nochmal...

                                        I 2 Replies Last reply Reply Quote 2
                                        • I
                                          if19kome @FredF last edited by

                                          @FredF Werde das mal ausprobieren. Melde mich wieder, wenn ich dazu komme, es auszuprobieren.

                                          1 Reply Last reply Reply Quote 0
                                          • I
                                            if19kome @FredF last edited by

                                            @FredF Bin deinem Rat gefolgt und hat funktioniert! Vielen Dank für deine Hilfe! 🙂

                                            Hier die Vorgehensweise,für die die den gleichen Fehler erhalten werden:

                                            su – 
                                            apt-get update
                                            apt-get upgrade
                                            apt-get install curl
                                            curl –sL https://deb.nodesource.com/setup_10.x | sudo -E -bash –
                                            Apt-get install –y nodejs
                                            curl –sL https://iobroker.net/install.sh | bash -
                                            
                                            FredF 1 Reply Last reply Reply Quote 0
                                            • FredF
                                              FredF Most Active Forum Testing @if19kome last edited by

                                              @if19kome
                                              Freut mich das es nun geklappt hat.

                                              Hier kannst du Feedback geben:
                                              2019-07-26-18-25-50.png
                                              und
                                              Wenn ein Thema gelöst wurde bitte den Beitrag der die Lösung beinhaltet als gelöst Markieren. -> 3 Punkte Menü rechts unten am Beitrag -> Mark this post as the correct answer

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

                                              Support us

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

                                              417
                                              Online

                                              31.9k
                                              Users

                                              80.1k
                                              Topics

                                              1.3m
                                              Posts

                                              debian 10 install iobroker mysql
                                              4
                                              24
                                              15377
                                              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