homebridge / homebridge-config-ui-x

The Homebridge UI. Monitor, configure and backup Homebridge from a browser.
https://homebridge.io
MIT License
2.61k stars 370 forks source link

Can't uninstall HB Service #1910

Closed philipyoungg closed 8 months ago

philipyoungg commented 9 months ago

Describe The Bug

I'm migrating my homebridge to docker. I wanted to uninstall hb-service but got issue.

The 'hb-service uninstall' command is not available when Homebridge is running as a system package

Logs

No response

Config

No response

Homebridge UI Version

4.53.0

Homebridge Version

1.7.0

Node.js Version

18.13.0

Operating System

Ubuntu / Debian (or a variant)

Environment Info

Raspberry Pi Model

None

bwp91 commented 9 months ago

Hi @philipyoungg does this comment help at all? I know it's not a direct solution, but maybe it can help you understand how you have homebridge running so that it might be clearer how to properly uninstall/remove hb-service?

https://github.com/homebridge/homebridge-config-ui-x/issues/1573#issuecomment-1758890721

philipyoungg commented 8 months ago

Sorry for the late reply. I didn't get notification on Github.

I honestly don't remember how I had it installed in Ubuntu.

I tried following https://github.com/homebridge/homebridge-config-ui-x/wiki/How-To-Swap-From-Standalone-Mode-to-Service-Mode but

philipyoungg commented 8 months ago

Thanks, uninstalled by following https://github.com/homebridge/homebridge-apt-pkg

Got the clue after doing when running hb-service status

Which spits out This hb-service command is provided by Homebridge APT Package