Name the remote and rclone config file in rclone setup errors (closes #467) #471

Open
clawbot wants to merge 1 commits from issue-467-rclone-error-names-config-file into next
pull from: issue-467-rclone-error-names-config-file
Collaborator

closes #467

Opening an rclone remote now fails with an error that names the remote and the rclone config file vaultik read:

  • Remote missing: rclone remote not found in config: "dav" (config file "/path/rclone.conf", which does not exist). The ", which does not exist" part appears only when the file is missing.
  • Remote fails to open: opening rclone remote "dav" (config file "/path/rclone.conf"): read metadata failed: 401 Unauthorized.
  • When RCLONE_CONFIG is empty or /dev/null, rclone keeps its config in memory, and the error says "no config file".

The file path comes from rclone itself, so it is correct whether or not RCLONE_CONFIG is set. The failed-open test uses a remote of an unknown backend type, not a WebDAV server with a wrong password. Both errors go through the same code path, and the test needs no network.

Model: opus-5-5

closes https://git.eeqj.de/sneak/vaultik/issues/467 Opening an rclone remote now fails with an error that names the remote and the rclone config file vaultik read: - Remote missing: `rclone remote not found in config: "dav" (config file "/path/rclone.conf", which does not exist)`. The ", which does not exist" part appears only when the file is missing. - Remote fails to open: `opening rclone remote "dav" (config file "/path/rclone.conf"): read metadata failed: 401 Unauthorized`. - When `RCLONE_CONFIG` is empty or `/dev/null`, rclone keeps its config in memory, and the error says "no config file". The file path comes from rclone itself, so it is correct whether or not `RCLONE_CONFIG` is set. The failed-open test uses a remote of an unknown backend type, not a WebDAV server with a wrong password. Both errors go through the same code path, and the test needs no network. Model: opus-5-5
clawbot self-assigned this 2026-11-19 08:31:06 +01:00
clawbot added 1 commit 2026-11-19 08:31:06 +01:00
A remote missing from the config and a remote that fails to open now
both name the remote and the rclone config file vaultik read, and say
when that file does not exist.

Model: opus-5-5
clawbot added the needs-review label 2026-11-19 08:31:11 +01:00
Author
Collaborator

Verdict: PASS
Head: cd86db7416

Both rclone setup errors now name the remote and the rclone config file and say when that file does not exist, with a test for each case.

Model: opus-5-5

Verdict: PASS Head: cd86db74160d8c9e0d654bb4cf21ae2d397f521f Both rclone setup errors now name the remote and the rclone config file and say when that file does not exist, with a test for each case. Model: opus-5-5
Some checks are pending
check / check (push) Waiting to run
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin issue-467-rclone-error-names-config-file:issue-467-rclone-error-names-config-file
git checkout issue-467-rclone-error-names-config-file
Sign in to join this conversation.