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
Update error for version 4.41.3 #1243
Comments
I’m getting the same issue |
Same |
1 similar comment
Same |
Manually delete the folder listed under the "dest" part of the error. |
Thanks |
or for other users:
Then try install again:
|
pi@homebridge:~ $ sudo npm install -g homebridge-config-ui-x --unsafe-perm npm ERR! A complete log of this run can be found in: changed 348 packages, and audited 349 packages in 4m 38 packages are looking for funding 5 high severity vulnerabilities To address all issues (including breaking changes), run: Run |
Above my log after your input, the broswer still not loading the UI 🤔 |
Did you restart after? |
Yes |
Run
|
Thanks @oznu this fixed it for me tho i did it slightly different i ran sudo rm -rf /usr/local/lib/node_modules/.homebridge-config-ui-x-* then i ran sudo hb-config and updated from there |
Now can access the UI, good news! |
It should be on disk somewhere, however if it's not showing up it's not in the default location - /var/lib/homebridge on Linux - those command didn't remove any config. You could try looking in /home/pi/.homebridge/ |
Si, what’s the exact command line that fixes it? And why do you lose the json config? |
Thanks, I installed homebridge in my PI3+ trough the image. |
The procedure wrote by @oznu generated a new instance and in HomeKit this generated a new hub to be added |
So, not really a fix then, is it?
… On 26 Nov 2021, at 09:59, Stetocasa ***@***.***> wrote:
Si, what’s the exact command line that fixes it? And why do you lose the json config?
The procedure wrote by @oznu generated a new instance and in HomeKit this generated a new hub to be added
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
The only positive thing compared a reflash sd is that all plugins are already installed |
@oznu Any possibility to recover the previous homebridge instance ? |
The instructions provided will not have removed your config. If it's not there then some other command must have removed it; or homebridge was setup in a non-standard way so the config is in a different location. |
Can you help me please to find it? |
pi@homebridge:~ $ /var/lib/homebridge/config.json |
Thank you @oznu. Works fine for me. |
I’m not sure what happened but my instance is toast too. Rebuilding from scratch isn’t fun. |
So, to make sure I understand, @oznu’s solution fixes the issue but requires you to rebuild all of your HomeKit set-up from scratch? What is the reason for this issue in the first place anyway? Thank you. |
Nope didn’t have to rebuild mine from scratch followed it slighty different and it’s working as it should
|
This 100% won’t erase my entire HomeBridge settings and HomeKit setup, right?
… On 29 Nov 2021, at 22:26, saltysmith1 ***@***.***> wrote:
@oznu’s solution fixes the issue but requires you to rebuild all of your HomeKit set-up from scratch?
Nope didn’t have to rebuild mine from scratch followed it slighty different and it’s working as it should
Thanks @oznu this fixed it for me tho i did it slightly different i ran sudo rm -rf /usr/local/lib/node_modules/.homebridge-config-ui-x-* then i ran sudo hb-config and updated from there
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
I'm facing the same issue but after I executed the commands
I executed the commands and my Homebridge shows as Updated, even show the new version on the dashboard. Any idea? follow the log after I executed the commands. pi@homebridge:/var/lib/homebridge $ sudo rm -rf /usr/lib/node_modules/.homebridge-config-ui-x-* added 7 packages, removed 1 package, changed 341 packages, and audited 349 packages in 4m 38 packages are looking for funding 6 high severity vulnerabilities To address all issues, run: Run |
After that, on dashboard is showing 4.41.3 but, after some time, the homebridge restart and again is on version 4.41.2. |
Any update on this issue? |
I haven’t input any sudo commands. I don’t feel safe doing it.
… On 30 Nov 2021, at 17:33, adrianopery ***@***.***> wrote:
Any update on this issue?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
I tried, but doesn't work. |
For the late comers, solution here: #1243 (comment) |
Describe Your Problem:
Update error when running the update from terminal (macOS).
Update error when running the update from homebridge web interface (macOS Safari).
See Screenshot
Logs:
Homebridge Config:
Environment:
The text was updated successfully, but these errors were encountered: