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

HassIO Snapshot restore fail #26

Closed
DMIllsUK opened this issue Jul 5, 2019 · 6 comments · Fixed by #43
Closed

HassIO Snapshot restore fail #26

DMIllsUK opened this issue Jul 5, 2019 · 6 comments · Fixed by #43

Comments

@DMIllsUK
Copy link

DMIllsUK commented Jul 5, 2019

When restoring a snapshot this addon always fails to restore.

When it fails the error is logged as follows
19-07-05 21:21:27 ERROR (MainThread) [hassio.addons.addon] Can't restore origin data: [('/data/tmp/tmp7srk635q/data/logs/default.log', '/data/addons/data/a0d7b954_nginxproxymanager/logs/default.log', '/data/tmp/tmp7srk635q/data/logs/default.log is a named pipe'), ('/data/tmp/tmp7srk635q/data/logs/letsencrypt-requests.log', '/data/addons/data/a0d7b954_nginxproxymanager/logs/letsencrypt-requests.log', '/data/tmp/tmp7srk635q/data/logs/letsencrypt-requests.log is a named pipe'), ('/data/tmp/tmp7srk635q/data/logs/manager.log', '/data/addons/data/a0d7b954_nginxproxymanager/logs/manager.log', '/data/tmp/tmp7srk635q/data/logs/manager.log is a named pipe')]
19-07-05 21:21:28 ERROR (MainThread) [hassio.snapshots.snapshot] Can't restore snapshot for a0d7b954_nginxproxymanager

Setup addon; then restore the backup on another device.

@addons-assistant
Copy link

👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

@sinclairpaul
Copy link
Member

sinclairpaul commented Jul 5, 2019

As a workaround are you able to delete the logs folder from the tar before you restore? (I am assuming there is a logs folder there..)

@addons-assistant
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@rtenklooster
Copy link

Same problem here. Just did a fresh install, restored a recent backup.
the unifi controller and proxy manager won't restrore:
19-09-04 20:59:47 ERROR (MainThread) [hassio.addons.addon] Can't restore origin data: [('/data/tmp/tmpvrm1k6gm/data/logs/default.log', '/data/addons/data/a0d7b954_nginxproxymanager/logs/default.log', '/data/tmp/tmpvrm1k6gm/data/logs/default.log is a named pipe'), ('/data/tmp/tmpvrm1k6gm/data/logs/letsencrypt-requests.log', '/data/addons/data/a0d7b954_nginxproxymanager/logs/letsencrypt-requests.log', '/data/tmp/tmpvrm1k6gm/data/logs/letsencrypt-requests.log is a named pipe'), ('/data/tmp/tmpvrm1k6gm/data/logs/manager.log', '/data/addons/data/a0d7b954_nginxproxymanager/logs/manager.log', '/data/tmp/tmpvrm1k6gm/data/logs/manager.log is a named pipe')] 19-09-04 20:59:47 ERROR (MainThread) [hassio.snapshots.snapshot] Can't restore snapshot for a0d7b954_nginxproxymanager 19-09-04 20:59:47 ERROR (MainThread) [hassio.addons.addon] Can't restore origin data: [('/data/tmp/tmpgpar3hkh/data/unifi/data/backup', '/data/addons/data/a0d7b954_unifi/unifi/data/backup', "[Errno 2] No such file or directory: '/data/tmp/tmpgpar3hkh/data/unifi/data/backup'")] 19-09-04 20:59:47 ERROR (MainThread) [hassio.snapshots.snapshot] Can't restore snapshot for a0d7b954_unifi

@addons-assistant
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@addons-assistant
Copy link

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@addons-assistant addons-assistant bot locked as resolved and limited conversation to collaborators Jan 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants