Help me please…
Currently i’m trying to get access to a folder mounted by google-drive-ocamlfuse without good results.
I tried:
sudo mkdir -p /mnt/data/plexgoogledrive/
sudo chown -R my_user.my_user /mnt/data/plexgoogledrive/
sudo find /mnt/data/plexgoogledrive/ -type d -exec chmod 755 {} \;
But alwasy getting same errors:
find: ‘/mnt/data/plexgoogledrive/’: permission denied
hown: no se puede acceder a ‘/mnt/data/plexgoogledrive/’: permission denied
And can’t getting access to that folder on plex either:
Thanks!
That’s an rclone problem.
Check the logs to make sure the access is correct and it’s not being throttled (error 429)
Hi, thanks. Here are the logs from: /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log
plex.log
Jun 06, 2020 18:52:02.449 [0x7f33c6958700] DEBUG - Completed: [127.0.0.1:49300] 200 GET /services/browse?includeFiles=1 (6 live) GZIP 0ms 875 bytes (pipelined: 4)
Jun 06, 2020 18:52:02.495 [0x7f33c6958700] DEBUG - Auth: authenticated user 1 as ambigus9@gmail.com
Jun 06, 2020 18:52:02.495 [0x7f33c6157700] DEBUG - Request: [127.0.0.1:49300 (Loopback)] GET /services/browse/L3Zhci9saWIvcGxleG1lZGlhc2VydmVy?includeFiles=1 (6 live) GZIP Signed-in Token (ambigus9@gmail.com)
Jun 06, 2020 18:52:02.495 [0x7f33c6157700] DEBUG - DirectoryBrowser: Decoded [L3Zhci9saWIvcGxleG1lZGlhc2VydmVy] to [/var/lib/plexmediaserver]
Jun 06, 2020 18:52:02.495 [0x7f33c7159700] DEBUG - Completed: [127.0.0.1:49300] 200 GET /services/browse/L3Zhci9saWIvcGxleG1lZGlhc2VydmVy?includeFiles=1 (6 live) GZIP 0ms 469 bytes (pipelined: 5)
Jun 06, 2020 18:52:04.979 [0x7f33c7159700] DEBUG - Auth: authenticated user 1 as ambigus9@gmail.com
Jun 06, 2020 18:52:04.979 [0x7f3387fff700] DEBUG - Request: [127.0.0.1:49300 (Loopback)] GET /services/browse/L21udC9kYXRhL3BsZXhnb29nbGVkcml2ZQ==?includeFiles=1 (6 live) GZIP Signed-in Token (ambigus9@gmail.com)
Jun 06, 2020 18:52:04.979 [0x7f3387fff700] DEBUG - DirectoryBrowser: Decoded [L21udC9kYXRhL3BsZXhnb29nbGVkcml2ZQ==] to [/mnt/data/plexgoogledrive]
Jun 06, 2020 18:52:04.980 [0x7f3387fff700] ERROR - Couldn't check for the existence of file "/mnt/data/plexgoogledrive": boost::filesystem::status: Permission denied: "/mnt/data/plexgoogledrive"
Jun 06, 2020 18:52:04.980 [0x7f33c6958700] DEBUG - Completed: [127.0.0.1:49300] 200 GET /services/browse/L21udC9kYXRhL3BsZXhnb29nbGVkcml2ZQ==?includeFiles=1 (6 live) GZIP 0ms 350 bytes (pipelined: 6)
This file has been truncated. show original
Any idea how to fix them?
there it is:
Jun 06, 2020 18:52:04.980 [0x7f3387fff700] ERROR - Couldn't check for the existence of file "/mnt/data/plexgoogledrive": boost::filesystem::status: Permission denied: "/mnt/data/plexgoogledrive
check each directory down that path. Given you can’t check as user plex, check the “other” permissions are 755 on dir and 644 on files.
Check the permissions before and after mounting.
please, can you give me the commands to make that checking? i’m noob on linux.
usermod -a -G your_username plex
This will add the user Plex to your user group. After that, logout and login again
Adding Plex to your group requires a restart of Plex - not logging in & out.
It needs to gain the new group access list.
I just run this commands:
sudo usermod -a -G miguel plex
sudo service plexmediaserver start
sudo service plexmediaserver stop
sudo service plexmediaserver restart
But still can’t access… help me please!
plex2.log
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: squashfs Path: /snap/gnome-3-34-1804/36 Name: /dev/loop1
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: squashfs Path: /snap/gnome-3-34-1804/24 Name: /dev/loop3
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: squashfs Path: /snap/snap-store/433 Name: /dev/loop4
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: squashfs Path: /snap/snap-store/454 Name: /dev/loop5
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: squashfs Path: /snap/core18/1705 Name: /dev/loop6
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: squashfs Path: /snap/snapd/7264 Name: /dev/loop7
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: squashfs Path: /snap/snapd/7777 Name: /dev/loop8
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: squashfs Path: /snap/gtk-common-themes/1506 Name: /dev/loop9
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: ext4 Path: /boot Name: /dev/sdb6
Jun 06, 2020 21:37:16.860 [0x7faa617fa700] DEBUG - Filesystem Type: ext4 Path: /home Name: /dev/sdb9
This file has been truncated. show original
Did you restart you machine just to make sure?
I don’t know if the user plex has a bash but, try the commands bellow:
su - plex
ls -l /mnt/data/plexgoogledrive
Could you list your files?
sure i restart my machine. nothing works.
running -> su - plex getting su: Authentication failure
help
Are you using the Plex package installed from the Ubuntu store or which was downloaded from Plex.tv/downloads ?
I don’t use ocamlfuse.
But it might be worth checking that you have the allow other flag set in /etc/fuse.conf. This is my file from my linux box
# /etc/fuse.conf - Configuration file for Filesystem in Userspace (FUSE)
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#mount_max = 1000
# Allow non-root users to specify the allow_other or allow_root mount options.
user_allow_other