Database Is Read Only

What is the problem you are having with rclone?

Cannot delete files with error:
Failed to deletefile: accessDenied: serviceReadOnly: Database Is Read Only

Run the command 'rclone version' and share the full output of the command.

rclone v1.59.2
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-47-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.18.6
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone -vvv deletefile OneDriveSecure1:/dump/vzdump-qemu-100-2021_12_20-01_00_06.vma.zst

The rclone config contents with secrets removed.

~$ cat .config/rclone/rclone.conf | grep -vE 'token|password|_id'
[OneDrive1]
type = onedrive
drive_type = business

[OneDriveSecure1]
type = crypt
remote = OneDrive1:/sec
filename_encryption = standard
directory_name_encryption = true

A log from the command with the -vv flag

rclone -vvv deletefile OneDriveSecure1:/dump/vzdump-qemu-100-2021_12_20-01_00_06.vma.zst
2022/09/20 15:54:26 DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone" "-vvv" "deletefile" "OneDriveSecure1:/dump/vzdump-qemu-100-2021_12_20-01_00_06.vma.zst"]
2022/09/20 15:54:26 DEBUG : Creating backend with remote "OneDriveSecure1:/dump/vzdump-qemu-100-2021_12_20-01_00_06.vma.zst"
2022/09/20 15:54:26 DEBUG : Using config file from "/home/francoisd/.config/rclone/rclone.conf"
2022/09/20 15:54:26 DEBUG : Creating backend with remote "OneDrive1:/sec/xxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
2022/09/20 15:54:29 DEBUG : fs cache: adding new entry for parent of "OneDrive1:/sec/xxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "OneDrive1:sec/xxxxxxxxxxxxxxxxxxxxxxxxxx"
2022/09/20 15:54:31 ERROR : vzdump-qemu-100-2021_12_20-01_00_06.vma.zst: Couldn't delete: accessDenied: serviceReadOnly: Database Is Read Only
2022/09/20 15:54:31 ERROR : Attempt 1/3 failed with 1 errors and: accessDenied: serviceReadOnly: Database Is Read Only
2022/09/20 15:54:32 ERROR : vzdump-qemu-100-2021_12_20-01_00_06.vma.zst: Couldn't delete: accessDenied: serviceReadOnly: Database Is Read Only
2022/09/20 15:54:32 ERROR : Attempt 2/3 failed with 1 errors and: accessDenied: serviceReadOnly: Database Is Read Only
2022/09/20 15:54:33 ERROR : vzdump-qemu-100-2021_12_20-01_00_06.vma.zst: Couldn't delete: accessDenied: serviceReadOnly: Database Is Read Only
2022/09/20 15:54:33 ERROR : Attempt 3/3 failed with 1 errors and: accessDenied: serviceReadOnly: Database Is Read Only
2022/09/20 15:54:33 DEBUG : 3 go routines active
2022/09/20 15:54:33 Failed to deletefile: accessDenied: serviceReadOnly: Database Is Read Only

This problem seems to match with an OS update from the main clients, since the I can't add or delete any file from the 5th of September.

The debug shows above, are from another computer on which I fully reconfigured rclone from scratch, including new auth keys. I can download the existing files, but write or delete operations are not working. (Makes sense if the DB is RO).

So, where is this DB on the OneDrive ? How can I check / fix it ?

Replying to myself : stop looking further. Just exceeded quota, and underlying is Read Only. So, everything is "as expected"

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.