hoobs-org / HOOBS

Build your Smart Home with HOOBS. Connect over 2,000 Accessories to your favorite Ecosystem.
https://hoobs.org
GNU General Public License v3.0
553 stars 51 forks source link

Unable to restore from backup Error: EXDEV: cross-device link not permitted #1724

Closed morjacobi closed 2 years ago

morjacobi commented 2 years ago

Description On Fresh install Unable to restore config from backup.

Version 4.1.18

Did you upgrade Please let us know if you upgraded from a previous version.

Did you orginally upgrade to HOOBS 3 from HOOBS 2.1.1?

What device are you using? Please let us know the device you are running HOOBS on.

If this is a custom install, what's your operating system? Debian 10

Post your log

9:45:20 AM WARNING performing restore
9:45:20 AM WARNING performing restore
9:45:20 AM restore type "full"
9:45:20 AM restore type "full"
9:45:20 AM WARNING unhandled rejection: Error: EXDEV: cross-device link not permitted, rename '/tmp/upload_d4963e83d985a6a6ffec27f4c9149880' -> '/var/lib/hoobs/restore-1640072720922.zip'
9:45:20 AM WARNING unhandled rejection: Error: EXDEV: cross-device link not permitted, rename '/tmp/upload_d4963e83d985a6a6ffec27f4c9149880' -> '/var/lib/hoobs/restore-1640072720922.zip'

Additional context The configuration backup was created from HOOBS RPi image - worked well. after sd card went dead, tried to restore it in several OS. Debian 10 Manual install, DietPi Manual install. all returned this message: unhandled rejection: Error: EXDEV: cross-device link not permitted

morjacobi commented 2 years ago

update: i was able to restore by coping the backup file to /var/lib/hoobs/backups and restoring from the web gui