Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IoBroker Autostart unter Ubuntu 16.04.5

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    IoBroker Autostart unter Ubuntu 16.04.5

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

      Moin moin,

      ich habe leider ein Problem mit dem Autostart von ioBroker.

      Wenn der Rechner neustartet (Stromausfall etc.) wird ioBroker nicht gestartet.

      Ich habe schon einige Forenbeiträge gelesen und leider keine Antwort auf mein Problem finden können….

      Vielleicht kann mir ja jemand helfen. 😉

      Zur Rechner Umgebung:

      • Intel NUC

      • Ubuntu 16.04.5

      • npm 4.6.1

      • node v8.12.0

      Ich kann ioBroker manuell starten

      iobroker start
      

      funktioniert. Allerdings kann ioBroker dann z.B. keine Netzlaufwerke mounten

      starte ich iobroker mit

      sudo iobroker start
      

      Funktioniert alles ohne Probleme.

      Ich denke es scheint also irgendwo eine Rechteproblem beim Autostart zugeben.

      Hier noch einige Auszüge aus meiner Konfiguration:

      iobroker@iobroker:/etc/init.d$ systemctl status iobroker.service
      ● iobroker.service - LSB: starts ioBroker
         Loaded: loaded (/etc/init.d/iobroker.sh; bad; vendor preset: enabled)
         Active: active (exited) since Fr 2018-10-19 15:48:18 CEST; 35min ago
           Docs: man:systemd-sysv-generator(8)
        Process: 1143 ExecStart=/etc/init.d/iobroker.sh start (code=exited, status=0/SUCCESS)
          Tasks: 0
         Memory: 0B
            CPU: 0
      
      Okt 19 15:48:18 iobroker systemd[1]: Starting LSB: starts ioBroker...
      Okt 19 15:48:18 iobroker sudo[1148]:     root : TTY=unknown ; PWD=/ ; USER=iobroker ; COMMAND=/usr/bin/node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js st
      Okt 19 15:48:18 iobroker sudo[1148]: pam_unix(sudo:session): session opened for user iobroker by (uid=0)
      Okt 19 15:48:18 iobroker iobroker.sh[1143]: Starting ioBrokerStarting iobroker controller daemon...
      Okt 19 15:48:18 iobroker iobroker.sh[1143]: iobroker controller daemon failed to start:  Failed to write pidfile (EACCES)
      Okt 19 15:48:18 iobroker iobroker.sh[1143]: Error: Failed to write pidfile (EACCES)
      Okt 19 15:48:18 iobroker sudo[1148]: pam_unix(sudo:session): session closed for user iobroker
      Okt 19 15:48:18 iobroker systemd[1]: Started LSB: starts ioBroker.
      
      
      iobroker@iobroker:/opt/iobroker$ ls -l
      total 64
      drwxrwxrwx   2 root     root      4096 Okt 19 15:19 backups
      drwxrwxrwx   2 root     root      4096 Sep 13 14:14 etc
      -rwxrwxrwx   1 root     root       297 Sep 13 14:02 install.sh
      -rwxrwxrwx   1 root     root        67 Sep 13 14:02 iobroker
      drwxrwxrwx   6 root     root      4096 Sep 13 21:25 iobroker-data
      -rwxrwxrwx   1 root     root        92 Okt  1 20:30 killall.sh
      drwxrwxrwx   2 root     root      4096 Okt 19 02:12 log
      drwxrwxrwx 828 root     root     24576 Okt 19 14:47 node_modules
      -rwxrwxrwx   1 iobroker iobroker  1361 Okt 19 14:47 package.json
      -rwxrwxrwx   1 root     root       709 Okt  1 20:30 reinstall.sh
      iobroker@iobroker:/opt/iobroker$
      
      
      [sudo] 
      GNU nano 2.5.3                                            File: /etc/sudoers
      
      #
      # This file MUST be edited with the 'visudo' command as root.
      #
      # Please consider adding local content in /etc/sudoers.d/ instead of
      # directly modifying this file.
      #
      # See the man page for details on how to write a sudoers file.
      #
      Defaults        env_reset
      Defaults        mail_badpass
      Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
      
      # Host alias specification
      
      # User alias specification
      
      # Cmnd alias specification
      
      # User privilege specification
      root    ALL=(ALL:ALL) ALL
      
      # Members of the admin group may gain root privileges
      %admin ALL=(ALL) ALL
      
      # Allow members of group sudo to execute any command
      %sudo   ALL=(ALL:ALL) ALL
      
      # See sudoers(5) for more information on "#include" directives:
      
      #includedir /etc/sudoers.d
      
      
      1 Reply Last reply Reply Quote 0
      • O
        ossilampe last edited by

        Hast du du schon eine Lösung für dein Problem??

        1 Reply Last reply Reply Quote 0
        • F
          Fischler last edited by

          Nein, leider nicht.

          Ich habe jetzt Debian installiert, da funktioniert es ohne Probleme.

          Allerdings bleibt nun der NUC bei einem Reboot hängen, da die Treiber fehlen….

          Also auch suboptimal.

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

          Support us

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

          446
          Online

          31.7k
          Users

          79.8k
          Topics

          1.3m
          Posts

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