Skip to content
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

Problem updating 9.2.5 → 9.2.6 #536

Closed
juanfal opened this issue Sep 18, 2023 · 8 comments
Closed

Problem updating 9.2.5 → 9.2.6 #536

juanfal opened this issue Sep 18, 2023 · 8 comments

Comments

@juanfal
Copy link

juanfal commented Sep 18, 2023

I get the following error message:

278 error ENOTEMPTY: directory not empty, rename '/var/lib/homebridge/node_modules/homebridge-meross' -> '/var/lib/homebridge/node_modules/.homebridge-meross-wacUV3ZQ'
  • Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?

I use (1) Homebridge 1.6.1
on Raspberry Pi zero copy

Had the version 9.2.5 of hb-meross

278 error ENOTEMPTY: directory not empty, rename '/var/lib/homebridge/node_modules/homebridge-meross' -> '/var/lib/homebridge/node_modules/.homebridge-meross-wacUV3ZQ'
@bwp91
Copy link
Owner

bwp91 commented Sep 18, 2023

Hi @juanfal

From the homebridge terminal, can you run this:

sudo rm -rf /var/lib/homebridge/node_modules/homebridge-meross

don't restart homebridge at this point (have to say it!) then run this:

sudo npm i -g homebridge-meross

@bwp91
Copy link
Owner

bwp91 commented Sep 18, 2023

if neither of the above commands fail, then restart homebridge

@juanfal
Copy link
Author

juanfal commented Sep 18, 2023 via email

@bwp91
Copy link
Owner

bwp91 commented Sep 18, 2023

ah ok don’t restart homebridge at all yet

@bwp91
Copy link
Owner

bwp91 commented Sep 18, 2023

in the homebridge ui can you search for the meross plugin, and does it let you install it?

@juanfal
Copy link
Author

juanfal commented Sep 18, 2023

It has disappeared. I spent 1 hour reconfiguring every automation and organising everything in the previous dissaster ()

@juanfal
Copy link
Author

juanfal commented Sep 18, 2023

I my gosh! I had an old non updated safari window still with the Meross plugin asking to be updated. Oh my! it has update it (installed it) without breaking everything as it did before with that crash!

Thanks anyway!

@bwp91
Copy link
Owner

bwp91 commented Sep 18, 2023

vaya tela!

@bwp91 bwp91 closed this as completed Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants