Transport endpoint is not connected

What is the problem you are having with rclone?

2024/09/05 22:27:01 DEBUG : rclone: Version "v1.53.3-DEV" starting with parameters ["rclone" "mount" "--vfs-cache-mode=full" "--cache-db-purge" "--log-level" "DEBUG" "--log-file" "/tmp/rclone.log" "gdrive-pmurugan:" "/home/vanangamudi/gdrive/pmurugan/"]
2024/09/05 22:27:01 DEBUG : Creating backend with remote "gdrive-pmurugan:"
2024/09/05 22:27:01 DEBUG : Using config file from "/home/vanangamudi/.config/rclone/rclone.conf"
2024/09/05 22:27:01 DEBUG : Google drive root '': root_folder_id = "[redacted]" - save this in the config to speed up startup
2024/09/05 22:27:01 Fatal error: Can not open: /home/vanangamudi/gdrive/pmurugan/: open /home/vanangamudi/gdrive/pmurugan/: transport endpoint is not connected

I mounted gdrive using rclone and it was working well. A few moments ago I got the following errors and then it stopped working. When I try to mount again with the following command I get the transport end point not connected error as you can see above

$ rclone mount gdrive-pmurugan: ~/gdrive/pmurugan/
2024/09/05 20:14:12 ERROR : gpinn/3bec.py: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes
2024/09/05 21:12:36 ERROR : gpinn/3bec.org: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes
2024/09/05 21:13:05 ERROR : gpinn/3bec.org: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes
2024/09/05 21:13:07 ERROR : gpinn/3bec.org: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes
2024/09/05 21:13:28 ERROR : gpinn/3bec.org: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes
2024/09/05 21:13:36 ERROR : gpinn/3bec.org: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes
2024/09/05 21:13:41 ERROR : gpinn/3bec.org: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes
2024/09/05 21:13:48 ERROR : gpinn/3bec.org: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes
2024/09/05 21:15:56 ERROR : gpinn/3bec.org: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes

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

$ rclone version
rclone v1.53.3-DEV
- os/arch: linux/amd64
- go version: go1.18.1
vanangamudi@kaithadi:~

Which cloud storage system are you using?

Google Drive

The command you were trying to run

$ rclone mount  gdrive-pmurugan: ~/gdrive/pmurugan/
$ rclone mount  --cache-db-purge  gdrive-pmurugan: ~/gdrive/pmurugan/
$ rclone mount --vfs-cache-mode=full --cache-db-purge  gdrive-pmurugan: ~/gdrive/pmurugan/
$ rclone mount --vfs-cache-mode=full --cache-db-purge  --log-level DEBUG --log-file /tmp/rclone.log gdrive-pmurugan: ~/gdrive/pmurugan/

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

This was not running.

Command config needs 0 arguments maximum: you provided 1 non flag arguments: ["redacted"]

You have ancient. Very ancient rclone version.

Uninstall your OS provided one and install the latest from rclone website.

Then try whatever you are doing again.

1 Like

That usually happens when rclone mount unmounts uncleanly. Can try to run fusermount -u mountpoint where mountpoint is the point where rclone mount was mounted. For example

fusermount -u /home/vanangamudi/gdrive

After this run rclone mount again.

Also be aware about other errors, if you need to write to the middle of files you need to use cache with--vfs-cache-mode=writes or --vfs-cache-mode=full

And of course update rclone the newest version (now) is 1.67