Fatal error: Can not open: /mnt/gdrive - Help debugging

Fatal error: Can not open: /mnt/gdrive: open /mnt/gdrive: transport endpoint is not connected

I am seeing these error 2 or 3 times a day in the rclone log.

Here is a snipet from the rclone log file:
2018/12/07 21:31:40 DEBUG : Videos/TV-Kaitlin/The Orville/Season 01/The Orville S01E08 - Into the Fold.mp4: ReadFileHandle.seek from 1716224 to 1523712 (fs.RangeSeeker)
2018/12/07 21:31:40 DEBUG : Videos/TV-Kaitlin/The Orville/Season 01/The Orville S01E08 - Into the Fold.mp4: ChunkedReader.RangeSeek from 3559424 to 1523712 length -1
2018/12/07 21:31:40 DEBUG : Videos/TV-Kaitlin/The Orville/Season 01/The Orville S01E08 - Into the Fold.mp4: ChunkedReader.Read at -1 length 4096 chunkOffset 1523712 chunkSize 134217728
2018/12/07 21:31:40 DEBUG : Videos/TV-Kaitlin/The Orville/Season 01/The Orville S01E08 - Into the Fold.mp4: ChunkedReader.openRange at 1523712 length 134217728
2018/12/07 21:31:41 DEBUG : rclone: Version “v1.45” starting with parameters ["/usr/sbin/rclone" “mount” “gsuites:” “/mnt/gdrive” “–allow-other” “–buffer-size” “1G” “–dir-cache-time” “72h” “–drive-chunk-size” “32M” “–log-level” “DEBUG” “–log-file” “/home/habskilla/logs/rclone.log” “–umask” “002” “–vfs-read-chunk-size” “128M” “–vfs-read-chunk-size-limit” “off”]
2018/12/07 21:31:41 DEBUG : Using config file from “/home/habskilla/.config/rclone/rclone.conf”

The mount will successfully reconnect, but the interruption is very troublesome.

What’s your rclone version show?

What’s the errors around that from the debug log or is that it?

1.45
That’s it from the log file.

The snippet doesn’t help. Do you have the log file to share?

DM’d you a link to the debug log file.

I tracked down why it was failing at 1:51AM and 8:16AM:
51 1 * * * sudo systemctl restart rclone_mount.service; echo restarted >>/tmp/restart-rclone_mount.log 2>&1
08 16 * * * sudo systemctl restart rclone_mount.service; echo restart >>/tmp/restart-rclone_mount.log 2>&1

Lesson learned, do not mask issues with restarts.

At the time I was having issues and decided to put these restarts in. Totally forgot I did this.

1 Like

I’m happy you found the issue!