Mega + NAS/Asustor + Plex :: Where are the folder?

Hello,

What is the problem you are having with rclone?

Rclone is installed with entware.
I try to mount a remote with Mega on a NAS Asustor
Then i would like to use it as a library with Plex Media Server.
My remote seems to work. Lsd works.
Unfortunaly, when i mount it is seems to works but i am not able to access to the folder with the file explorer nor in plex.
I try to adjust the uid and gid without success.

Run the command 'rclone version' and share the full output of the command.

rclone 1.60.1
- os/version: unknown
- os/kernel: 5.13.x (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.3
- go/linking: static
- go/tags: noselfupdate

Which cloud storage system are you using? (eg Google Drive)

Mega.nz

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount mega:"/mini me cloud" /volume1/Rclone/Mount \
--config="/volume1/Rclone/Config/rclone.conf"  \
--cache-dir="/volume1/Rclone/Cache"  \
--read-only  \
--timeout 1h  \
--no-modtime  \
--uid 1000  \
--gid 999  \
--dir-cache-time 192h \ 
--vfs-cache-max-age 195h \ 
--vfs-cache-mode full  \
--vfs-cache-max-size 10G \ 
--vfs-read-chunk-size-limit 2G \ 
-vv

The rclone config contents with secrets removed.

[mega]
type = mega
user = email@email.com
pass = ***
debug = false

A log from the command with the -vv flag

2023/01/31 14:42:20 DEBUG : rclone: Version "1.60.1" starting with parameters ["rclone" "mount" "mega:/mini me cloud" "/volume1/Rclone/Mount" "--config=/volume1/Rclone/Config/rclone.conf" "--cache-dir=/volume1/Rclone/Cache" "--read-only" "--timeout" "1h" "--no-modtime" "--uid" "1000" "--gid" "999" "--dir-cache-time" "192h" "--vfs-cache-max-age" "195h" "--vfs-cache-mode" "full" "--vfs-cache-max-size" "10G" "--vfs-read-chunk-size-limit" "2G" "-vv"]
2023/01/31 14:42:20 DEBUG : Creating backend with remote "mega:/mini me cloud"
2023/01/31 14:42:20 DEBUG : Using config file from "/volume1/Rclone/Config/rclone.conf"
2023/01/31 14:44:58 DEBUG : fs cache: renaming cache item "mega:/mini me cloud" to be canonical "mega:mini me cloud"
2023/01/31 14:44:58 INFO  : mega root 'mini me cloud': poll-interval is not supported by this remote
2023/01/31 14:44:58 DEBUG : vfs cache: root is "/volume1/Rclone/Cache"
2023/01/31 14:44:58 DEBUG : vfs cache: data root is "/volume1/Rclone/Cache/vfs/mega/mini me cloud"
2023/01/31 14:44:58 DEBUG : vfs cache: metadata root is "/volume1/Rclone/Cache/vfsMeta/mega/mini me cloud"
2023/01/31 14:44:58 DEBUG : Creating backend with remote "/volume1/Rclone/Cache/vfs/mega/mini me cloud"
2023/01/31 14:44:58 DEBUG : Creating backend with remote "/volume1/Rclone/Cache/vfsMeta/mega/mini me cloud"
2023/01/31 14:44:58 DEBUG : mega root 'mini me cloud': Mounting on "/volume1/Rclone/Mount"
2023/01/31 14:44:58 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/01/31 14:44:58 DEBUG : : Root: 
2023/01/31 14:44:58 DEBUG : : >Root: node=/, err=<nil>
2023/01/31 14:45:58 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)

Thank you in advance for the help

hello and welcome to the forumm

try adding --allow-other

might want to update rclone.

Thank you @asdffdsa for your answer.

I tried it before and get an error :

2023/01/30 23:22:03 mount helper error: fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf

Because Fuse is also install with entware, i didn't try to change the .conf.

Maybe it is the best way. I will try.

You can probably ssh into your Asustor NAS then edit the /etc/fuse.conf file to add user_allow_other

I remember doing something similar recently.

Thank you for the answer.

I try to add the file and start the nas... The file disappear. So i have to find a way to add it permanently. :face_in_clouds:

Edit :

Finally, it works but you have to edit

# /opt/etc/fuse.conf 

The folder are well mounted... But Plex don't see them... Step by step.

Finally i succeed to mount my remote with the following command :

rclone mount mega:"/mini me cloud" /volume1/Rclone/Mount \
--config="/volume1/Rclone/Config/rclone.conf" \
--cache-dir="/volume1/Rclone/Cache" \
--read-only \
--timeout 1h \
--no-modtime \
--allow-other \
--dir-cache-time 192h \
--vfs-cache-max-age 195h \
--vfs-cache-mode full \
--vfs-cache-max-size 10G \
--vfs-read-chunk-size-limit 2G \
--daemon \
--daemon-wait 5m \
 -vv

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