7.3.8 Teamdrive issue

  • Guest - 7.5 will focus on bug fixing for all the containers including wiki writeup. Thanks to those who tested 7.4 (which will continue to receive minor updates). 7.5 should not be anything radical or drastic (unlike PGBox and PGClone).

plex_noob

PG Ambassador
Tech Support
Oct 1, 2018
76
62
Brussels
Reactions
62 0 0
#1
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
Jan 17, 2018
3,989
1,699
Reactions
1,699 0 0
#2
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

PG Elite
Tech Support
Sep 12, 2018
183
105
Reactions
105 0 0
#3
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
 
Assists Greatly with Development Costs

Admin9705

Administrator
Project Manager
Jan 17, 2018
3,989
1,699
Reactions
1,699 0 0
#4
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

PG Elite
Tech Support
Sep 12, 2018
183
105
Reactions
105 0 0
#5
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

PG Ambassador
Tech Support
Oct 1, 2018
76
62
Brussels
Reactions
62 0 0
#6
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
 
Assists Greatly with Development Costs

plex_noob

PG Ambassador
Tech Support
Oct 1, 2018
76
62
Brussels
Reactions
62 0 0
#7
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.
 

Admin9705

Administrator
Project Manager
Jan 17, 2018
3,989
1,699
Reactions
1,699 0 0
#8
working hard to get this 7.4 out of the door

1544050262643.png
 

Admin9705

Administrator
Project Manager
Jan 17, 2018
3,989
1,699
Reactions
1,699 0 0
#10
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
 

Admin9705

Administrator
Project Manager
Jan 17, 2018
3,989
1,699
Reactions
1,699 0 0
#11
ugh still at it, working the pgblitz deployment and the will release 7.4.0 (but do use as a primary deployment)
 

timekills

PG Elite
Tech Support
Sep 12, 2018
183
105
Reactions
105 0 0
#12
@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
Jan 17, 2018
3,989
1,699
Reactions
1,699 0 0
#13
@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

PG Elite
Tech Support
Sep 12, 2018
183
105
Reactions
105 0 0
#14
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

PG Ambassador
Tech Support
Oct 1, 2018
76
62
Brussels
Reactions
62 0 0
#15
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

PG Ambassador
Tech Support
Oct 1, 2018
76
62
Brussels
Reactions
62 0 0
#16
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

PG Overlord
PG Donor
Jul 13, 2018
47
8
Reactions
8 0 0
#17
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
 

PG Developer Donations

 

Forum statistics

Threads
2,365
Messages
14,360
Members
4,826
Latest member
LightOfBuddha