Doesn't work after resume system from sleep

What is the problem you are having with rclone?

CachyOS. Just a mounted OneDrive with rclone. Dolphin file explorer. If I resume from sleep, not only does it seem to have lost its connection, but it also causes Dolphin to crash in a way that a -kill can’t even terminate. It also causes the terminal to be unable navigate paths even outside my onedrive folder. I must shutdown -r now to my system.

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

rclone v1.72.0
- os/version: cachyos (64 bit)
- os/kernel: 6.18.1-2-cachyos (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.25.4
- go/linking: static
- go/tags: none
~

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)

no command. simply resuming system from sleep state

no command

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

[Onedrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal

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

Paste  log here

welcome to the forum,

please understand that we cannot see into your machine.
so far, you have not provide any actionable information for us to help you.


post the command


need to read the debug log for errors and other issues.

Hi, I’m not running a command when this problem occurs. I just mount onedrive with this command when I login to my system:

rclone --vfs-cache-mode writes mount Onedrive: /home/username/Onedrive --exclude "Personal Vault/**" &

That works fine and allows my Dolphin file browser to access my onedrive files.

The problem is that when my computer goes to sleep state and then resumes, there seems to be a problem with that mount in that I can no longer access the mount and it sends Dolphin not responding.

I can provide a log, but where can I find the log?

well, you seem to be running a command, as you just posted it.
for testing, do not run use &, run rclone on the command line.


use a debug log, look at for errors. for example,
--log-level=DEBUG --log-file=/home/username/rclone.log


before running rclone mount, make sure to

  1. kill all running instances of rclone mount.
  2. make sure only one instance of rclone mount is running at any given time.
  3. delete the log file

try to access the mountpoint via the terminal, not dolphin.

after the machine is out of sleep. note the date/time.
look at the debug log, at that date/time

I mentioned that I cannot access the mount via terminal as well. The terminal itself will hang/freeze if I simply enter ls -l on the onedrive directory

i have rclone run at login automatically via script command. i changed it to add the verbose logging switches. logged out and back in and i see the log is there.

i’ll try putting the system to sleep and resuming later today.

i’m sure there is a command i can run, if i i wanted to, that will disconnect that mount, so at worst i can disconnect it before i sleep my system overnight and reconnect after resuming sleep.

can you let me know what the command is for that? thank you.

Network mounts and sleeping / resuming are a recipe for a hung system.

You’d really want to unmount things and mount them on a resume.

You’d be fighting a losing battle trying to hope network connectivity worked and things resumed.

ChatGPT gave me a sassy answer:

Why sleep + network FUSE is risky

When your computer sleeps:

  • Network interfaces go down

  • TCP connections break

  • SSH/NFS/WebDAV/S3/etc sessions freeze mid-flight

But FUSE keeps the mount “alive” in userspace.

Result:

  • Hung processes (D state)

  • Commands like ls or df blocking forever

  • Apps freezing because they touched the mount

  • Occasionally needing a reboot to recover

This isn’t Linux being fragile — it’s just physics. The network vanished.

Yeah I can unmount if rclone doesn’t work with that.

Would this be the right command to unmount the rclone mount?

fusermount -u /path/to/mountpoint

actually i just ended the rclone process to make the mount go away

with help of chatgpt, i set it up to auto mount at login, auto unmount at sleep, auto mount at resume from sleep. that should work

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