Rclone Crashing Sonarr and Radarr When Mounting

What is the problem you are having with rclone?

Rclone crashing Sonarr and Radarr when mounting. Sonarr and Radarr both come up with a Proxy Error and my Seedbox provider said it was to do with my rclone mount. It first says lost connection to backend and then after reloading the page comes up with the Proxy Error.

What is your rclone version (output from rclone version)

Rclone v1.48.0

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

Linux

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Rclone mount

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

rclone mount --vfs-cache-mode writes --daemon -vv gcrypt: ~/mnt/gdrive & [1] 64176
~$ 2019/08/11 02:57:45 DEBUG : rclone: Version "v1.48.0" starting with parameters ["rclone" "mount" "--vfs-cache-mode" "writes" "--daemon" "-vv" "gcrypt:" "/home1/techbyte/mnt/gdrive"]
2019/08/11 02:57:45 DEBUG : Using config file from "/home1/techbyte/.config/rclone/rclone.conf"
2019/08/11 02:57:49 DEBUG : gcache: wrapped gdrive:gdrive/crypt at root crypt
2019/08/11 02:57:49 DEBUG : gcache: Purging the DB
2019/08/11 02:57:49 INFO : gcache: Cache DB path: /home1/techbyte/.cache/rclone/cache-backend/gcache.db
2019/08/11 02:57:49 INFO : gcache: Cache chunk path: /home1/techbyte/.cache/rclone/cache-backend/gcache
2019/08/11 02:57:49 INFO : gcache: Chunk Memory: true
2019/08/11 02:57:49 INFO : gcache: Chunk Size: 16M
2019/08/11 02:57:49 INFO : gcache: Chunk Total Size: 20G
2019/08/11 02:57:49 INFO : gcache: Chunk Clean Interval: 1m0s
2019/08/11 02:57:49 INFO : gcache: Workers: 4
2019/08/11 02:57:49 INFO : gcache: File Age: 2d
2019/08/11 02:57:49 DEBUG : Adding path "cache/expire" to remote control registry
2019/08/11 02:57:49 DEBUG : Adding path "cache/stats" to remote control registry
2019/08/11 02:57:49 DEBUG : Adding path "cache/fetch" to remote control registry
2019/08/11 02:57:51 DEBUG : gcache: wrapped gdrive:gdrive/crypt at root crypt
2019/08/11 02:57:51 DEBUG : gcache: Purging the DB
2019/08/11 02:57:51 INFO : gcache: Cache DB path: /home1/techbyte/.cache/rclone/cache-backend/gcache.db
2019/08/11 02:57:51 INFO : gcache: Cache chunk path: /home1/techbyte/.cache/rclone/cache-backend/gcache
2019/08/11 02:57:51 INFO : gcache: Chunk Memory: true
2019/08/11 02:57:51 INFO : gcache: Chunk Size: 16M
2019/08/11 02:57:51 INFO : gcache: Chunk Total Size: 20G
2019/08/11 02:57:51 INFO : gcache: Chunk Clean Interval: 1m0s
2019/08/11 02:57:51 INFO : gcache: Workers: 4
2019/08/11 02:57:51 INFO : gcache: File Age: 2d
2019/08/11 02:57:51 DEBUG : Adding path "cache/expire" to remote control registry
2019/08/11 02:57:51 DEBUG : Adding path "cache/stats" to remote control registry
2019/08/11 02:57:51 DEBUG : Adding path "cache/fetch" to remote control registry
2019/08/11 02:57:51 DEBUG : rclone: Version "v1.48.0" finishing with parameters ["rclone" "mount" "--vfs-cache-mode" "writes" "--daemon" "-vv" "gcrypt:" "/home1/techbyte/mnt/gdrive"]
2019/08/11 02:57:51 INFO : plex: stopped Plex watcher
2019/08/11 02:57:51 DEBUG : Cache remote gcache:crypt: Services stopped
2019/08/11 02:57:51 INFO : plex: stopped Plex watcher
2019/08/11 02:57:51 DEBUG : Cache remote gcache:crypt: Services stopped

Did they give you a reason why to think that?

They just said that it had to do with the rclone mount and sonarr and radarr only crash when gdrive is mounted.

I run Sonarr and Radarr and rclone and works fine. Do you have any logs from Sonarr or Rradarr?

You've got the --daemon parameter in there which will mean you'll need to write logs to a file with --log-file or --syslog if you want to see what is happening.

Maybe you didn't want the --daemon parameter - how are you running rclone? If running from systemd you don't want --daemon.

I'm running rclone on a seedbox I access remotely. I download shows with rutorrent and then have them copied automatically to gdrive where it is mounted on the server. It goes through gcrypt and has a gcache as well. It worked perfectly for a while and then I downloaded a lot of shows and sonarr keeps giving a proxy error now whenever rclone is mounted. When it is not mounted, sonarr works perfectly, but I can't copy the shows.

What are the actual errors in Sonarr or Radarr though?

How can I check this?

Turn Sonarr to debug and look at the sonarr-debug.txt file that is created.

If it's crashing, it should have an error in there.

Is there a recommended mount you would use? I have the debug running and my normal mount is 'rclone mount --vfs-cache-mode writes -vv --daemon gcrypt: /home1/techbyte/mnt/gdrive'

19-8-27 22:37:29.6|Debug|Api|[PUT] /api/config/host: 202.Accepted (51 ms)
19-8-27 22:37:29.7|Debug|Api|[GET] /api/health: 200.OK (1 ms)
19-8-27 22:37:29.9|Debug|Api|[GET] /api/health: 200.OK (1 ms)
19-8-27 22:37:35.3|Debug|Api|[GET] /api/series?sort_by=sortTitle&order=asc: 200.OK (216 ms)
19-8-27 22:38:41.8|Debug|RTorrentProxy|Executing remote method: d.multicall2
19-8-27 22:38:41.8|Debug|RTorrent|Retrieved metadata of 88 torrents in client
19-8-27 22:38:41.8|Debug|Parser|Parsing string 'Hawaii.Five-0.S03E21.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]'
19-8-27 22:38:41.8|Debug|Parser|Episode Parsed. Hawaii Five-0 - S03E21
19-8-27 22:38:41.8|Debug|Parser|Language parsed: English
19-8-27 22:38:41.8|Debug|QualityParser|Trying to parse quality for Hawaii.Five-0.S03E21.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]
19-8-27 22:38:41.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-8-27 22:38:41.8|Debug|Parser|Release Group parsed: KiNGS
19-8-27 22:38:41.8|Debug|Parser|Parsing string 'The.Originals.S02E02.1080p.WEB-DL.DD5.1.H.264-KiNGS[rarbg]'
19-8-27 22:38:41.8|Debug|Parser|Episode Parsed. The Originals - S02E02
19-8-27 22:38:41.8|Debug|Parser|Language parsed: English
19-8-27 22:38:41.8|Debug|QualityParser|Trying to parse quality for The.Originals.S02E02.1080p.WEB-DL.DD5.1.H.264-KiNGS[rarbg]
19-8-27 22:38:41.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-8-27 22:38:41.8|Debug|Parser|Release Group parsed: KiNGS
19-8-27 22:38:41.8|Debug|Parser|Parsing string 'The.Originals.S02E09.1080p.WEB-DL.DD5.1.H.264-KiNGS[rarbg]'
19-8-27 22:38:41.8|Debug|Parser|Episode Parsed. The Originals - S02E09
19-8-27 22:38:41.8|Debug|Parser|Language parsed: English
19-8-27 22:38:41.8|Debug|QualityParser|Trying to parse quality for The.Originals.S02E09.1080p.WEB-DL.DD5.1.H.264-KiNGS[rarbg]
19-8-27 22:38:41.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-8-27 22:38:41.8|Debug|Parser|Release Group parsed: KiNGS
19-8-27 22:38:41.8|Debug|Parser|Parsing string 'Hawaii.Five-0.S03E15.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]'
19-8-27 22:38:41.8|Debug|Parser|Episode Parsed. Hawaii Five-0 - S03E15
19-8-27 22:38:41.8|Debug|Parser|Language parsed: English
19-8-27 22:38:41.8|Debug|QualityParser|Trying to parse quality for Hawaii.Five-0.S03E15.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]
19-8-27 22:38:41.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-8-27 22:38:41.8|Debug|Parser|Release Group parsed: KiNGS
19-8-27 22:38:41.8|Debug|Parser|Parsing string 'Hawaii.Five-0.S03E17.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]'
19-8-27 22:38:41.8|Debug|Parser|Episode Parsed. Hawaii Five-0 - S03E17
19-8-27 22:38:41.8|Debug|Parser|Language parsed: English
19-8-27 22:38:41.8|Debug|QualityParser|Trying to parse quality for Hawaii.Five-0.S03E17.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]
19-8-27 22:38:41.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-8-27 22:38:41.8|Debug|Parser|Release Group parsed: KiNGS
19-8-27 22:38:41.8|Debug|Parser|Parsing string 'Manifest.S01E13.Cleared.for.Approach.1080p.AMZN.WEB-DL.DD+5.1.H.264-AJP69[TGx]'
19-8-27 22:38:41.8|Debug|Parser|Episode Parsed. Manifest - S01E13
19-8-27 22:38:41.8|Debug|Parser|Language parsed: English
19-8-27 22:38:41.8|Debug|QualityParser|Trying to parse quality for Manifest.S01E13.Cleared.for.Approach.1080p.AMZN.WEB-DL.DD+5.1.H.264-AJP69[TGx]
19-8-27 22:38:41.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-8-27 22:38:41.8|Debug|Parser|Release Group parsed: AJP69
19-8-27 22:38:41.8|Debug|Parser|Parsing string 'Hawaii.Five-0.S04E22.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]'
19-8-27 22:38:41.8|Debug|Parser|Episode Parsed. Hawaii Five-0 - S04E22
19-8-27 22:38:41.8|Debug|Parser|Language parsed: English
19-8-27 22:38:41.8|Debug|QualityParser|Trying to parse quality for Hawaii.Five-0.S04E22.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]
19-8-27 22:38:41.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-8-27 22:38:41.8|Debug|Parser|Release Group parsed: KiNGS
19-8-27 22:38:41.8|Debug|Parser|Parsing string 'The.Originals.S02E15.1080p.WEB-DL.DD5.1.H.264-KiNGS[rarbg]'
19-8-27 22:38:41.8|Debug|Parser|Episode Parsed. The Originals - S02E15
19-8-27 22:38:41.8|Debug|Parser|Language parsed: English
19-8-27 22:38:41.8|Debug|QualityParser|Trying to parse quality for The.Originals.S02E15.1080p.WEB-DL.DD5.1.H.264-KiNGS[rarbg]
19-8-27 22:38:41.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-8-27 22:38:41.8|Debug|Parser|Release Group parsed: KiNGS
19-8-27 22:38:41.8|Debug|Parser|Parsing string 'Hawaii.Five-0.S03E13.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]'
19-8-27 22:38:41.8|Debug|Parser|Episode Parsed. Hawaii Five-0 - S03E13
19-8-27 22:38:41.8|Debug|Parser|Language parsed: English
19-8-27 22:38:41.8|Debug|QualityParser|Trying to parse quality for Hawaii.Five-0.S03E13.1080p.WEB-DL.DD5.1.H.264-KiNGS [PublicHD]
19-8-27 22:38:41.8|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-8-27 22:38:41.8|Debug|Parser|Release Group parsed: KiNGS
19-8-27 22:38:41.9|Debug|Parser|Parsing string 'Daredevil S01 1080p BluRay x264 DTSHD 5.1 -DDR'
19-8-27 22:38:41.9|Debug|Parser|Episode Parsed. Daredevil - Season 01

These are the Sonarr debug log files from the crash.

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /username/sonarr.

Reason: Error reading from remote server

This is the error I am getting.

You'd need the end of the log when it actually crashed. The log above you shared looks like normal activity for Sonarr so unfortunately, it does not provide any helpful information unfortunately.

Can you give some more detail on your setup and how things are working?

I have my gdrive mounted to my server through rclone. I use gdrive, gcrypt, and gcache. The mount is set up to mount the gdrive to the mnt directory on my server. I use 'rclone mount --vfs-cache-mode writes -vv --daemon gcrypt: /home1/techbyte/mnt/gdrive &' to mount my drive. Plex looks at the mounted gdrive to see the movies and tv shows. Sonarr and Radarr download from import movies and tv shows from the 'torrents' directory rtorrent stores them in and transfers them to the corresponding directory of tv shows or movies using Sonarr and Radarr. Sonarr and Radarr function perfectly when the gdrive is not mounted, but crash about a couple minutes after mounted.

Can you share the debug log from Sonarr what it crashes? That would be the thing to look at.

How do I get the Sonarr log from when it crashes? The sonarr log I have from debug is the sonarr log I shared.

[gdrive]
type = drive
scope = drive
token = xxx
client_id = xxx
client_secret = xxx
use_trash = false
chunk_size = 16M

[gcrypt]
type = crypt
remote = gcache:/crypt
password = *** ENCRYPTED ***
password2 = *** ENCRYPTED ***

[gcache]
type = cache
remote = gdrive:/gdrive
plex_url = xxx
plex_username = xxx
plex_password = *** ENCRYPTED ***
chunk_size = 16M
info_age = 2d
chunk_total_size = 20G
db_purge = true

This is my rclone configuration.

In that log though, nothing stopped working. There should be an error or something.

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