hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

Backup not working all of a sudden

Open jhanson999 opened this issue 2 years ago • 4 comments

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.

jhanson999 avatar Jul 07 '22 13:07 jhanson999

@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.

thorian93 avatar Jul 10 '22 11:07 thorian93

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.

dennistdk avatar Jul 11 '22 17:07 dennistdk

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

jhanson999 avatar Jul 11 '22 20:07 jhanson999

@jhanson999 - Thank you. It works perfectly.

dennistdk avatar Jul 12 '22 21:07 dennistdk