Unable to shutdown

What is the problem you are having with rclone?

I’m not entirely sure whether the culprit is rclone or Dolphin.

I have rclone running as a systemd user service to mount my OneDrive folder. When I close the laptop lid, the system usually suspends correctly — but occasionally it doesn’t.

In those cases, journalctl shows messages indicating that the rclone service failed to exit during suspend. I’m trying to determine whether this is caused by rclone itself or by Dolphin (or another process) keeping the mount active. If Dolphin is active, then high chance rclone is unable to exit successfully. Here’s the journalctl log:

Nov 08 15:53:29 archlinux systemd-sleep[74871]: Failed to freeze unit 'user.slice': Connection timed out 
Nov 08 15:53:29 archlinux (sd-exec-strv)[74904]: /usr/lib/systemd/system-sleep/99-rclone-unmount failed with exit status 1. 
Nov 08 15:53:29 archlinux (sd-exec-strv)[74904]: /usr/lib/systemd/system-sleep/99-rclone-unmount.sh failed with exit status 1. 
Nov 08 15:53:29 archlinux systemd-sleep[74871]: Performing sleep operation 'suspend'...

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

  • os/version: arch (64 bit)
  • os/kernel: 6.17.7-arch1-1 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.25.3 X:nodwarf5
  • go/linking: dynamic
  • go/tags: none

Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
--> Yes

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

The command you were trying to run (eg rclone copy /tmp remote:tmp)
ExecStart=/usr/bin/rclone mount OD: /home/henry/OneDrive --vfs-cache-mode writes
ExecStop=/usr/bin/fusermount3 -uz /home/henry/OneDrive

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[OD]
type = onedrive
token = ry":"2025-11-08T19:08:42.077446293+07:00","expires_in":3599}
drive_id = C
drive_type = personal

A log from the command that you were trying to run with the -vv flag

2025/11/08 19:05:08 DEBUG : rclone: Version "v1.71.2" starting with parameters ["rclone" "mount" "OD:" "/home/henry/OneDrive/" "--vfs-cache-mode" "writes" "-vv"]
2025/11/08 19:05:08 DEBUG : Creating backend with remote "OD:"
2025/11/08 19:05:08 DEBUG : Using config file from "/home/henry/.config/rclone/rclone.conf"
2025/11/08 19:05:10 DEBUG : OneDrive root '': Next delta token is: 
2025/11/08 19:05:10 DEBUG : OneDrive root '': vfs cache: root is "/home/henry/.cache/rclone"
2025/11/08 19:05:10 DEBUG : OneDrive root '': vfs cache: data root is "/home/henry/.cache/rclone/vfs/OD"
2025/11/08 19:05:10 DEBUG : OneDrive root '': vfs cache: metadata root is "/home/henry/.cache/rclone/vfsMeta/OD"
2025/11/08 19:05:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/henry/.cache/rclone/vfs/OD/"
2025/11/08 19:05:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/11/08 19:05:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/henry/.cache/rclone/vfs/OD/" to be canonical ":local{8un-i}:/home/henry/.cache/rclone/vfs/OD"
2025/11/08 19:05:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/henry/.cache/rclone/vfsMeta/OD/"
2025/11/08 19:05:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name
2025/11/08 19:05:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/henry/.cache/rclone/vfsMeta/OD/" to be canonical ":local{8un-i}:/home/henry/.cache/rclone/vfsMeta/OD"
2025/11/08 19:05:10 INFO  : OneDrive root '': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2025/11/08 19:05:10 DEBUG : OneDrive root '': Mounting on "/home/henry/OneDrive/"
2025/11/08 19:05:10 DEBUG : Root: 
1 Like

welcome to the forum,

that rclone debug log is just a snippet with no ERROR, issues?
the timestamps from the rclone log does not match the timestamps from journalctl ?


need to run your rclone commands with a debug log.

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