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

3.0.1 backup to remote FTP - constant errors #30

Open
banditto9 opened this issue Feb 9, 2023 · 0 comments
Open

3.0.1 backup to remote FTP - constant errors #30

banditto9 opened this issue Feb 9, 2023 · 0 comments

Comments

@banditto9
Copy link

The problem

Hello and first of all let me thank you for your kind input with the Auto-backup and RClone add-ons - they helped me to cover the backup task of HA to a remote location.

Unfortunaly, something has broken with the version 3.0.1 when I started receiving constant errors after the task is completed.
It says it can't perform some operations due to IO error. I tried to delete the files on the remote location and in this case it works - it just uploads everying again. Ver 3.0.0 worked just fine for many months without any errors at all. Probably this is a coincidence and now the error appears due to the HA updates - HA get updates almost every 1-2 weeks, but I have no idea how to detect the root cause..

My setup is very simple - there are 2 locations interconnected via WireGuard (latency is around 50ms) and RCclone is configured to upload to a simple FTP which is in the intranet on a second location. FTP runs on the SOHO router and an SSD is connected via USB - using other folders and FileZilla I have no issues uploading/downloading other files so I don't think the SSD is degraded or something like that.

I would be happy to return to ver 3.0.0 but I don't know how to perform add-on downgrade in HA.
Thank you for your time and attention!

What version of Rclone Backup has the issue?

3.0.1

What version of Home Assistant are you running?

Home Assistant Core: 2023.2.3

What type of installation are you running?

Home Assistant OS

If you're running HA OS/Supervised, what version of the Supervisor are you running?

Home Assistant Supervisor: 2023.01.1

Example YAML snippet

No response

Anything in the logs that might be useful for us?

-----------------------------------------------------------
 Add-on: Rclone Backup
 Automatically sync backup to remote locations using rclone
-----------------------------------------------------------
 Add-on version: 3.0.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.5  (amd64 / generic-x86-64)
 Home Assistant Core: 2023.2.3
 Home Assistant Supervisor: 2023.01.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
cont-init: info: running /etc/cont-init.d/init.sh
cont-init: info: /etc/cont-init.d/init.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun rclone (no readiness notification)
services-up: info: copying legacy longrun scheduler (no readiness notification)
s6-rc: info: service legacy-services successfully started
[12:44:06] INFO: Installed rclone version:
[12:44:06] INFO: Starting Rclone Web GUI...
2023/02/08 12:44:06 NOTICE: Serving files from "/usr/share/rclone-webui-react"
2023/02/08 12:44:06 NOTICE: Serving remote control on http://[::]:8099/
2023/02/08 12:44:06 NOTICE: Web GUI is not automatically opening browser. Navigate to http://[::]:8099/ to use.
[12:44:06] INFO: rclone v1.61.1
- os/version: alpine 3.16.0 (64 bit)
- os/kernel: 5.15.90 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none
[12:44:06] INFO: Starting Scheduler...
[2023-02-08] [12:44:06] [INFO]: rclone config found
[2023-02-08] [12:44:07] [INFO]: checking job configs...
[2023-02-08] [12:44:07] [INFO]: scheduled jobs:
30 04 * * * sync "Sync Backups"; /backup -> habackup_to_9ka:/
[2023-02-09] [04:30:00] [INFO]: running "Sync Backups"; /backup -> habackup_to_9ka:/
[2023-02-09] [04:30:00] [INFO]: renamed 1 backups
2023/02/09 04:30:05 ERROR : DailyBackup_Thursday_February_9_2023.tar: Failed to copy: update getinfo: object not found
2023/02/09 04:30:05 ERROR : ftp://192.168.2.1:21: not deleting files as there were IO errors
2023/02/09 04:30:05 ERROR : ftp://192.168.2.1:21: not deleting directories as there were IO errors
2023/02/09 04:30:05 ERROR : Attempt 1/3 failed with 1 errors and: update getinfo: object not found
2023/02/09 04:30:05 ERROR : WeeklyBackup_Monday_January_9_2023.tar: Couldn't delete: object not found
2023/02/09 04:30:05 ERROR : ftp://192.168.2.1:21: not deleting directories as there were IO errors
2023/02/09 04:30:05 ERROR : Attempt 2/3 failed with 2 errors and: failed to delete 1 files
2023/02/09 04:30:05 ERROR : WeeklyBackup_Monday_January_9_2023.tar: Couldn't delete: object not found
2023/02/09 04:30:05 ERROR : ftp://192.168.2.1:21: not deleting directories as there were IO errors
2023/02/09 04:30:05 ERROR : Attempt 3/3 failed with 2 errors and: failed to delete 1 files
2023/02/09 04:30:05 INFO  : 
Transferred:   	   24.941 MiB / 24.941 MiB, 100%, 6.235 MiB/s, ETA 0s
Errors:                 2 (retrying may help)
Checks:                40 / 40, 100%
Deleted:                2 (files), 0 (dirs)
Elapsed time:         5.2s
2023/02/09 04:30:05 Failed to sync with 2 errors: last error was: failed to delete 1 files
[2023-02-09] [04:30:05] [ERROR]: failed to run rclone command: exit status 1

Additional information

rclone.conf

[habackup_to_9ka]
type = ftp
host = 192.168.2.1
user = habackup
pass = < excluded here >

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

1 participant