Can rclone help me to connect my pCloud folders to Plex Media server (Synology)

odds are there is another instance of rclone running and it is using port 5572
when using --rc, rclone uses port 5572

What I thought, but I think not

raffi@DiskStation:/bin$ ps aux | egrep rclone
raffi    32537  0.0  0.0  23244  2316 pts/0    S+   18:11   0:00 grep -E rclone

but I have --rc in my .sh file

#!/bin/sh
fusermount -uz /volume1/MassMovies/PCLOUD
/bin/rclone mount pcloud:/MassMovies  /volume1/MassMovies/PCLOUD/ --allow-other --vfs-cache-mode=full --rc --daemon --config=/var/services/homes/raffi/.config/rclone/rclone.conf --log-level=DEBUG --log-file=/var/services/homes/raffi/rclone-pcloud.log

somtimes, there are issues with rclone mount and --daemon
https://github.com/rclone/rclone/issues/5664

lot's of other ways to run rclone or any program, in the background
https://linuxize.com/post/how-to-run-linux-commands-in-background/

It works if I remove the -rc from the command in my .sh file (but making errors), remote lsd returns also an error while it's working fine (accessing/syncing with the mounted point).


I think I'm really getting to the end of what I'm capable of.
I'll stop here, the deamon command does its job very well!

I would like to thank you again for your precious advice, your kindness and your patience with me.

Thank you so much.

asdffdsa, can you please help me on this ?

I run :
rclone mount pcloud: /volume1/BACKUP-RAFFI/_PCLOUD-REMOTE/ --allow-other --vfs-cache-mode=full -vv

It mounts correctly but folders as listed as "empty" !

raffi@DiskStation:~$ cd /volume1/BACKUP-RAFFI/_PCLOUD-REMOTE/
raffi@DiskStation:/volume1/BACKUP-RAFFI/_PCLOUD-REMOTE$ ls -l
total 252415
drwx------ 1 raffi users         0 Aug 22 04:08 'Automatic Upload'
drwx------ 1 raffi users         0 Aug 18 22:04  Backups
drwx------ 1 raffi users         0 Aug 22 12:26 'Divers (à conserver)'
-rw------- 1 raffi users 258348776 May 12  2021  2021-May-12_backup.zip
drwx------ 1 raffi users         0 Aug 30 00:04 'Google Drive Manual Backup'
drwx------ 1 raffi users         0 Aug 22 23:41 'LIGHTROOM'
drwx------ 1 raffi users         0 Aug 28 14:18  MassMovies
-rw------- 1 raffi users     15407 Aug 27 15:54  pcloud3.png
drwx------ 1 raffi users         0 Aug 23 11:42 'pCloud Backup'
-rw------- 1 raffi users    107657 Aug 27 15:50  pcloud.png
drwx------ 1 raffi users         0 Jul 23  2018 'Public Folder'
drwx------ 1 raffi users         0 Jun 23  2021 'RAFFI'
raffi@DiskStation:/volume1/BACKUP-RAFFI/_PCLOUD-REMOTE$ cd Backups/
raffi@DiskStation:/volume1/BACKUP-RAFFI/_PCLOUD-REMOTE/Backups$ ls -l
total 0
drwx------ 1 raffi users 0 Aug 18 19:44 'Dropbox - Raffi'
drwx------ 1 raffi users 0 Aug 18 22:04 'Google - Raffi'
raffi@DiskStation:/volume1/BACKUP-RAFFI/_PCLOUD-REMOTE/Backups$ 

you mean that the size of some dirs are 0?
if so, what were you expecting?

I’m expecting to get folder size ?
Value should be different from zero., no ?

I never see 0 for folders on my local directories .

i cannot see into yout computer, need to post an example

Sorry. Sure !

On rclone mounted see this .

raffi@DiskStation:/volume1/BACKUP-RAFFI/_PCLOUD-REMOTE/RAFFI/BACKUP-PHOTOS/2017$ ls -l
total 2936334
drwx------ 1 raffi users          0 Jan  2  2017 01-JANVIER
drwx------ 1 raffi users          0 Feb  6  2017 02-FEVRIER
drwx------ 1 raffi users          0 Mar 13  2017 03-MARS
drwx------ 1 raffi users          0 Feb 23  2022 04-AVRIL
-rw------- 1 raffi users 3006805604 Feb 23  2022 04-AVRIL.zip
drwx------ 1 raffi users          0 May 12  2017 05-MAI
drwx------ 1 raffi users          0 Aug 17  2017 06-JUIN
drwx------ 1 raffi users          0 Jul  9  2017 07-JUILLET
drwx------ 1 raffi users          0 Aug 26  2017 08-AOUT
drwx------ 1 raffi users          0 Oct  2  2017 09-SEPTEMBRE
drwx------ 1 raffi users          0 Jan 10  2018 10-OCTOBRE
drwx------ 1 raffi users          0 Jan 10  2018 11-NOVEMBRE
drwx------ 1 raffi users          0 Jan 10  2018 12-DECEMBRE

On my local folder (not synchronized)

raffi@DiskStation:/volume1/BACKUP-RAFFI/BACKUP-PHOTOS/2017$ ls -l
total 3207376
drwxrwxrwx+ 1 raffi users       4440 Apr  7  2019 01-JANVIER
drwxrwxrwx+ 1 raffi users       3270 Apr  7  2019 02-FEVRIER
drwxrwxrwx+ 1 raffi users       2204 Sep 23  2017 03-MARS
drwxrwxrwx+ 1 raffi users      17136 Feb 22  2022 04-AVRIL
-rwxrwxrwx+ 1 raffi users 3006805604 Feb 22  2022 04-AVRIL.zip
drwxrwxrwx+ 1 raffi users       2478 Mar 30  2020 05-MAI
drwxrwxrwx+ 1 raffi users       4422 Apr  7  2019 06-JUIN
drwxrwxrwx+ 1 raffi users       4206 Apr  7  2019 07-JUILLET
drwxrwxrwx+ 1 raffi users       4662 Apr  7  2019 08-AOUT
drwxrwxrwx+ 1 raffi users       2166 Apr  7  2019 09-SEPTEMBRE
drwxrwxrwx+ 1 raffi users       6798 Apr  7  2019 10-OCTOBRE
drwxrwxrwx+ 1 raffi users       2028 Apr  7  2019 11-NOVEMBRE
drwxrwxrwx+ 1 raffi users       7236 Apr  7  2019 12-DECEMBRE
drwxrwxrwx+ 1 root  users        628 Feb 23  2022 @eaDir

Is it clearer ?

yes, nice and clear.

about the dir size 0, that is how rclone works.
else rclone would have to recurse into every subdir, to count the size of every file.

raffi@DiskStation:/volume1/BACKUP-RAFFI/BACKUP-PHOTOS/2017$ ls -l
i do not understand how you are getting the output for this command?
that for each dir, the total size of the that dir and ALL subdirs is displayed.
to get that info, i would need to use ncdu or rclone ncdu

i do not get that output with ubuntu, wsl2 and on the synbox terminal
but then, i am not a linux expert.

In front of me, you are an expert ! I am a very big beginner

Thanks for the clarification. If this is expected than I do not worry.


I have another strange thing (even if it looks like it finally works).
My sync software returns a POPUP window with the following error during the scan phase.

Unable to read the attributes of the file "/Volumes/BACKUP-RAFFI/_PCLOUD-REMOTE/Backups/Dropbox - Raffi/Music".
ENOENT: No such file or directory [lstat]

I get this error/warning only if scanned folder contains subfolders. If I ignore it looks like it works, but I will be more reassured if I have no error/warning.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.