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. Error/Bug
  4. Autostart Problem

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Autostart Problem

Scheduled Pinned Locked Moved Error/Bug
47 Posts 14 Posters 20.2k 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
    #41

    @Chaot:

    Stopping ioBrokersudo: unknown user: @@user
    ```` `  
    

    Anscheinend wurde das Skript /etc/init.d/iobroker.sh bei der Installation nicht richtig initialisiert.

    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
    • ChaotC Offline
      ChaotC Offline
      Chaot
      wrote on last edited by
      #42

      Ok, und wie könnte ich das beheben?

      ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

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

        @Chaot:

        wie könnte ich das beheben? `
        Zeige bitte den Inhalt des Skripts und prüfe den Pfad von Node.

        which node
        

        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
        • ChaotC Offline
          ChaotC Offline
          Chaot
          wrote on last edited by
          #44

          Ergibt

          /usr/bin/node
          
          

          Script:````
          #!/bin/bash

          BEGIN INIT INFO

          Provides: iobroker.sh

          Required-Start: $network $local_fs $remote_fs

          Required-Stop:: $network $local_fs $remote_fs

          Default-Start: 2 3 4 5

          Default-Stop: 0 1 6

          Short-Description: starts ioBroker

          Description: starts ioBroker

          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
          IOBROKERCMD=/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
          RETVAL=0
          IOBROKERUSER=@@user

          start() {
          export IOBROKER_HOME=/opt/iobroker

          ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

          1 Reply Last reply
          0
          • ChaotC Offline
            ChaotC Offline
            Chaot
            wrote on last edited by
            #45

            :idea:

            Ah, selbst gesehen:

            NODECMD=@@node
            ````muss lauten````
            NODECMD=/usr/bin/node
            

            und

            IOBROKERUSER=@@user
            ````muss lauten````
            IOBROKERUSER=root
            

            Danke @paul53 , ich habe die ganze Zeit nach einer Erklärung für "unable to initialize policy plugin" gesucht und das wesentliche mal wieder nicht gelesen.

            ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

            1 Reply Last reply
            0
            • N Offline
              N Offline
              Nepomukl
              wrote on last edited by
              #46

              Guten Morgen,

              ich muss mal kurz hier nachfragen.

              Bei mir ist

              NODECMD=/usr/local/bin/node
              
              

              kann es damit Probleme geben?

              Denn ab und zu muss ich auch per Hand starten. Obwohl der Eintrag so im Startscript auch drin steht.

              Ich weiß auch nicht wie Node in diesem Ordner gelandet ist. Da muss ich wohl irgendetwas verpeilt haben.

              Gruß Andreas

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Basti131
                wrote on last edited by
                #47

                Ich muss diese Thema nochmal ausgraben.

                Ich habe jetzt ein Multihost-System aufgesetzt, doch leider startet jetzt der Slave nicht mehr automatisch iobroker bei restart

                systemctl status -l iobroker.service
                ● iobroker.service - ioBroker Server
                   Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                   Active: failed (Result: exit-code) since Tue 2019-01-15 19:34:36 CET; 45s ago
                     Docs: http://iobroker.net
                 Main PID: 599 (code=exited, status=203/EXEC)
                
                Jan 15 19:34:36 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'.
                Jan 15 19:34:36 raspberrypi systemd[1]: iobroker.service: Service hold-off time over, scheduling restart.
                Jan 15 19:34:36 raspberrypi systemd[1]: Stopped ioBroker Server.
                Jan 15 19:34:36 raspberrypi systemd[1]: iobroker.service: Start request repeated too quickly.
                Jan 15 19:34:36 raspberrypi systemd[1]: Failed to start ioBroker Server.
                Jan 15 19:34:36 raspberrypi systemd[1]: iobroker.service: Unit entered failed state.
                Jan 15 19:34:36 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'.
                
                

                Ich glaube es hängt mit

                sudo iobroker setup custom 
                ````zusammen. Ich habe in einem anderen Thema dazu gelesen, dass es bei einigen funktioniert hat, wenn sie es mit Enter durchbestätigen aber dann funktioniert ja der Multihost nichtmehr oder? Wie kann ich das Problem lösen?
                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

                346

                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