Git Product home page Git Product logo

Comments (6)

Dulanic avatar Dulanic commented on May 27, 2024

What is your rclone.conf? The logging it kind of... meh :) The transferring is a echo before the rclone command. So if it's not uploading anything, then something in your rclone.conf is wrong.

Note, check specifically the mount point in rclone that matches rclone_cloud_endpoint in config. You can test it yourself too manually running rclone copy.

from cloud-media-scripts.

SilverSix311 avatar SilverSix311 commented on May 27, 2024

So the configuration I'm looking to have is:
/mnt/Library/Plex-Servers/PleXXX/{local-media, cloud-encrypt, etc...} #Local Media and Scripts location
gd:PleXXX/{Plex Library Folders} #Drive Location for Plex Servers

I have all of the configuration files updated to reflect "/mnt/Library/Plex-Servers/PleXXX/" instead of "/opt/cloud-media-scripts/" so all of the ./scripts/{mount.remount, cloudupload, etc} work without errors from them directly.

So I everything located here:

root@PleXXX:/mnt/Library/Plex-Servers/PleXXX# ls
cloud-decrypt  cloud-encrypt  config  cron  INSTALL  LICENSE  local-decrypt  local-media  plexdrive  rclone  README.md  scripts  setup.sh  uml_diagram.png

Here is my rclone.conf:

[gd]
type = drive
client_id = <CLIENT_ID>
client_secret = <CLIENT_SECRET>
token = ***

[gd-crypt]
type = crypt
remote = gd:PleXXX
filename_encryption = standard
password = ***
password2 = ***

[local-crypt]
type = crypt
remote = /cloud-encrypt/PleXXX
filename_encryption = standard
password = ***
password2 = ***

from cloud-media-scripts.

SilverSix311 avatar SilverSix311 commented on May 27, 2024

Actually, I think I finally got it! I missed one configuration spot that I didn't change... Debian had some different locations from the original script running and installing and whatnot.

from cloud-media-scripts.

SilverSix311 avatar SilverSix311 commented on May 27, 2024

Whelp, I thought I did...

2017/10/14 16:59:34 ERROR : Attempt 1/3 failed with 1358 errors and: couldn't list directory: Get https://www.googleapis.com/drive/v2/files?alt=json&fields=items%28id%2CdownloadUrl%2CexportLinks%2CfileExtension%2CfullFileExtension%2CfileSize%2Clabels%2Cmd5Checksum%2CmodifiedDate%2CmimeType%2Ctitle%29%2CnextPageToken&maxResults=1000&q=trashed%3Dfalse+and+%270B7irD2yyQw8dWXB4enNyeEpidzA%27+in+parents+and+title%3D%27j0hbn85nl6qd2kt591lvhas8gs%27+and+mimeType%3D%27application%2Fvnd.google-apps.folder%27: oauth2: cannot fetch token: 401 Unauthorized
Response: {
  "error" : "invalid_client",
  "error_description" : "The OAuth client was not found."

from cloud-media-scripts.

Dulanic avatar Dulanic commented on May 27, 2024

That means you didn't setup rclone properly. Make sure you press N and copy the URL to get your validation code to enter. Should be an issue /w gd: because thats the only oauth part.

from cloud-media-scripts.

SilverSix311 avatar SilverSix311 commented on May 27, 2024

For some reason it kept reverting back to <CLIENT ID> and <CLIENT SECRET> in the configuration file. Made the file readonly, and now it seems to be sticking.

from cloud-media-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.