kopiro / homebridge-playstation

Playstation integration for Homebridge / HOOBS.
Apache License 2.0
98 stars 9 forks source link

Can't switch to homebridge user from Homebridge terminal. #108

Open reboot81 opened 1 month ago

reboot81 commented 1 month ago

Describe Your Problem: Can't switch to homebridge user from Homebridge terminal.

Note: This is a restricted shell, sudo cannot be used here.

Homebridge Terminal

Node.js Version: v20.15.0
Node.js Path: /opt/homebridge/bin/node
Plugin Path: /var/lib/homebridge/node_modules

Update Node.js: hb-service update-node

Install Plugin: hb-service add homebridge-plugin-name
Remove Plugin: hb-service remove homebridge-plugin-name

root@c14:/var/lib/homebridge $ su homebridge
This account is currently not available.
root@c14:/var/lib/homebridge $ 

Logs:

[7/14/2024, 2:32:20 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules -D --strict-plugin-resolution
[7/14/2024, 2:32:20 PM] [HB Supervisor] Started Homebridge v1.8.2 with PID: 2961
[7/14/2024, 2:32:22 PM] Loaded config.json with 4 accessories and 4 platforms.
[7/14/2024, 2:32:22 PM] Loaded 0 cached accessories from cachedAccessories.
[7/14/2024, 2:32:22 PM] ---
[7/14/2024, 2:32:22 PM] Disabled plugin: homebridge-glue@3.0.6
[7/14/2024, 2:32:22 PM] ---
[7/14/2024, 2:32:23 PM] Loaded plugin: homebridge-messenger@0.0.8
[7/14/2024, 2:32:23 PM] Registering accessory 'homebridge-messenger.HomebridgeMessenger'
[7/14/2024, 2:32:23 PM] ---
[7/14/2024, 2:32:23 PM] Disabled plugin: homebridge-miot@1.7.1
[7/14/2024, 2:32:23 PM] ---
[7/14/2024, 2:32:24 PM] Loaded plugin: homebridge-playstation@1.6.0
[7/14/2024, 2:32:24 PM] Registering platform 'homebridge-playstation.playstation'
[7/14/2024, 2:32:24 PM] ---
[7/14/2024, 2:32:25 PM] Loaded plugin: homebridge-xiaomi-fan@1.5.9
[7/14/2024, 2:32:25 PM] Registering platform 'homebridge-xiaomi-fan.xiaomifan'
[7/14/2024, 2:32:25 PM] ---
[7/14/2024, 2:32:28 PM] Disabled plugin: homebridge-xiaomi-roborock-vacuum@0.31.1
[7/14/2024, 2:32:28 PM] ---
[7/14/2024, 2:32:28 PM] Disabled plugin: @gluehome/homebridge-gluehome@0.2.0
[7/14/2024, 2:32:28 PM] ---
[7/14/2024, 2:32:28 PM] Loading 4 platforms...
[7/14/2024, 2:32:28 PM] Ignoring config for the platform "GlueHomebridge" in your config.json as the plugin "@gluehome/homebridge-gluehome" has been disabled.
[7/14/2024, 2:32:28 PM] [xiaomifan] Initializing xiaomifan platform...
[7/14/2024, 2:32:28 PM] [xiaomifan] Initializing child bridge MAC:ADRESS
[7/14/2024, 2:32:28 PM] Ignoring config for the platform "miot" in your config.json as the plugin "homebridge-miot" has been disabled.
[7/14/2024, 2:32:28 PM] Loading 4 accessories...

Plugin Config:

{
    "bridge": {
        "name": "Homebridge IDID",
        "username": "MAC:ADRESS?",
        "port": 51511,
        "pin": "123-45-678",
        "advertiser": "bonjour-hap"
    }

Screenshots:

Environment:

loginov-rocks commented 1 month ago

Hi @reboot81 , I have the same problem although connecting over SSH, even passing the password check the login operation does not work, reported here https://github.com/kopiro/homebridge-playstation/issues/72#issuecomment-2229505094