Node.js Unable to Update on Debian 11.9
vw971 opened this issue · 2 comments
Current Situation
Unable to update to higher version of Node.js on ia32 system.
Homebridge v1.7.0 requires Node.js v18.15.0 or later. You are currently running Node.js v16.18.0.
sudo hb-service update-node
ℹ Updating Node.js from v16.18.0 to v20.11.1...
✖ Architecture not supported: ia32.
cat /etc/os-release | grep VERSION
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
$ sudo arch
i686
Node.js Path /opt/homebridge/bin
Logs
no output for this
Configuration
/var/lib/homebridge/config.json
{
"bridge": {
"name": "Homebridge [redact]",
"username": "[redact]",
"port": 51517,
"pin": "[redact]",
"advertiser": "bonjour-hap"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "form",
"theme": "auto",
"tempUnits": "f",
"lang": "auto",
"platform": "config"
},
{
"name": "Wemo",
"mode": "semi",
"disableDeviceLogging": false,
"wemoOutlets": [
{
"label": "Auxiliary",
"serialNumber": "[redact]",
"showAs": "default",
"listenerType": "http"
}
],
"platform": "Wemo"
},
{
"name": "Nest",
"googleAuth": {
"issueToken": "[redact]",
"cookies": "[redact]"
},
"fanDurationMinutes": 15,
"options": [
"Thermostat.Eco.Disable",
"Thermostat.SeparateBuiltInHumiditySensor.Enable"
],
"platform": "Nest"
}
],
"disabledPlugins": []
}
Environment
- OS: Debian 11.9
- Software: Homebridge v1.6.1
- Node: v16.18.0
- npm: not installed
Process Supervisor
hb-service
Additional Context
Cannot upgrade Homebridge without updating Node.js
Homebridge v1.7.0 requires Node.js v18.15.0 or later. You are currently running Node.js v16.18.0.
Please upgrade Node.js before updating Homebridge.
Unfortunately, updating of x86 32bit versions of NodeJS is not supported within Homebridge-config-ui-x, and you will need to update your OS to 64 Bit in order to use the Homebridge supplied tools to update NodeJS. As updating the OS is a big change, you could do a manual update using one of the NodeJS builds supplied here - https://unofficial-builds.nodejs.org
As always, please do a homebridge backup prior to doing any upgrades, and if feasible test the restore before starting.
Thank you for helping confirm my findings. We’ll close this out.