7.3.8 Teamdrive issue - SOLVED

plex_noob

Blitz Legioner
Original poster
Staff
Donor
220
95
Hi,

I am having issue with the deployment of the tdrive.
I got the following error
Failed to load config file "/opt/appdata/plexguide/rclone.conf": could not parse line: --

Checked the file for verification but could not see any issue in it.
Maybe you could present a template of this file and the minimum content required in order to deploy.

Thanks for your support.

Sined
 

Admin9705

Administrator
Project Manager
5,737
1,945
Hi,

I am having issue with the deployment of the tdrive.
I got the following error
Failed to load config file "/opt/appdata/plexguide/rclone.conf": could not parse line: --

Checked the file for verification but could not see any issue in it.
Maybe you could present a template of this file and the minimum content required in order to deploy.

Thanks for your support.

Sined
the file is generated all by rclone so is there a -- lying around?
 

timekills

Blitz Samurai
Staff
Donor
397
167
Hi,

I am having issue with the deployment of the tdrive.
I got the following error
Failed to load config file "/opt/appdata/plexguide/rclone.conf": could not parse line: --

Checked the file for verification but could not see any issue in it.
Maybe you could present a template of this file and the minimum content required in order to deploy.

Thanks for your support.

Sined
Bash:
#### rclone rewrite generated by plexguide.com
[gdrive]
type = drive
client_id = YourGDriveClientID
client_secret = YourGDriveSecret
token = {"access_token":"YourGdriveAuthenticationTokenFromWebAuth","token_type":"Bearer","refresh_token":"1/xH
aqxxxxxxxxxxxYA7v_U35gj_xxxxZfxxxx","expiry":"2018-12-05T20:09:19.985275412+01:00"}

[gdsa01]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa01
team_drive =

[gdsa02]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa02
team_drive =

[gdsa03]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa03
team_drive =

[gdsa04]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa04
team_drive =

[gdsa05]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa05
team_drive =

[gdsa06]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa06
team_drive =

[tdrive]
type = drive
client_id = YourTDriveClientID
client_secret = YourGDriveSecret
scope = drive
token = {"access_token":"YourTdriveAuthenticationTokenFromWebAuth","token_type":"Bearer","refresh_token":"1/xH
aqxxxxxxxxxxxYA7v_U35gj_xxxxZfxxxx","expiry":"2018-12-05T20:25:19.999967397+01:00"}
team_drive = YourTeamDriveID
 

Admin9705

Administrator
Project Manager
5,737
1,945
Bash:
#### rclone rewrite generated by plexguide.com
[gdrive]
type = drive
client_id = YourGDriveClientID
client_secret = YourGDriveSecret
token = {"access_token":"YourGdriveAuthenticationTokenFromWebAuth","token_type":"Bearer","refresh_token":"1/xH
aqxxxxxxxxxxxYA7v_U35gj_xxxxZfxxxx","expiry":"2018-12-05T20:09:19.985275412+01:00"}

[gdsa01]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa01
team_drive =

[gdsa02]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa02
team_drive =

[gdsa03]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa03
team_drive =

[gdsa04]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa04
team_drive =

[gdsa05]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa05
team_drive =

[gdsa06]
type = drive
client_id = [ThisIsBlank]
client_secret = [ThisIsBlank]
scope = drive
root_folder_id = [ThisIsBlank]
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa06
team_drive =

[tdrive]
type = drive
client_id = YourTDriveClientID
client_secret = YourGDriveSecret
scope = drive
token = {"access_token":"YourTdriveAuthenticationTokenFromWebAuth","token_type":"Bearer","refresh_token":"1/xH
aqxxxxxxxxxxxYA7v_U35gj_xxxxZfxxxx","expiry":"2018-12-05T20:25:19.999967397+01:00"}
team_drive = YourTeamDriveID
It's saying rclone cannot read it at some point, but i don't see the error. in regards to the pg 7.3, it wouldn't affect this because it's the same rewrite technically, but my 7.4 solution will fix more of this :D and way simpler!
 

timekills

Blitz Samurai
Staff
Donor
397
167
It's saying rclone cannot read it at some point, but i don't see the error. in regards to the pg 7.3, it wouldn't affect this because it's the same rewrite technically, but my 7.4 solution will fix more of this :D and way simpler!
I was just posting an example of a functioning rclone.conf since @plex_noob asked for one to compare. I don't know what his looks like, although it would be easier to troubleshoot if it were posted...
 

plex_noob

Blitz Legioner
Original poster
Staff
Donor
220
95
Hi both of you,
Thank you for your time.
Indeed, my request was to get a copy of a working conf file in order to compare.
Here is mine
Code:
#### rclone rewrite generated by plexguide.com

[gdrive]
type = drive
client_id = #############-###########################.apps.googleusercontent.com
client_secret = ############1__#########

[cache]
remote = gdrive
plex_username = PLEX_USERNAME
plex_password = MY_PLEX_PASSWORD

[tdrive]
type = drive
client_id = #############-###########################.apps.googleusercontent.com
client_secret = ############1__#########
scope = drive

[gdsa01]
type = drive
client_id =
client_secret =
scope = drive
root_folder_id =
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa01
team_drive =

[gdsa02]
type = drive
client_id =
client_secret =
scope = drive
root_folder_id =
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa02
team_drive =

[gdsa03]
type = drive
client_id =
client_secret =
scope = drive
root_folder_id =
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa03
team_drive =

[gdsa04]
type = drive
client_id =
client_secret =
scope = drive
root_folder_id =
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa04
team_drive =

[gdsa05]
type = drive
client_id =
client_secret =
scope = drive
root_folder_id =
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa05
team_drive =

[gdsa06]
type = drive
client_id =
client_secret =
scope = drive
root_folder_id =
service_account_file = /opt/appdata/pgblitz/keys/processed/gdsa06
team_drive =
Not sure if there is a difference. I managed to find the "--" that was causing me "compilation" problems but even after correcting this I don't succeed in making it work.

Strange
 

plex_noob

Blitz Legioner
Original poster
Staff
Donor
220
95
Apparently, I am missing the "token part" of the tdrive section.

I will try to restart from scratch. Fortunately, I have a test server to make it work before applying it on my prod one.

But I am not sure, once the test is working ok, to be able to reproduce it on my prod one without being forced to reinstall everything from scratch which would be a pain considering the work done so far.
 
  • Like
Reactions: Admin9705

Admin9705

Administrator
Project Manager
5,737
1,945
Eagerly waiting for it :cry:
ya the menu adjust and collapses all down to one, plus we have our own oauth that generates everything :D

even saves your configs

1544052827198.png
 

timekills

Blitz Samurai
Staff
Donor
397
167
@plex_noob I see you're missing the token from the gdrive as well.
Can you access the gdrive and tdrive directories from rclone with the config you've got? My guess is no.

Also curious about your cache setup. I assume you did that manually. I'm interested in exploring that - do you have any info on setting it up or what benefit it provides?
 

Admin9705

Administrator
Project Manager
5,737
1,945
@plex_noob I see you're missing the token from the gdrive as well.
Can you access the gdrive and tdrive directories from rclone with the config you've got? My guess is no.

Also curious about your cache setup. I assume you did that manually. I'm interested in exploring that - do you have any info on setting it up or what benefit it provides?
no cache is slow and bad, for rclone? ya we attempt this awhile back ago.
 

timekills

Blitz Samurai
Staff
Donor
397
167
I remember that you had tried it and it failed miserable with Google Drive integration. That's why I'm curious why he has one setup in his rclone config file. It wasn't from your Plexguide installation...
 

plex_noob

Blitz Legioner
Original poster
Staff
Donor
220
95
Correct, token is missing but this is due to crashes and errors. For the cache, yes it is from an old rclone implementation I used. But it is useless.
 

plex_noob

Blitz Legioner
Original poster
Staff
Donor
220
95
For your information, this is apparently the most used and effective parameters set applied to rclone. Maybe this is something to test and add if effective to the different services used by PG.
 

shatdueces

Blitz 1st Class
Staff
Donor
72
11
Fresh clean install of 7.3.8 and ran through all the teamdrive setup and it acted as though it made its connections and mounted corectly however, no gdrive or tdrive media is showing up on the local server.
1544112554325.png
1544112792712.png
 
Assists Greatly with Development Costs

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.


Development Donations

 

Members online

Trending