Skip to content

Unable to update config ui-x to 5.6.0 #2565

@rakgupta

Description

@rakgupta

Current Situation

I have tried to upgrade config-ui-x to 5.6.0 (from 5.4.1) multiple times, but the process never completes. I can see it starting the download process (very slow), it gets to around 22% and then Homebridge restarts. I am running only 2 plugins - Homebridge-Hubitat and Homebridge-Ring. Coincidentally, my Ring cameras never show up in Apple Home.

I have tried upgrading from the command line as well as using sudo - same results.

This was a fresh install about 3 weeks ago. I restored the configuration from an earlier version that was on a RPi 4 (using a much older - about 4 years - Homebridge image).

Here is the system configuration:

OS: Linux 6.12.34+rpt-rpi-2712 arm64.

Node.js v22.17.1
Homebridge UI v5.4.1
Platform: Raspberry Pi5

Below is the relevant section of the log. You can see that it starts the download but then restarts on it's own.

[9/7/2025, 4:53:41 PM] [Homebridge UI] Running command /opt/homebridge/lib/node_modules/homebridge-config-ui-x/scripts/upgrade-install.sh 5.6.0 /opt/homebridge v5.6.0.
[9/7/2025, 4:54:53 PM] [Hubitat MakerAPI hhm:0.4.15] Refreshing All Device Data
[9/7/2025, 4:54:53 PM] [Hubitat MakerAPI hhm:0.4.15] Received All Device Data
[9/7/2025, 4:56:08 PM] [Hubitat MakerAPI hhm:0.4.15] Change Event (http): (Backyard Temp and Humidity:880) [HUMIDITY] is 50
[9/7/2025, 4:56:08 PM] [Hubitat MakerAPI hhm:0.4.15] Change Event (http): (Garage Attic:980) [TEMPERATURE] is 91.4
[9/7/2025, 4:56:08 PM] [Hubitat MakerAPI hhm:0.4.15] Change Event (http): (House Attic:979) [TEMPERATURE] is 99.1
[9/7/2025, 4:56:08 PM] [Hubitat MakerAPI hhm:0.4.15] Change Event (http): (House Attic:979) [HUMIDITY] is 34
[9/7/2025, 4:58:02 PM] [Hubitat MakerAPI hhm:0.4.15] Change Event (http): (Entryway Lux Sensor:514) [ILLUMINANCE] is 64
[9/7/2025, 4:58:41 PM] [Homebridge UI] Homebridge restart request received.
[9/7/2025, 4:58:41 PM] [Homebridge UI] Sending SIGTERM to process...
[9/7/2025, 4:58:41 PM] [HB Supervisor] Stopping services...
[9/7/2025, 4:58:41 PM] Got SIGTERM, shutting down Homebridge...
[9/7/2025, 4:58:41 PM] Got SIGTERM, shutting down child bridge process...
[9/7/2025, 4:58:46 PM] [HB Supervisor] Homebridge process ended. Code: 143, signal: null.
[9/7/2025, 4:58:52 PM] [HB Supervisor] OS: Linux 6.12.34+rpt-rpi-2712 arm64.
[9/7/2025, 4:58:52 PM] [HB Supervisor] Node.js v22.17.1 /opt/homebridge/bin/node.
[9/7/2025, 4:58:52 PM] [HB Supervisor] Homebridge path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge.
[9/7/2025, 4:58:52 PM] [HB Supervisor] UI path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js.
[9/7/2025, 4:58:53 PM] [Homebridge UI] Homebridge UI v5.4.1 is listening on :: port 8581.
[9/7/2025, 4:58:53 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution.

I have also tried to update using sudo npm and it does not upgrade

sudo npm install -g homebridge homebridge-config-ui-x > install.log 2>&1

Any help would be really appreciated. Thanks

Logs

Please see above...

Config

{
    "bridge": {
        "name": "Homebridge",
        "username": "xx:xx:xx:xx:xx:xx",
        "port": 51487,
        "pin": "123-45-678",
        "advertiser": "ciao"
    },
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "teal",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "platform": "Hubitat-MakerAPI",
            "name": "Hubitat MakerAPI",
            "app_url": "http://192.168.1.xxx/apps/api/3",
            "access_token": "<MY-ACCESS-TOKEN",
            "local_ip": "192.168.1.XXX",
            "local_port": 20010,
            "mode_switches": false,
            "hsm": false,
            "debug": false,
            "logFile": {
                "enabled": true,
                "path": "",
                "file": "",
                "compress": true,
                "keep": 5,
                "size": "10m"
            },
            "excluded_capabilities": {
                "514": [
                    "WaterSensor",
                    "MoistureSensor",
                    "LeakSensor"
                ],
                "880": [
                    "WaterSensor",
                    "MoistureSensor",
                    "LeakSensor"
                ],
                "979": [
                    "WaterSensor",
                    "MoistureSensor",
                    "LeakSensor"
                ],
                "980": [
                    "WaterSensor",
                    "MoistureSensor",
                    "LeakSensor"
                ]
            }
        }
    ],
    "accessories": [],
    "disabledPlugins": []
}

Homebridge UI Version

v5.4.1

Homebridge Version

v1.11.0

Node.js Version

v22.17.1

Operating System

Raspberry Pi OS / Raspbian

Environment Info

None

Raspberry Pi Model

Other (specify in description)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions