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

Backup not working all of a sudden #22

Open
jhanson999 opened this issue Jul 7, 2022 · 4 comments
Open

Backup not working all of a sudden #22

jhanson999 opened this issue Jul 7, 2022 · 4 comments

Comments

@jhanson999
Copy link

I maintain two separate home assistant instances, and both utilize this script. As of this morning, both are reporting this message in the logs:

[services.d] starting services
[services.d] done.
Adding SSH key
Creating local backup: "Automated backup 2022-07-07 08:01"
time="2022-07-07T08:01:50-05:00" level=error msg="Unexpected server response"
parse error: Invalid numeric literal at line 1, column 11
[cmd] /run.sh exited 4
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...

            Oops! Something went wrong.

We are so sorry, but something went terribly wrong when
starting or running this add-on.

Be sure to check the log above, line by line, for hints.

[cont-finish.d] 99-message.sh: exited 0.

I've checked the configs and tried uninstalling and reinstalling with no luck.

@thorian93
Copy link

thorian93 commented Jul 10, 2022

@jhanson999 can you please format the output properly? Thanks!

I got the same issue however, and I have no way to understand what might be the issue or how to resolve/troubleshoot this.

@dennistdk
Copy link

Same exact issue. Started 4-5 days ago. All configuration fine/unchanged and destination server working.
Any advice?

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: Remote Backup
 Exploit snapshots and SCP/rsync to create remote backups to specified server
-----------------------------------------------------------
 Add-on version: 4.2.8
 You are running the latest version of this add-on.
 System: Home Assistant OS 8.2  (armv7 / raspberrypi3)
 Home Assistant Core: 2022.7.3
 Home Assistant Supervisor: 2022.07.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Adding SSH key
Creating local backup: "Automated backup 2022-07-11 19:00"
time="2022-07-11T19:00:07+02:00" level=error msg="Unexpected server response"
parse error: Invalid numeric literal at line 1, column 11
[cmd] /run.sh exited 4
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.

 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.

@jhanson999
Copy link
Author

I'm using https://github.com/ikifar2012/remote-backup-addon for the moment, it's a fork of this build.

@dennistdk
Copy link

@jhanson999 - Thank you. It works perfectly.

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

3 participants