For last 3 weeks i noticed that gdrive mount started to timeout when files were accessed. Iam updating rclone at least once per week to latest beta and iam not sure in what version it started to happen. Just remounting would fix the issue that would repeat within 24h.
Today I added another check to my cron script to log how often this occurs.
timeout 5 cat /mnt/gdrivecrypt/wd
exit_status=$?
if [[ $exit_status -ne 0 ]]; then
echo "gdrivecrypt cat timeout status: $exit_status remounting." | tee -a "$LogFile"
/home/plex/scripts/mountgdrivecrypt remount
fi
Ver: latest beta
mount cmd
rclone mount gdrivecrypt: /mnt/gdrivecrypt --allow-other --timeout=240m --dir-cache-time 744h --buffer-size 256M --drive-chunk-size 32M --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --log-level ERROR --log-file=/home/plex/logs/mountgdrivecrypt.log
Log
2019/10/15 15:45:06 ERROR : 4K-movies/Ender's Game (2013)/Ender's Game (2013) - Remux-2160p.mkv: ReadFileHandle.Read error: low level retry 10/10: failed to authenticate decrypted block - bad password?
2019/10/15 15:45:06 ERROR : 4K-movies/Ender's Game (2013)/Ender's Game (2013) - Remux-2160p.mkv: ReadFileHandle.Read error: failed to authenticate decrypted block - bad password?
2019/10/15 15:45:07 ERROR : 4K-movies/Ender's Game (2013)/Ender's Game (2013) - Remux-2160p.mkv: ReadFileHandle.Release error: file already closed
2019/10/15 20:35:22 ERROR : series/Fringe/Season 03/Fringe - S03E08 - HDTV-720p.mkv: ReadFileHandle.Read error: low level retry 1/10: stream error: stream ID 1135; INTERNAL_ERROR
2019/10/15 23:44:24 ERROR : series/Heroes/Season 03/Heroes - S03E11 - HDTV-720p.mkv: ReadFileHandle.Read error: low level retry 1/10: stream error: stream ID 1107; INTERNAL_ERROR
2019/10/15 23:44:24 ERROR : series/Titans (2018)/Season 01/Titans (2018) - S01E08 - Bluray-1080p.mkv: ReadFileHandle.Read error: low level retry 1/10: stream error: stream ID 1037; INTERNAL_ERROR
2019/10/16 02:43:38 ERROR : movies/El Camino A Breaking Bad Movie (2019)/El Camino A Breaking Bad Movie (2019) - WEBDL-1080p.mkv: ReadFileHandle.Read error: low level retry 1/10: open file failed: Get https://www.googleapis.com/drive/v3/files/1_GeBCdBjmABFYpeVQa2X9wNoALy4zYTy?alt=media: stream error: stream ID 1077; INTERNAL_ERROR
2019/10/16 02:49:08 ERROR : movies/El Camino A Breaking Bad Movie (2019)/El Camino A Breaking Bad Movie (2019) - WEBDL-1080p.mkv: ReadFileHandle.Read error: low level retry 2/10: open file failed: Get https://www.googleapis.com/drive/v3/files/1_GeBCdBjmABFYpeVQa2X9wNoALy4zYTy?alt=media: stream error: stream ID 1089; INTERNAL_ERROR
2019/10/16 02:49:38 ERROR : series/House/Season 07/House - S07E03 - HDTV-720p.mkv: ReadFileHandle.Read error: low level retry 1/10: stream error: stream ID 1011; INTERNAL_ERROR
2019/10/16 03:53:05 ERROR : series/House/Season 08/House - S08E09 - HDTV-720p.mkv: ReadFileHandle.Read error: low level retry 1/10: EOF
2019/10/16 04:03:29 ERROR : series/NCIS- New Orleans/Season 06/: Dir.Stat error: couldn't list directory: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files(id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink)%2CnextPageToken&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+('1CLDTACR8ehaVqTdKQOxbhl4RRH46VeuX'+in+parents)&supportsAllDrives=true: stream error: stream ID 831; INTERNAL_ERROR
2019/10/16 04:14:24 ERROR : series/NCIS- New Orleans/Season 06/: Dir.Stat error: couldn't list directory: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files(id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink)%2CnextPageToken&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+('1CLDTACR8ehaVqTdKQOxbhl4RRH46VeuX'+in+parents)&supportsAllDrives=true: stream error: stream ID 835; INTERNAL_ERROR
2019/10/16 04:19:55 ERROR : series/NCIS- New Orleans/Season 06/: Dir.Stat error: couldn't list directory: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files(id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink)%2CnextPageToken&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+('1CLDTACR8ehaVqTdKQOxbhl4RRH46VeuX'+in+parents)&supportsAllDrives=true: stream error: stream ID 843; INTERNAL_ERROR
2019/10/16 04:25:29 ERROR : series/NCIS- New Orleans/Season 06/: Dir.Stat error: couldn't list directory: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files(id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink)%2CnextPageToken&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+('1CLDTACR8ehaVqTdKQOxbhl4RRH46VeuX'+in+parents)&supportsAllDrives=true: stream error: stream ID 849; INTERNAL_ERROR
2019/10/16 04:31:04 ERROR : series/NCIS- New Orleans/Season 06/: Dir.Stat error: couldn't list directory: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files(id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink)%2CnextPageToken&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+('1CLDTACR8ehaVqTdKQOxbhl4RRH46VeuX'+in+parents)&supportsAllDrives=true: stream error: stream ID 853; INTERNAL_ERROR
2019/10/16 04:36:59 ERROR : series/NCIS- New Orleans/Season 06/: Dir.Stat error: couldn't list directory: Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files(id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink)%2CnextPageToken&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+('1CLDTACR8ehaVqTdKQOxbhl4RRH46VeuX'+in+parents)&supportsAllDrives=true: stream error: stream ID 857; INTERNAL_ERROR