What is the problem you are having with rclone?
I have rclone running with nextcloud on a seedbox. Honestly everything is working fine but it seems the cache is a bit bloated. The logs appear to show that these files should be removed but they are not getting removed. I am mostly using defaults and the files below have uploaded to nextcloud and are available for use elsewhere. However, it seems they are still constantly uploading to the remote and I am not sure why. There are no active peers on any of them and haven't been for a while. I am seeding the files, but those should be sparse files at this point which they do not appear to be. Also I do not ever intend for files to change on this mount. I thought about doing a VFS writes but for my situation (seeding) I did not feel that would be best.
Should these files be getting removed from the cache?
Run the command 'rclone version' and share the full output of the command.
rclone v1.64.0
Which cloud storage system are you using? (eg Google Drive)
nextcloud
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Paste command here
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[Unit]
Description=Rclone Mount Service
After=network.target auditd.service sshd.service
[Service]
Type=simple
ExecStart=/usr/bin/rclone mount \
--allow-non-empty \
--config /home/.config/rclone/rclone.conf \
--log-level DEBUG --log-file "/home/rclone.log" \
--allow-other \
--cache-db-purge \
--vfs-cache-mode full \
--vfs-read-chunk-size 16M \
nextcloud:/media /mnt/media/
ExecStop=/bin/fusermount -u /mnt/media
User=hi
Restart=always
RestartSec=10
[Install]
WantedBy=default.target
A log from the command that you were trying to run with the -vv
flag
excerpt:
2023/10/26 09:14:16 DEBUG : : >Statfs: stat={Blocks:276424632413 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/HomeVideoFile2.2023..1080p.TrueHD.Atmos.7.1.AVC.-FraMeSToR/HomeVideoFile2.2023..1080p.TrueHD.Atmos.7.1.AVC.-FraMeSToR.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/Talk.to.Me.2022.1080p..AVC.TrueHD.Atmos.7.1-playBD/Talk.to.Me.2022.1080p..AVC.TrueHD.Atmos.7.1-playBD.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/The.Cabin.in.the.Woods.2011.Hybrid...1080p.AVC.Atmos.7.1-decibeL.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/The.Exorcist.Believer.2023.2160p.MA.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265-FLUX.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/HomeVideoFile8.2160p...DV.HDR.DTS-HD.MA.5.1.x265-HypStu.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/HomeVideoFile3.Extended...2160p.TrueHD.Atmos.7.1.DV.HEVC.-FraMeSToR/HomeVideoFile3.Extended...2160p.TrueHD.Atmos.7.1.DV.HEVC.-FraMeSToR.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/HomeVideoFile6.MA.WEB-DL.DDP5.1.HDR.HEVC-CMRG.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/HomeVideoFile12023..1080p.TrueHD.Atmos.7.1.AVC.-FraMeSToR/HomeVideoFile12023..1080p.TrueHD.Atmos.7.1.AVC.-FraMeSToR.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/HomeVideoFile7..1080p.DTSHD-MA.h264.-decibeL.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/HomeVideoFile5 1080p AVC Atmos TrueHD7.1-NoGroup.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item download//complete/someDir/HomeVideoFile4.Unrated.Extended.Directors.Cut..1080p.TrueHD.5.1.AVC.-Gohan.mkv not removed, freed 0 bytes
2023/10/26 09:14:24 INFO : vfs cache: cleaned: objects 11 (was 11) in use 11, to upload 7, uploading 4, total size 333.841Gi (was 333.841Gi)