homebridge-config-ui-x icon indicating copy to clipboard operation
homebridge-config-ui-x copied to clipboard

[Homebridge UI] Restore backup failed: zlib: unexpected end of file when trying to restore a backup on new HB instance on new machine.

Open buddyrich33 opened this issue 1 year ago • 26 comments

Current Situation

Trying to move my homebridge instance from one Mac to a new one and I am getting this error. [11/26/2023, 10:46:17 AM] [Homebridge UI] Restore backup failed: zlib: unexpected end of file

The homebridge I am trying to back up is a Mac Mini 2018 (so intel CPU) running latest MacOS Sonoma. homebridge is 1.7.0 plugins and Node version are up to date (node version 20.10.0)... I can make and download my backup file fine. I stop my hb instance via hb service command,.

The new mac I am trying to restore to is an M2 Max Mac Studio, running 1.7 homebridge and same 20.10.0 node version. No plugins yet.. I believe the restore will install them.

The backup file itself is 1.7 MBs and unzips with no errors and I can see the config files.. so it doesn't seem to be a corrupt backup.

Logs

Even with debug logging on this is the only error I get in the logs:

[11/26/2023, 10:46:17 AM] [Homebridge UI] Restore backup failed: zlib: unexpected end of file

Config

No response

Homebridge UI Version

4.53.0

Homebridge Version

1.7.0

Node.js Version

20.10.0

Operating System

macOS

Environment Info

  • [ ] Using Docker?
  • [ ] Using Hyper-V?
  • [X] Using hb-service?

Raspberry Pi Model

None

buddyrich33 avatar Nov 27 '23 14:11 buddyrich33