-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error when update Node.js is attempted #3347
Comments
Hi :) I have the same issue and HUE plugin says, that it needs node 18.15 to run. I've checked the synology and it has ver 18.12 installed. Can't install the higher version on synology. HB see 16.16 version. |
Same issue. @oznu pls help |
I just updated my node to 18.16 successfully - perhaps it was an 18.15 issue? Just posting to see if that was the case... sorry I'm not more help. |
I am still getting this error:
|
My apologies - I didn’t see the synology NAS had a limit - I’m using a raspberry pi. Your error shows that the OS of synology isn’t yet compatible with node 18 - you would need to reach out to Synology to see what they can do for that limitation I imagine. |
No worries. Synology had support for node js 18 since 2022. From what I read. |
I believe the Synology homebridge package is located here - https://github.com/oznu/homebridge-syno-spk This issue should be raised there. |
Complete instructions to upgrade to Node 18 |
Tried this on my updated 7.2-64551 DSM. Now Homebridge wont load. I reverted the coped source and it still wont load. I may have to uninstall re-install homebridge to fix |
Oznu docker on Synology DSM 7.2. Getting same error when trying to update to node js 18. |
same error here. "Updating Node.js from v16.16.0 to v18.16.1... Running DSM 7.1.1-42962 Update 6 on a DS1520+. Using homebridge-syno-spk version 3.0.9. |
Duplicate of #3301 |
Analysis
I have Homebridge running on DSM 7
I'm trying to update Node.js as when I go to update plugins, it complains that I should be at newer version (v16.19.1) than where I am (v16.16.0).
This is interesting as the Synology itself is running 18.12.0-0005.
Node.js was updated via Synology update process for other apps to version.
I see that 16.x should work fine for now, that 18.x is supported as well....
Node.js 16.x until September 2023
Node.js 18.x until April 2025
However, when I go to update Node.js, I get an error:
homebridge@indy:/volume1/homebridge $ hb-service update-node
ℹ Updating Node.js from v16.16.0 to v18.15.0...
✖ Cannot update Node.js on your system. Synology DSM 7 does not currently support Node.js 18 or later.
This perhaps is just an issue with Synology and versioning, but since Synology did the update to get Node.js to 18, it seems odd that the output is saying it is unsupported.
Expected Behavior
I'd expect that Homebridge would see / notice that Node.js had been updated to 18.12.
Other than that, I wouldn't expect an unsupported error when I attempt to do the update to get Homebridge to see the update.
Steps To Reproduce
I ssh to Synology
sudo to root
issue hb-service update-node
also tried:
hb-service update-node 18.12
(same error)
Logs
Configuration
nothing of note for this section
Environment
Process Supervisor
hb-service
Additional Context
I am able to get Node.js to update to 16.19, but would like to move to 18 and be consistent.
hb-service update-node 16.19
ℹ Installing Node.js v16.19.1 over v16.16.0...
ℹ Target: /volume1/@appstore/homebridge/app
✔ Download complete.
✔ Cleaned up npm at at /volume1/@appstore/homebridge/app/lib/node_modules/npm
✔ Installed Node.js v16.19.1
⚠ Please restart Homebridge for the changes to take effect.
The text was updated successfully, but these errors were encountered: