Error on Plex Library Scan using rclone Google Drive Cache Mount


#21

Same performance :cry:


#22

Are you using your own API key?


#23

Google Drive API key? If that’s what you’re asking about then yes, I generated it yesterday.


#24

And in the Google Cloud API console, you can see hits and such so it’s working?

If yes, than the issue is something on your VPS at that point.


#25

But isn’t Google Drive different then Google Cloud?


#26

If you generated your own key, you had to do that via the Google Cloud Console:

https://console.cloud.google.com/apis/api/drive.googleapis.com/metrics

You’d see the metrics for the key in the API console to validate the use of the key.


#27

Sorry, I don’t think I’ve generated an API for my account. I used the rclone’s config script.

Service Account Credentials JSON file path - needed only if you want use SA instead of interactive login.
service_account_file>
Remote config
Use auto config?

  • Say Y if not sure
  • Say N if you are working on a remote or headless machine or Y didn’t work
    y) Yes
    n) No
    y/n> y
    If your browser doesn’t open automatically go to the following link: http://127.0.0.1:53682/auth
    Log in and authorize rclone for access
    Waiting for code…
    Got code

Then I opened the link in the terminal and logged in. Will that make a difference?


#28

That’s just authorization. The link below explains it.

https://rclone.org/drive/#making-your-own-client-id


#29

I just created a client id, can you please let me know how I can add it to rclone.conf file?


#30

You need to run rclone config and you can edit the remote you made.


#31

Any idea how long it usually takes for the stats to show up on Google Drive API Metrics? I played a movie but still it’s showing “No data is available for selected time frame.” message.


#32

Almost instant.

You’d need to restart the mount after you ran the rclone config.


#33

While I try to figure out what’s wrong with Google API, I played a movie and check CPU performance using htop. Does it looks like my VPS cores aren’t that powerful?

2019-02-11_00-48-12


#34

It depends on what you are doing.

What are the specs on the VPS and what are you expecting ?


#35

I’ve got LW-VPS 2 VPS from Bytesized Hosting. I was hoping to run 2 Plex streams smoothly.

Do you think that’s going to be an issue?


#36

Doesn’t seem like you get that much CPU.


#37

Any VPS suggestions that are around €34 that would serve the purpose?


#38

Sorry, I do not. I have a dedicated system at home.


#39

On the Byte Size page, I did see:

https://bytesized-hosting.com/#pricing

They seem to do plex hosting and are specific on streams, I have never used it and have no idea how well it works or not though.


#40

I tried to play a movie directly from the server and it played within 20 seconds compared to when playing a movie using rclone from Google Drive.

[ag@3li tmp]$ sudo mediainfo Deadpool\ \(2016\).mkv
General
Unique ID                                : 224074918049734080195616372024872264671 (0xA893426B0A648389ACF405A6E12BE3DF)
Complete name                            : Deadpool (2016).mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 19.5 GiB
Duration                                 : 2 h 13 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 20.8 Mb/s
Encoded date                             : UTC 2018-08-08 13:29:57
Writing application                      : mkvmerge v17.0.0 ('Be Ur Friend') 64-bit
Writing library                          : libebml v1.3.5 + libmatroska v1.4.8

I really think the server can handle streaming Plex. I think the issue is still with my configuration of rclone.