Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm having a lot of difficulties in getting plex working. I have mapped 3 sections. 2 on my automonted external disk, 1 is on my home folder (images) which is working fine.

Problem is when I try to acces files on HDD it says that file is not available.

If I run:

sudo mount -t ntfs-3g /dev/your-NTFS-partition /media/discoexterno

I can access it.

Don't know what to do..

share|improve this question
    
The drive must be mounted for PLEX to access it. That is to be expected. I'm not seeing what the issue is. –  dan08 Sep 17 '13 at 20:19
    
The drive is mounted, i have dropbox folder in the same drive. And dropbox runs on boot no problems, i can access files and dropbox is syncing. Tks dan –  user193537 Sep 17 '13 at 20:22

2 Answers 2

up vote 0 down vote accepted

By looking at this article it would seem that you have a permissions problem. "Apparently Plex needs read and execute permission for the root directory of your media directory" -from article. Since its difficult to change permissions on an ntfs formatted drive you would want to format it to ext4 and set the permissions to 755 for the directory the movies live in.

share|improve this answer
    
Is there any alternative to plex ? My External Disk is shared with windows users... I guess windows can't read ext4 natively. –  user193537 Sep 17 '13 at 20:54
    
@user193537 - Are you trying to view the videos on your Ubuntu machine or on another machine on the network? Either way, XBMC could be an alternative. XBMC is available in the Ubuntu Software Center or as a free download for other platforms. Within XBMC, you would just need to tell it to add the folder in the external drive (or its network location, if accessing from another machine) as a source of videos. –  drkokandy Sep 18 '13 at 0:35
    
I'm working locally, external disk is connected to my ubuntu and i can't access files via browser on my own localhost. Sometimes i unplug the usb external drive to connect it to my brothers pc (windows). OK @drkokandy i will take a look on XBMC thank you very much –  user193537 Sep 18 '13 at 10:29
    
@user193537 What is the statement in fstab that is automounting the drive? –  dan08 Sep 18 '13 at 14:21

You need to configure fstab to set the proper permissions.

There is a whole page about how to do this on the Plex site, see: https://support.plex.tv/hc/en-us/articles/200288606-Mounting-NTFS-Drives-on-Linux

To make it short:

  • Find the UUID of your drive:

    sudo blkid | grep ntfs

  • create a directory where you will mount the drive:

    sudo mkdir /media/ext_NTFS_USB_Drive

  • edit file /etc/fstab with command:

    gksu gedit /etc/fstab

  • add a line to this file and save.

    UUID=485CBF485CBF3014 /media/ext_NTFS_USB_Drive ntfs-3g permissions,auto 0 0

    where the UUID is the one your drive and the mount point is the folder you created.

  • now mount the drive:

    sudo mount /media/ext_NTFS_USB_Drive

    (you might get an error saying the drive is already mounted, in Nautilus for example. Just unmount it - Safely Remove Drive, or click the Eject Icon in Nautilus)

Now in Plex, you need to change the location the media folder you were trying to add to somewhere inside: /media/ext_NTFS_USB_Drive

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.