Giter Site home page Giter Site logo

Comments (2)

DrDeath avatar DrDeath commented on May 23, 2024 1

The issue itself could be in:
95baa57#diff-b6c2574b5b91eaa0ca83bbd863349ab7532b7ab87ca57202320ed281263c878e

/lib/systemd/system/homebridge.service

The SupplementaryGroups "homebridge" does not exist on my "old" homebridge installation.
Therefore the user "homebridge" is not a member of the not existing group "homebridge".

root@raspberrypi4:~# id homebridge
uid=116(homebridge) gid=65534(nogroup) Gruppen=65534(nogroup),20(dialout),29(audio),44(video),104(input),106(render),112(bluetooth),999(spi),998(i2c),997(gpio)

If I comment out the line:

SupplementaryGroups=homebridge

in /lib/systemd/system/homebridge.service

and do a

sudo systemctl daemon-reload
sudo systemctl restart homebridge

the service starts again:

systemctl status homebridge
● homebridge.service - Homebridge
     Loaded: loaded (/lib/systemd/system/homebridge.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-11-11 15:19:36 CET; 5s ago
    Process: 18862 ExecStartPre=/bin/run-parts /etc/hb-service/homebridge/prestart.d (code=exited, status=0/SUCCESS)
   Main PID: 18865 (hb-service)
      Tasks: 11 (limit: 4163)
        CPU: 6.557s
     CGroup: /system.slice/homebridge.service
             └─18865 hb-service

Nov 11 15:19:35 raspberrypi4 systemd[1]: Starting Homebridge...
Nov 11 15:19:35 raspberrypi4 run-parts[18863]: Ensuring /var/lib/homebridge and /opt/homebridge are owned by homebridge
Nov 11 15:19:36 raspberrypi4 systemd[1]: Started Homebridge.
Nov 11 15:19:37 raspberrypi4 start.sh[18865]: [11.11.2022, 15:19:37] [HB Supervisor] Homebridge Storage Path: /var/lib/homebridge

from homebridge-apt-pkg.

elyscape avatar elyscape commented on May 23, 2024

It looks like, for a period of time, the homebridge user was created without a matching group. I'll submit a PR to handle those systems.

from homebridge-apt-pkg.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.