Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ rClonePlexDrive ][ 1.00.06 ] rsync for Cloud Storage+ Plex Drive mount
#1
Module is available for:

x64_OS5/OS7 - last version - 1.00.06

Download:
"You have not unlocked the download links. Read here to check how you can unlock them."

include binary:

rclone= 1.45
plexdrive= 5.0.0

About:

https://rclone.org/
https://github.com/dweidenfeld/plexdrive

Rclone is a command line program to sync files and directories to and from:
  • Amazon Drive [/url] 

  • Amazon S3  

  • Backblaze B2  

  • Box  

  • Ceph  

  • Dreamhost  

  • Dropbox  

  • FTP  

  • Google Cloud Storage  

  • Google Drive  

  • HTTP  

  • Hubic  

  • Memset Memstore  

  • Microsoft Azure Blob Storage  

  • Microsoft OneDrive  

  • Minio  

  • OVH  

  • Openstack Swift  

  • Oracle Cloud Storage  

  • QingStor  

  • Rackspace Cloud Files  

  • SFTP  

  • Wasabi  

  • Yandex Disk  

  • The local filesystem  [url=https://rclone.org/local/]
Features
  • MD5/SHA1 hashes checked at all times for file integrity

  • Timestamps preserved on files

  • Partial syncs supported on a whole file basis

  • Copy mode to just copy new/changed files

  • Sync (one way) mode to make a directory identical

  • Check mode to check for file hash equality

  • Can sync to and from network, eg two different cloud accounts

  • Optional encryption (Crypt)

  • Optional FUSE mount (rclone mount)

Plexdrive allows you to mount your Google Drive account as read-only fuse filesystem, with direct delete option on the filesystem.

The project is comparable to projects like rclone, google-drive-ocamlfuse or node-gdrive-fuse, but optimized for media streaming e.g. with plex Wink
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#2
Not possible to Start the Modul with my N10850 running v2.06.02.10. When i Click Start there are an message that the Start is failed
Reply
#3
i will check this evening
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#4
download again the module and let me know if OK
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#5
Okay, the Modul Starts now... fine

but when i modify the "config file" over the webif the modul fail´s

N10850:~# rclone config
2017/11/29 21:01:53 NOTICE: Config file "/root/.rclone.conf" not found - using defaults
Reply
#6
I don't know why on your NAS model rclone is searching for config in /root/.rclone.conf
The default location is :
Code:
--config string                     Config file. (default "/root/.config/rclone/rclone.conf")

On my N2800 OS5 fw v2.05.14.4 and N5810 OS7, rclone is searching for config on default location:

Code:
pirinel:~# rclone config
2017/11/30 14:53:03 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q>

Because the root folder is deleted on every reboot, the module during the startup create a sym link /root/.config/rclone ==> /raid/data/MOD_CONFIG/rClonePlexDrive/rClone.

Edit config from WebUI is pointing to /raid/data/MOD_CONFIG/rClonePlexDrive/rClone/rclone.conf

In short words you can start rclone with --config argument. After the rclone.conf file is created, you can edit it through WebUI

Code:
rclone config --config /root/.config/rclone/rclone.conf
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#7
hmm,

Code:
rclone config --config /raid/data/MOD_CONFIG/rClonePlexDrive/rClone/rclone.conf

works, but not really easy tu use...

What do you think, ist it possible to create 2 Services like this?

Rclone
Code:
# /etc/systemd/system/rclone.service

[Unit]
Description=GSuite local mount with Plexdrive
AssertPathIsDirectory=/mnt/media
After=plexdrive.service

[Service]
Type=simple
User=root
ExecStart=/usr/bin/rclone mount \
 --allow-other \
 --allow-non-empty \
 --buffer-size 64M \
 Plexdrive: /mnt/media
ExecStop=/bin/fusermount -uz /mnt/media
Restart=always

[Install]
WantedBy=multi-user.target

Plexdrive
Code:
# /etc/systemd/system/plexdrive.service

[Unit]
Description=Mount plexdrive to /mnt/plexdrive
After=syslog.target local-fs.target network.target

[Service]
Type=simple
User=root
ExecStart=/usr/local/bin/plexdrive mount \
 -c /root/.plexdrive \
 -o allow_other \
 /mnt/plexdrive
ExecStop=/bin/fusermount -u -z /mnt/plexdrive
Restart=always

[Install]
WantedBy=default.target
This both Services are to mount the GSuite Drive with "Plexdrive" and decrypt it with "Rclone"

Working with config string looks like it is not working komplete

Code:
N10850:~# rclone lsl --config /raid/data/MOD_CONFIG/rClonePlexDrive/rClone/rclone.conf GSuiteCrypt:
2017/11/30 18:16:24 Failed to configure drive: invalid character '\\' looking for beginning of object key string
Reply
#8
i dont have any experience with rclone/plexdrive but:

--config argument is just to specify from where it should load the config, will not affect the way rclone is working.

Thecus is not working with service for start and stop a program. From what you write, you need only the ExecStart command which can be included in a start script, i will try to implement that
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#9
hmm, can´t access /root/.config/rclone/rclone.conf or /root/.rclone.conf

and --config are not working...

i think plexdrive are also not working correct

N10850:~# plexdrive
[PLEXDRIVE] [2017-12-02 16:36] ERROR  : Command  not found
Reply
#10
updated to 1.00.01
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)