hassio-rclone-backup icon indicating copy to clipboard operation
hassio-rclone-backup copied to clipboard

WebUI returns 404 when downloading file

Open FrankZZ opened this issue 3 years ago • 1 comments

The problem

when I click the download button of a file through the WebUI -> Explorer view I see a HTTP/404 response for the GET request of the file in the inspector view network tab.

The rest of the WebUI works as expected. In the Explorer view of the Web UI I can successfully upload files and I see them in my onedrive and in the webUI.

request path (ignore the redacted part. the real value is the same as for example "List files" requests that succeed):

/api/hassio_ingress/*REDACTED*/[hassbackup:]/scan-1.svg

I am using onedrive as remote (wrapped in a crypt remove but I also tried without crypt, same issue)

What version of Rclone Backup has the issue?

3.0.0

What version of Home Assistant are you running?

2022.9.6

What type of installation are you running?

Home Assistant Supervised

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

2022.09.1

Example YAML snippet

jobs:
  - name: Sync Daily Backups
    schedule: 10 4 * * *
    command: sync
    sources:
      - /backup
    destination: "hassbackup:"
    include: []
    exclude: []
    flags: {}
dry_run: false
config_path: /config/rclone.conf
log_level: debug
rclone_config: >
  [onedrive]
  type = onedrive
  token = {"access_token":"xxx","token_type":"Bearer","refresh_token":"xxx","expiry":"xxx"}
  drive_id = xxx
  drive_type = personal

  [hassbackup]
  type = crypt
  remote = onedrive:backup/ha
  filename_encryption = off
  directory_name_encryption = false
  password = xxx
  password2 = xxx

Anything in the logs that might be useful for us?

No, I did not see extra logs when I try to download a file

Additional information

No response

FrankZZ avatar Sep 26 '22 23:09 FrankZZ

This is definitely an issue, I was sure that it was working in development, but it is definitely broken at the moment.

jcwillox avatar Oct 02 '22 04:10 jcwillox