Rclone mount is crashing. Logs do not show anything informational

What is the problem you are having with rclone?

So my mount getting randomly crashed whenever he wants.

All that I see in logs is this:

> 2020/02/19 07:14:23 ERROR : "MoviePathIsHere".mkv ReadFileHandle.Read error: low level retry 2/10: open file failed: googleapi: Error 403: The download quota for this file has been exceeded., downloadQuotaExceeded

The main thing that that movie hasn't even been touched and there was no upload made to GDrive.

Using Jellyfin.

What is your rclone version (output from rclone version )

1.51.0

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

Debian 9

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

Google Team Drive.

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

/usr/bin/rclone mount MountName: /path/goes/here \
        --allow-other \
        --buffer-size 1G \
        --dir-cache-time 72h \
        --drive-acknowledge-abuse \
        --drive-chunk-size 128M \
        --umask 002 \
        --vfs-read-chunk-size 512M \
        --vfs-read-chunk-size-limit off \
        --user-agent user \
        --gid 1001 \
        --uid 1001 \
        --log-file "rclone.log" \
        --log-level "ERROR"

Best to use the question template.

Can you add:

What is the problem you are having with rclone?

What is your rclone version (output from rclone version)

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

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

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

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

1 Like

Thank you for your message. Added all necessary info.

That normally happens for two reasons:

  • The version of rclone is very old but you are on a current version as prior to 1.47ish, it did not work well with Google Drive.

The second reason would be you've downloaded the file too many times.

Is it a team drive? Is it shared with anyone else? Did someone else maybe hit it with an old version? There isn't much to do other than wait 24 hours for the daily quota to reset.

As you can see the version is the latest.

Yes, team drive. Not shared, but used by several ppl to watch from Jellyfin.

The thing is that this video file was not launched/used.

The problem is only that after this mounts crashes, I need somehow prevent it.

You haven't shared anything to show the mount is crashing. What you do mean? I've never had a mount crash.

What do I need to share? :slight_smile:

Like log file is only showing me that error witch I have included in the post, nothing more.

Maybe I have forgot something?

Yeah, this is the first time for me when mount is crashing.

I'm not sure how or why you think it's crashing. What are you looking at to show that the mount has crashed?

The systemctl shows status thats its off, plus the gdrive mount directory is blank.

Can you run:

journalctl -u servicename -b

Mine looks like:

root@gemini:~# journalctl -u rclone -b
-- Logs begin at Tue 2020-03-03 08:28:14 EST, end at Tue 2020-03-03 13:33:12 EST. --
Mar 03 08:28:15 gemini systemd[1]: Starting RClone Service...
Mar 03 08:28:22 gemini systemd[1]: Started RClone Service.
root@gemini:~# 
-- Logs begin at Tue 2020-03-03 15:59:51 CET, end at Tue 2020-03-03 19:37:14 CET. --
Mar 03 15:59:56 Debian systemd[1]: Started Google Drive (rclone) Movies.

Did you reboot it after it happened? The -b is only for this boot. You'd need to remove the -b if it was prior tot his boot.

Also, what does your service file look like?

I get the same output with or without "-b".

Here it is => https://pastebin.com/FF94cC5c

What does systemctl status show?

felix@gemini:~$ systemctl status rclone
● rclone.service - RClone Service
   Loaded: loaded (/etc/systemd/system/rclone.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-03-03 08:28:22 EST; 5h 23min ago
 Main PID: 568 (rclone)
    Tasks: 17 (limit: 4915)
   Memory: 572.8M
   CGroup: /system.slice/rclone.service
           └─568 /usr/bin/rclone mount gcrypt: /GD --allow-other --buffer-size 256M --dir-cache-time 1000h --log-level INFO --log-file /opt/rclone/logs/rclone.log --poll-inter
felix@gemini:~$ 

Based on your logs it looks like it started, but hasn't stopped.

Movies.service - Google Drive (rclone) Movies
   Loaded: loaded (/etc/systemd/system/Movies.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-03-03 15:59:56 CET; 3h 52min ago
 Main PID: 663 (rclone)
    Tasks: 15 (limit: 4915)
   Memory: 103.3M
   CGroup: /system.slice/Movies.service
           └─663 /usr/bin/rclone mount Movies: /home/username/rclone/Movies/gdrive...........

Mar 03 15:59:56 Debian systemd[1]: Started Google Drive (rclone) Movies.

That shows the rclone process is running. What makes you think it is not?

Yeah, i know. but it will crash randomly(maybe in some hours or days) and the log file will have only those lines that i have mentioned in post.

You'd have to collect that information when it happens to see what the issue is.

As of you, you've not provided anything other than working rclone instance. I'm not saying I don't believe you, but we need some data to look at to help solve the issue.

If it happens again, please include a debug log, the systemctl status and the jouranlctl output as we can take a look.

Some things to note about your service file:

Type=simple

``

 should be 

Type=notify


--vfs-read-chunk-size 512M \
--vfs-read-chunk-size-limit off \
Do you set those for a reason and not using the 128M default?

How much memory is on the server as you have:

    --buffer-size 2G \

Which means 2GB of memory is used per file.

Great! Thanks! What i need to add more for debugging?

I do have 16 GB on this.

   --log-level "ERROR" change that ERROR to DEBUG