Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Service Restarten per Blockly

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Service Restarten per Blockly

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mariohbs last edited by

      Hallo Leute,

      ich möchte auf meinem Rock64 folgenden Befehl per Blockly auslösen aber egal was ich mache, es klappt einfach nicht 😞

      sudo service unifi restart
      

      Fehlermeldung kommt keine. Ich habe das Ganze auch schon in ein Bash script verpackt, den Iobroker User alle Rechte daran gegeben und ausführbar gemacht. Vom System aus kann ich das Script starten und es tut auch, aus Blockly nicht. Da kommt nur die folgende Meldung:

      script.js.Automatik-Programme.Restart-Unifi-Controller: {'killed':false,'code':127,'signal':null,'cmd':'./restart_unifi.sh'}
      

      Ich habe echt keine Idee mehr 😞

      Danke schon mal für Denkanstöße!
      Gruß
      Mario

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @mariohbs last edited by

        @mariohbs sagte:

        'cmd':'./restart_unifi.sh'

        Wo befindet sich das shell script ?

        M 1 Reply Last reply Reply Quote 0
        • M
          mariohbs @paul53 last edited by

          @paul53 in /home/iobroker

          der Aufruf mit "sudo bash /home/iobroker/restart_unifi.sh" klappt aber auch nicht 😞

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

          Support us

          ioBroker
          Community Adapters
          Donate

          816
          Online

          32.0k
          Users

          80.4k
          Topics

          1.3m
          Posts

          2
          3
          236
          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