Plex doesn't find OneDrive folder while the Jelly does

What is the problem you are having with rclone?

I'm having a heedless server, with Rclone Plex and Jellyfin.
With the command below, Jellyfin can see the Rclone/OneDrive folder, but Plex cannot.
My belief is that this must be a Plex Issue with the rights or something. Since I am inexperienced can someone, please guide me?

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

rclone v1.50.2

  • os/arch: linux/amd64
  • go version: go1.13.8

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

OneDrive

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

rclone mount onedrive: /home/fitsou/onedrive --use-mmap --rc --dir-cache-time 1h --vfs-cache-mode writes --tpslimit 10 --allow-other

The rclone config contents with secrets removed.

[onedrive]
type = onedrive
token = {"access_token":"",
"token_type":"Bearer","
refresh_token":"","
expiry":"2022-01-22T21:20:34.168365957+02:00"}
drive_id =
drive_type = personal

A log from the command with the -vv flag

I dont know the full command I must type..

hello,

that version of rclone is many years old, the lastest stable is v1.59.1

please update and test again.

1 Like

I'm getting an error when i try to run the

rclone selfupdate

the error is:

Fatal error: unknown command "selfupdate" for "rclone"

that version is too old, does not have selfupdate

try this
https://rclone.org/downloads/#script-download-and-install

1 Like

2022/09/02 23:06:52 NOTICE: Serving remote control on http://localhost:5572/
2022/09/02 23:06:52 mount helper error: fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
2022/09/02 23:06:52 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

after the update

ok, not a problem, that is expected.

need to edit /etc/fuse.conf and uncomment user_allow_other

so change
#user_allow_other
to
user_allow_other

1 Like

hmmm, I'm getting this:

fitsou@plexserver:~$ /etc/fuse.conf
-bash: /etc/fuse.conf: Permission denied

that is not valid, no command

use whatever text editor you want, make the needed change.

for example,
try nano /etc/fuse.conf

1 Like

So, i thing i did it write I just removed the # from the user_allow_other
but i red warning appeared

[ Error writing /etc/fuse.conf: Permission denied ]

need to run command as root,

try sudo nano /etc/fuse.conf

1 Like

ok Thanks! Everything is back to normal and updated.
Unfortunately, I'm still unable to see the OneDrive folder to Plex

not sure why,

i use a subdr of the / filesystem /rclone

rclone tree /rclone --max-depth=2
/
β”œβ”€β”€ caches
β”‚   └── remote
β”œβ”€β”€ mountpoints
β”‚   └── remote

1 Like

What else can I do?
how is it possible for one app to see the folders and the other does not?

did try my idea, to mount to the root of the file system,
instead of a subdir of homedir

need to make sure whichever username is running plex; that username has permissions to /home/fitsou/onedrive

https://forum.rclone.org/t/linux-newb-rclone-permissions-issues-with-plex/29570

1 Like

The user is correct.
Can you please give me the docker command you are using?

i do not use docker.

check this out
https://github.com/animosity22/homescripts

1 Like

If you’re using docker could you show us the commands you run for starting the Plex and the Jellyfin containers please?

1 Like

docker run -d
--name=jellyfin
--net="outnet"
-e PUID=1000
-e PGID=1000
-e TZ=Europe/Athens
-p 8096:8096
-v /home/fitsou/jellyfin/config:/config
-v /home/fitsou/media/Library/Tv:/data/tvshows
-v /home/fitsou/media/Library/Movies:/data/movies
-v /home/fitsou/onedrive/plexserver/Series:/data/onedrive
-v /home/fitsou/jellyfin/transcode:/transcode
--device=/dev/dri:/dev/dri
-e DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
--restart always
lscr.io/linuxserver/jellyfin:latest

docker run -d
--name=plex
--net=host
-e PUID=1000
-e PGID=1000
-e VERSION=docker
-e PLEX_CLAIM= #optional
-v /home/fitsou/plex/config:/config
-v /home/fitsou/media/Library/Tv:/tv
-v /home/fitsou/media/Library/Movies:/movies
-v /home/fitsou/OneDrive/plexserver:/onedrive
--restart unless-stopped
lscr.io/linuxserver/plex

Pretty sure your paths are incorrect in the Plex container. If you are mounting the storage with:

rclone mount onedrive: /home/fitsou/onedrive

I don’t think it’s available at the following path mounted in Plex due to case sensitivity in the folder paths:

-v /home/fitsou/OneDrive/plexserver:/onedrive

You should try with the following when running plex:

-v /home/fitsou/onedrive/plexserver:/onedrive
1 Like

When onedrive volume is not mapped to the onedrive account the Plex Container starts normally.
But when the onedrive host folder is mounted via Rclone then the Plex Container does not start at all.