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. Pi3 Stretch, ioBroker macht keinen Autostart

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    663

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

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

Pi3 Stretch, ioBroker macht keinen Autostart

Scheduled Pinned Locked Moved ioBroker Allgemein
38 Posts 7 Posters 6.1k Views
  • 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.
  • paul53P Offline
    paul53P Offline
    paul53
    wrote on last edited by
    #26

    @B3ta:

    -rw-r--r-- 1 root root 1138 Dez 30 20:18 /etc/init.d/iobroker.sh
    ```` `  
    

    Die Dateigröße passt weder zu Linux (Soll: 1098) noch zu DOS (1145). Außerdem fehlen die Rechte zum Ausführen.

    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

    1 Reply Last reply
    0
    • paul53P Offline
      paul53P Offline
      paul53
      wrote on last edited by
      #27

      @B3ta:

      2017-07-05-raspbian-jessie installiert.

      …

      Und gleich das selbe kein Auto Start ! `
      An Raspbian wird es nicht liegen.

      Bluefox hat zwecks Anpassung an NPM 5 Änderungen an den Installations-Skripten vorgenommen. Ich vermute, dass es daher kommt.

      Meine Empfehlung, wenn

      ls -l /etc/init.d/iobroker.sh
      

      eine Dateigröße von 1145 Byte liefert, dann

      cd /etc/init.d
      mv iobroker.sh iobroker.dos
      tr -d '\r' < iobroker.dos > iobroker.sh
      ls -l iob*
      

      und anschließend, falls erforderlich (Datei nicht ausführbar)

      chmod +x iobroker.sh
      

      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GASMAST3R
        wrote on last edited by
        #28

        Hy wurde wieder was geändert ??

        muste das Sys nochmal neu aufsetzen und wie zu erwarten kein neustart

        habe dann

        root@raspberrypi:~# ls -l /etc/init.d/iobroker.sh
        -rwxrwxrwx 1 root root 1138 Dez 31 23:41 /etc/init.d/iobroker.sh
        root@raspberrypi:~# sudo iobroker status
        iobroker is not running
        root@raspberrypi:~# cd /etc/init.d
        root@raspberrypi:/etc/init.d# mv iobroker.sh iobroker.dos
        root@raspberrypi:/etc/init.d# tr -d '\r' < iobroker.dos > iobroker.sh
        root@raspberrypi:/etc/init.d# ls -l iob*
        -rwxrwxrwx 1 root root 1138 Dez 31 23:41 iobroker.dos
        -rw-r--r-- 1 root root 1138 Dez 31 23:47 iobroker.sh
        root@raspberrypi:/etc/init.d# chmod +x iobroker.sh
        root@raspberrypi:/etc/init.d#
        
        

        1138 denke ich mal da ich folgende Änderungen gemacht habe

        ### END INIT INFO
        (( EUID )) && echo .You need to have root privileges.. && exit 1
        PIDF=/opt/iobroker/node_modules/iobroker.js-controller/lib/iobroker.pid
        # NODECMD=@@node
        NODECMD=/usr/bin/node
        IOBROKERCMD=/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
        RETVAL=0
        # IOBROKERUSER=@@user
        IOBROKERUSER=root
        
        start() {
        
        
        root@raspberrypi:~# ls -l /etc/init.d/iobroker.sh
        -rwxr-xr-x 1 root root 1138 Dez 31 23:47 /etc/init.d/iobroker.sh
        
        
        root@raspberrypi:~# sudo systemctl status iobroker
        ● iobroker.service - LSB: starts ioBroker
           Loaded: loaded (/etc/init.d/iobroker.sh; generated; vendor preset: enabled)
           Active: inactive (dead)
             Docs: man:systemd-sysv-generator(8)
        
        
        root@raspberrypi:/etc/init.d# ./iobroker.sh
        Usage: iobroker {start|stop|restart}
        
        

        da auch über Root installiert

        mit der standart iobroker.sh erst 1145 danach wieder angepasst auf 1098 aber auch kein Autostart.

        habe die 2017-09-07-raspbian-stretch-lite mit Update Upgrade

        root@raspberrypi:/etc/init.d# sudo iobroker start
        Starting iobroker controller daemon...
        iobroker controller daemon started. PID: 558
        
        
        1 Reply Last reply
        0
        • paul53P Offline
          paul53P Offline
          paul53
          wrote on last edited by
          #29

          @GASMAST3R:

          mit der standart iobroker.sh erst 1145 danach wieder angepasst auf 1098 aber auch kein Autostart. `
          Ist die Datei /etc/init.d/iobroker.sh ausführbar ?

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          1 Reply Last reply
          0
          • G Offline
            G Offline
            GASMAST3R
            wrote on last edited by
            #30

            Hy ja ist ausführbar, wie oben zu sehen bekomme ich

            root@raspberrypi:/etc/init.d# ./iobroker.sh
            Usage: iobroker {start|stop|restart}
            
            
            1 Reply Last reply
            0
            • paul53P Offline
              paul53P Offline
              paul53
              wrote on last edited by
              #31

              Dann versuche mal im Verzeichnis /etc/init.d als user root

              iobroker stop
              ./iobroker.sh start
              

              Wird iobroker gestartet oder erscheinen Fehlemeldungen ?

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

              1 Reply Last reply
              0
              • G Offline
                G Offline
                GASMAST3R
                wrote on last edited by
                #32

                @paul53:

                Dann versuche mal im Verzeichnis /etc/init.d als user root

                iobroker stop
                ./iobroker.sh start
                

                Wird iobroker gestartet oder erscheinen Fehlemeldungen ? ` Wenn ich start anhänge startet alles

                1 Reply Last reply
                0
                • paul53P Offline
                  paul53P Offline
                  paul53
                  wrote on last edited by
                  #33

                  @GASMAST3R:

                  Wenn ich start anhänge startet alles `
                  Trotzdem kein Autostart von iobroker beim boot ?

                  Dann versuche mal

                  update-rc.d iobroker.sh defaults
                  reboot
                  

                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    GASMAST3R
                    wrote on last edited by
                    #34

                    @paul53:

                    @GASMAST3R:

                    Wenn ich start anhänge startet alles `
                    Trotzdem kein Autostart von iobroker beim boot ?

                    Dann versuche mal

                    update-rc.d iobroker.sh defaults
                    reboot
                    ```` `  Mache ich gleich mal
                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      GASMAST3R
                      wrote on last edited by
                      #35

                      So wie es ausschaut klappt es, mal abwarten ob es so bleibt.

                      1 Reply Last reply
                      0
                      • 0 Offline
                        0 Offline
                        0018
                        wrote on last edited by
                        #36

                        @paul53:

                        Trotzdem kein Autostart von iobroker beim boot ?

                        Dann versuche mal

                        update-rc.d iobroker.sh defaults
                        reboot
                        ```` `  
                        

                        Danke… das war bei mir die Lösung, nachdem ich in der iobroker.sh node & user angepasst hatte. Jetzt klappt es ! :D

                        Mfg
                        0018

                        1 Reply Last reply
                        0
                        • Merlin123M Offline
                          Merlin123M Offline
                          Merlin123
                          wrote on last edited by
                          #37

                          Bei mir macht er auch keinen Restart.

                          hab das mit dem Update probiert, aber das klappt trotzdem nicht:

                          ` > root@orangepiplus2e:/etc/init.d# ./iobroker.sh start

                          Starting ioBrokeriobroker controller daemon already running. PID: 966 `

                          Die Adminoberfläche ist trotzdem nicht erreichbar.

                          Mache ich dann ein

                          ` > root@orangepiplus2e:/opt/iobroker# ./iobroker start

                          Starting iobroker controller daemon…

                          iobroker controller daemon started. PID: 988 `

                          geht alles.

                          Was könnte das sein?

                          Beta-Tester

                          1 Reply Last reply
                          0
                          • Merlin123M Offline
                            Merlin123M Offline
                            Merlin123
                            wrote on last edited by
                            #38

                            Hab jetzt mal noch etwas weiter probiert, aber er macht keinen Autostart von ioBroker. :(

                            Keiner eine Idee?

                            Beta-Tester

                            1 Reply Last reply
                            0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            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

                            203

                            Online

                            32.7k

                            Users

                            82.6k

                            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