Skip to content

[Bug] Daemon timed out. Terminating daemon pid xxxxxx when using --daemon flag #6173

Closed

Description

@CyberPoison

The associated forum post URL from https://forum.rclone.org

What is the problem you are having with rclone?

When i deploy my rclone mount with --daemon flag in debug mode i get:

[DEBUG : Daemon timed out. Terminating daemon pid 

What is your rclone version (output from rclone version)

rclone: Version "v1.58.1"

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

root@hcloud-worker-1:/mnt/Cloud Storage# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Which cloud storage system are you using? (e.g. Google Drive)

Google Drive

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone mount --allow-other --dir-cache-time 24h --vfs-read-chunk-size 124M --vfs-read-chunk-size-limit 4G --buffer-size 512M --daemon --vfs-cache-mode writes Cloud\ Storage\ Server\ 1\ Uncrypt:/ /mnt/Cloud\ Storage/Cloud\ Storage\ Server\ 1/ -vv

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

2022/05/15 16:18:07 DEBUG : Creating backend with remote "Cloud Storage Server 1 Uncrypt:/"
2022/05/15 16:18:07 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2022/05/15 16:18:07 DEBUG : Creating backend with remote "Cache Cloud Storage 1:/"
2022/05/15 16:18:07 NOTICE: WARNING: Cache backend is deprecated and may be removed in future. Please use VFS instead.
2022/05/15 16:18:07 DEBUG : Creating backend with remote "Cloud Storage 1:/"
2022/05/15 16:18:07 DEBUG : fs cache: renaming cache item "Cloud Storage 1:/" to be canonical "Cloud Storage 1:"
2022/05/15 16:18:07 DEBUG : Cache Cloud Storage 1: wrapped Cloud Storage 1: at root
2022/05/15 16:18:07 INFO  : Cache Cloud Storage 1: Cache DB path: /mnt/.cache/rclone/cache-backend/Cache Cloud Storage 1.db
2022/05/15 16:18:07 INFO  : Cache Cloud Storage 1: Cache chunk path: /mnt/.cache/rclone/cache-backend/Cache Cloud Storage 1
2022/05/15 16:18:07 INFO  : Cache Cloud Storage 1: Chunk Memory: true
2022/05/15 16:18:07 INFO  : Cache Cloud Storage 1: Chunk Size: 32Mi
2022/05/15 16:18:07 INFO  : Cache Cloud Storage 1: Chunk Total Size: 64Gi
2022/05/15 16:18:07 INFO  : Cache Cloud Storage 1: Chunk Clean Interval: 1m0s
2022/05/15 16:18:07 INFO  : Cache Cloud Storage 1: Workers: 4
2022/05/15 16:18:07 INFO  : Cache Cloud Storage 1: File Age: 1d
2022/05/15 16:18:07 DEBUG : fs cache: renaming cache item "Cache Cloud Storage 1:/" to be canonical "Cache Cloud Storage 1:"
2022/05/15 16:18:07 DEBUG : fs cache: switching user supplied name "Cache Cloud Storage 1:/" for canonical name "Cache Cloud Storage 1:"
2022/05/15 16:19:07 DEBUG : Cache remote Cache Cloud Storage 1:: starting cleanup
2022/05/15 16:19:07 DEBUG : Daemon timed out. Terminating daemon pid 2226753
2022/05/15 16:19:07 Fatal error: mount not ready

Without the --daemon flag

2022/05/15 16:36:37 DEBUG : Creating backend with remote "Cloud Storage Server 1 Uncrypt:"
2022/05/15 16:36:37 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2022/05/15 16:36:37 DEBUG : Creating backend with remote "Cache Cloud Storage 1:/"
2022/05/15 16:36:37 NOTICE: WARNING: Cache backend is deprecated and may be removed in future. Please use VFS instead.
2022/05/15 16:36:37 DEBUG : Creating backend with remote "Cloud Storage 1:/"
2022/05/15 16:36:37 DEBUG : fs cache: renaming cache item "Cloud Storage 1:/" to be canonical "Cloud Storage 1:"
2022/05/15 16:36:37 DEBUG : Cache Cloud Storage 1: wrapped Cloud Storage 1: at root
2022/05/15 16:36:37 INFO  : Cache Cloud Storage 1: Cache DB path: /mnt/.cache/rclone/cache-backend/Cache Cloud Storage 1.db
2022/05/15 16:36:37 INFO  : Cache Cloud Storage 1: Cache chunk path: /mnt/.cache/rclone/cache-backend/Cache Cloud Storage 1
2022/05/15 16:36:37 INFO  : Cache Cloud Storage 1: Chunk Memory: true
2022/05/15 16:36:37 INFO  : Cache Cloud Storage 1: Chunk Size: 32Mi
2022/05/15 16:36:37 INFO  : Cache Cloud Storage 1: Chunk Total Size: 64Gi
2022/05/15 16:36:37 INFO  : Cache Cloud Storage 1: Chunk Clean Interval: 1m0s
2022/05/15 16:36:37 INFO  : Cache Cloud Storage 1: Workers: 4
2022/05/15 16:36:37 INFO  : Cache Cloud Storage 1: File Age: 1d
2022/05/15 16:36:37 DEBUG : fs cache: renaming cache item "Cache Cloud Storage 1:/" to be canonical "Cache Cloud Storage 1:"
2022/05/15 16:36:37 DEBUG : Cache remote Cache Cloud Storage 1:: subscribing to ChangeNotify
2022/05/15 16:36:37 DEBUG : vfs cache: root is "/root/.cache/rclone"
2022/05/15 16:36:37 DEBUG : vfs cache: data root is "/root/.cache/rclone/vfs/Cloud Storage Server 1 Uncrypt"
2022/05/15 16:36:37 DEBUG : vfs cache: metadata root is "/root/.cache/rclone/vfsMeta/Cloud Storage Server 1 Uncrypt"
2022/05/15 16:36:37 DEBUG : Creating backend with remote "/root/.cache/rclone/vfs/Cloud Storage Server 1 Uncrypt/"
2022/05/15 16:36:37 DEBUG : Creating backend with remote "/root/.cache/rclone/vfsMeta/Cloud Storage Server 1 Uncrypt/"
2022/05/15 16:36:37 DEBUG : Encrypted drive 'Cloud Storage Server 1 Uncrypt:': Mounting on "/mnt/Cloud Storage/Cloud Storage Server 1/"
2022/05/15 16:36:37 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2022/05/15 16:36:37 DEBUG : : Root:
2022/05/15 16:36:37 DEBUG : : >Root: node=/, err=<nil>

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Activity

  1. changed the title [-][Bug] Daemon timed out. Terminating daemon pid xxxxxx[/-] [+][Bug] Daemon timed out. Terminating daemon pid xxxxxx when using `--daemon flag`[/+] on May 15, 2022
  2. animosity022 commented on May 16, 2022

    @animosity022
    Contributor

    This is being addressed in:

    #5664

  3. magbulogtong81 commented on Nov 16, 2024

    @magbulogtong81

    I encountered this error as well, so I added -vv --log-file=log on the rclone arguments to get verbose log and see why it's showing that error, and it shows this error message just before the daemon timed out:

    CRITICAL: Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount3": executable file not found in $PATH
    

    so I install fuse3 (provides fusermount3 on ubuntu) and then it works perfectly.

    which is weird, cause that daemon timed out error would cause confusion to a novice user. it could've just instructed me to install fusermount3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions