Hello, my first post here, and quite new to Linux at home, hope not to say something too stupid, and, I am not sure it is a problem with Rclone but I need to start from here, hoping there is some limitation I don't understand.
What is the problem you are having with rclone?
For those who do not know it, Calibre is a library management software.
In a nutshell, the problem I have is that Calibre on Linux is seeing all but the newest 30 books (not one more, not one less, and exactly the last ones added), when it is using Rclone to load the library.
So, I have since long time a Sugarsync account that I use to keep my Calibre library in the cloud. So far it has always worked fine when sharing it between multiple Windows computers.
Now, I have set up this Fedora 39 Workstation on my older pc (i7-4770K, 16GB RAM) and installed calibre 7.0 there, same version I have on Windows.
Since Sugarsync does not have a Linux client, I am using rclone to keep things synced.
I have directory "Biblioteca di calibre" in Sugarsync, and I am trying to sync it with /home/marco/Biblioteca di calibre.
There are about 500 directories in there and a total of 2.5GB of files in total (in subdirectories).
I used "rclone mount" to mount the sugarsync directory to the path where calibre looks for its files.
Issuing an ls -lrt there, I can see the files I expect to see (see pictures attached), so I assume the remote configuration and the mount command work fine.
For sure it looks like that, for example:
EDIT: I am not allowed to post images
Barring the different order an characted size, in general I can't spot anything missing.
However, as I said, if I run the calibre program I can see all but the most recent ones... that is, the latest 30 that I have added are visible in calibre for windows but not in calibre for linux.
EDIT: I am not allowed to post images
What is puzzling me so much is that the files are there! For example, one of the "missing books" as you can see from the pictures is "La cena" by Herman Koch. You can see here that the file is actually seen in the Linux mount:
True, the directory structure has some spaces and things that can confuse rclone and or Linux, but this happens not only for those 30 books, but for all of them, and anyway if only some files are impacted, why only the 30 most recently added?
Run the command 'rclone version' and share the full output of the command.
rclone 1.64.2
- os/version: fedora 39 (64 bit)
- os/kernel: 6.5.11-300.fc39.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.1
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Sugarsync
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
root@localhost-live:/etc/systemd/system# su - marco
marco@localhost-live:~$ mount Biblioteca\ di\ calibre/
Please run 'rclone config redacted' and share the full output. If you get
marco@localhost-live:~$ rclone config redacted
[calibre_lib]
type = sugarsync
username =
refresh_token = XXX
authorization = XXX
authorization_expiry = 2023-11-19T05:57:21-08:00
user = XXX
root_id = XXX
deleted_id = XXX
[google-drive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =
### Double check the config for sensitive info before posting publicly
A log from the command that you were trying to run with the -vv
flag
N/A or don't know how to get what
I put this in my /etc/fstab:
calibre_lib:Biblioteca\040di\040calibre /home/marco/Biblioteca\040di\040calibre rclone rw,noauto,vfs_cache_mode=full 0 0
(Btw I tried to set it to automount, and I made the system un-bootable and had to rescue it)
With this, the mount command works.
I can also mount the disk with
rclone mount calibre_lib:Biblioteca\ di\ calibre /home/marco/Biblioteca\ di\ calibre --vfs-cache-mode full
The result is the same: I can see the books, but not the most recent ones.
I really have no idea what can "confuse" my two calibre instances... It could be a problem in calibre, true, but I really can't see why.
What could be causing this issue?
Thanks!