Quantcast
Channel: Linux — Plex Forums
Viewing all 7311 articles
Browse latest View live

RP3 PMS install and run.

$
0
0

I have been trying to install and run PMS on my RP3. I have tried, failed, started over, failed, etc. Is there a list of process steps I could use that is up to date for now (January 2018). If so, please direct me to that URL or thread.
If not, here are my issues I have run into:

1st time, the RP3 was recognizing the external hard drive but would not search more than the initial files and PMS would not add any files, even if the Hard drive had media files not in any files past the main.

2nd time: unable to see the text when I entered the sudo nano etc/default/plexmediaserver
it showed "New File"

3rd time: unable to access PMS with the browser using http://localhost32400/web/

Any ideas?


I have PMS running on Raspberry PI 2!

$
0
0

There is a Synology release which works on rPI2 without a chroot.  However it's seems to becapable of playing media that the drobo/chroot version was unable to.  If you want to try it:

See the guides here: https://forums.plex.tv/topic/145717-i-have-pms-running-on-raspberry-pi-2/?p=887965

and here: http://www.htpcguides.com/install-plex-media-server-on-raspberry-pi-2/

 

There's also a conversion guide for moving from the chroot version to the native version here:

https://forums.plex.tv/topic/145717-i-have-pms-running-on-raspberry-pi-2/page-17#entry886641

 

UPDATED Image using the ARMv7 install: http://www.mediafire.com/download/dred4bd078wwe9n/MiniBianPlexArmv7.zip


 

And it was surprisingly easy!

 

I followed the bitbucket guide for installing the drobo PMS into a debootstrap chroot on raspbian.

As described here: 

https://bitbucket.org/inkubux/cubox-i/wiki/Plex%20Wheezy

 

As with the Mycloud install, I had to change LC_ALL=C in the chroot plexmediaserver script and install libexpat1 (apt-get install libexpat1) in the chroot.

 

I'm using a WD MyBook to store my media. So once I had PMS running I created media folders in the chroot and then mounted the mybook folders in the main host. So my main host /etc/fstab looks like this:

 

# Chroot bind mounts
/home            /chroots/wheezy-armel/home            none bind 0 0
/mnt             /chroots/wheezy-armel/mnt             none bind 0 0
/tmp             /chroots/wheezy-armel/tmp             none bind 0 0
/proc            /chroots/wheezy-armel/proc            proc defaults 0 0
/dev             /chroots/wheezy-armel/dev             none bind 0 0
/dev/pts         /chroots/wheezy-armel/dev/pts          none bind 0 0
/mnt/USB_HD/Video/Films /chroots/wheezy-armel/media/films       none bind 0 0
/mnt/USB_HD/Video/3D_Film       /chroots/wheezy-armel/media/3dfilms     none bin d 0 0
/mnt/USB_HD/Video/TVShows       /chroots/wheezy-armel/media/tv  none bind 0 0

Then I just add the chroot version (e.g. /media/tv) from the Plex GUI.

 
Last thing to do was to add samba so I can add/remove files from a windows host.
 

 

Cant access plex server even though service is running with no errors

$
0
0

Hello,

I appreciate any help you can give me. I am ok at linux but I cant find any reason for the error.

Situation:
My main hard drive filled to 100% due to excessive logs. That has been fixed. Plex was still running through this. And also played fine after clearing space. I did a restart thinking its been a month or two and it was a good time to get a quick one in.

The server is not accessible now via web or any other way. I checked to make sure there were no errors and it was running fine:
user@system:~$ sudo service plexmediaserver status
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-01-11 22:35:36 EST; 3min 29s ago
Main PID: 15727 (sh)
CGroup: /system.slice/plexmediaserver.service
├─15727 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server"
├─15731 /usr/lib/plexmediaserver/Plex Media Server
├─15830 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-fc63598ba/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.11.0.4666-fc63598ba /usr/lib/plexmediaserver
├─15877 /usr/lib/plexmediaserver/Plex DLNA Server
├─15879 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.11.0.4666-fc63598ba 32600 /waitmutex
└─15905 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-ins-fc63598ba/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.11.0.4666-fc63598ba /usr/lib/plexmedias

Jan 11 22:35:36 groot systemd[1]: Starting Plex Media Server for Linux...
Jan 11 22:35:36 groot systemd[1]: Started Plex Media Server for Linux.
Jan 11 22:36:05 groot systemd[1]: Started Plex Media Server for Linux.

I went to check the logs to see if I could fine anything and nothing stood out.

Anyone have any suggestions on what to do. I uninstalled and reinstalled the package (I didn't remove directory's after uninstalling hoping I don't need to do a full setup). When I went to the local address it asked me to sign in, but then it didnt do any server setup. just showed me my server was down and that is it.

Again thank you for the help.

Can't get out of indirect hell

$
0
0

So I have been facing indirect connections for a couple weeks now, I have been poking the problem with the awesome help of you guys on the forum, a little back story I was configured with a multi nic ubuntu server as my plex server, I have reconfigured my setup to be a single nic plex server behind a PFsense firewall. I have to be missing something simple as I am still stuck with indirect connections even on my local network behind the PFsense, the only way I can get a direct connection is if I am on local network and I enter in the private IP of the server.

So I enable remote connection, it spins for a bit, comes back and for about a second I get green text saying good to go, then that flips to red saying bad things happened.

Virtual Machine Windows Host, Ubuntu Guest can't access windows shares in Plex Media Server ONLY

$
0
0

So I created a virtual machine using virtual box for plex and a few other media applications I use because I prefer them on linux. The shares seem to automount just fine from Virtual box and they mount to /media. I am able to terminal into that location and see all of the files in the share just fine. But when I add the share to the Plex media library, nothing shows up. It shows the folder but none of the contents are shown. The windows share is shared to everyone with full access and I have even chmod 777 the folder from within linux but still can't see the files in plex. Any ideas on what I am missing here?

Plex kills streams, loses connectivity, requires computer reboot multiple times a week

$
0
0

Over the course of the past few months, I get constant crashes from Plex - well, not exactly "crashes", they never show up in the crash log. But in the logs, all streams are killed and I'm unable to connect, either from a remote connection or locally. Restarting the plexmediaserver service does not fix the problem most often, it requires a computer reboot.

The server log always seems to say this before doing its rampage of timing out and terminating streams:

Feb 02, 2018 22:52:12.393 [0x7f40b07fe700] DEBUG - BPQ: onConsiderProcessing: Idle (true)
Feb 02, 2018 22:52:12.393 [0x7f40b07fe700] DEBUG - BPQ: [Idle] -> [Processing]
Feb 02, 2018 22:52:12.398 [0x7f40b07fe700] DEBUG - BPQ: generating queue items from 0 generator(s)
Feb 02, 2018 22:52:12.398 [0x7f40b07fe700] DEBUG - BPQ: generated 0 item(s) for queue
Feb 02, 2018 22:52:12.398 [0x7f40b07fe700] DEBUG - PlayQueue: 0 generated IDs compressed down to a 2 byte blob.
Feb 02, 2018 22:52:12.398 [0x7f40b07fe700] DEBUG - PlayQueue: 0 generated IDs compressed down to a 2 byte blob.
Feb 02, 2018 22:52:12.400 [0x7f40b07fe700] DEBUG - BPQ: [Processing] -> [Idle]

Any ideas? Attached logs

OSX PMS DB is fine but... Clients show corruption ?

$
0
0

My PMServer appears 100% OK but all my clients, TVOS, IOS etc. are all showing 310 duplicates in "Movies / All" ??? Is this the DLNA.DB and if I'm correct is it just a delete the top three on this list and PMS will rebuild it?
Sincerely hoping it's that simple? I look forward to some advice!
Many Thanks.

Can't find 'plex' user

$
0
0

I'm on Ubuntu 16.04.1 LTS. I installed Plex Media Server from the Ubuntu Software. I'm unable to pull in any videos to the plex server. I understand this is most likely a permissions issue. The videos are stored in /home/manny/Videos. The problem I'm running into is that I cannot find any group or user by the name of plex to grant permissions to.

In /snap/menta-plexmediaserver/10/etc/default/plexmediaserver file there is a line that says:

export PLEX_MEDIA_SERVER_USER=plex

I'm a complete noob to Plex and only recently started using linux. Any help is appreciated.


I can't set up the DVR

$
0
0

Plex does not recognize my tv or the IP address for such. I want to be able to record the superbowl for my son in China, but am coming up blank.

Media Server is not finding certain mp4 files

$
0
0

So I know that the scanner ignores <300 mb files but I have some Mp4 of Shameless that come in at under 300 mbs each. i have updated every "videofiles.py" file , that I can find, to 150 (on line 173).  To be honest its even ignoring the one episode over 300 mb. 

 

I have moved the offended files out of the watched folders, emptied trash, cleaned bundles ,updated libraries, and then moved the files back in and updated library again. 

 

I am having no luck getting these videos to show.

 

Running Linux Mint 16 with Media server version 0.9.8.18

Where should I save my media files on fresh Ubuntu install?

$
0
0

I was a bit of an experienced server admin in a past life...I used to be a support technician in a data center and I worked with various methods of partitioning and LVM and filesystem types etc etc. I can't tell you how many servers I've installed fresh, customized Ubuntu, CentOS, FreeBSD, Windows and other server operating systems on. However I've grown old and I've basically forgotten anything important, so I need a refresher and personal opinions please.

I ran Plex for a few years on my Windows gaming desktop, but recently snagged a cheap HP DL380 G5 server and spun it up in my basement with Ubuntu Server. The drives are 6 cheap 1TB drives configured in RAID5 (because the server is older and doesn't support RAID6 but that's fine). When I installed Ubuntu, I did simplest default setup for partitioning, which is to just use all 5TB of space in single LVM setup with a separate /boot (I believe I do remember that you can't have /boot in LVM right...).

Here's my current fdisk configuration:
adam@dionysus:~$ sudo fdisk -l
Disk /dev/cciss/c0d0: 4.6 TiB, 5000855773184 bytes, 9767296432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 015837A6-3C07-4B3B-A6E9-8AA5313648F6

Device              Start        End    Sectors  Size Type
/dev/cciss/c0d0p1    2048       4095       2048    1M BIOS boot
/dev/cciss/c0d0p2    4096    1003519     999424  488M Linux filesystem
/dev/cciss/c0d0p3 1003520 9767294975 9766291456  4.6T Linux LVM


Disk /dev/mapper/dionysus--vg-root: 4.5 TiB, 4982824763392 bytes, 9732079616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/dionysus--vg-swap_1: 16 GiB, 17175674880 bytes, 33546240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/cryptswap1: 16 GiB, 17175150592 bytes, 33545216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
adam@dionysus:~$

And here's output from mount:

            adam@dionysus:~$ sudo mount
            sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
            proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
            udev on /dev type devtmpfs (rw,nosuid,relatime,size=8194960k,nr_inodes=2048740,mode=755)
            devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
            tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1643028k,mode=755)
            /dev/mapper/dionysus--vg-root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
            securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
            tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
            tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
            tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
            cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
            pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
            cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
            cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
            cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
            cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
            cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
            cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
            cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
            cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
            cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
            cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
            systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=24,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
            hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
            debugfs on /sys/kernel/debug type debugfs (rw,relatime)
            mqueue on /dev/mqueue type mqueue (rw,relatime)
            fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
            tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
            /dev/cciss/c0d0p2 on /boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl)
            lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
            tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1643028k,mode=700,uid=1000,gid=1000)
            /home/.ecryptfs/adam/.Private on /home/adam type ecryptfs (rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=d268e70daa665759,ecryptfs_sig=16c38c262701fe6a,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs)
            binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
            adam@dionysus:~$

It's a brand new fresh install plus "apt-get update -y && apt-get upgrade -y && reboot" and she purring like a kitten. Now that I'm about to transfer my 3TB of media files over, I realized that I might want to modify the LVM partitioning or the native partitioning before I set where the media files are stored.

So here are my requests to everyone out there that has run or is running Plex on Linux:

  • How do you have your partitioning and/or LVM setup and why?
  • What directories do you use to store your media and why?
  • If different than media storage directories (answer to above question), what directories do you use for downloads/new media files for Plex to discover and then add to Library? (In other words, when you have a new media file to add to your library, where do you store it? What is your process?)
  • Have you ever had any negative experiences that taught you important lessons about Linux partitioning with storing and hosting large media files such as for a Plex server?

Also, after I installed Plex, I noticed on my Windows machine that there was a new network location available named "Plex Media Server: dionysus". I never noticed this when I ran Plex via Windows, but I probably didn't see it (no need to look for network location access to a media server as it was hosted locally, I could just store files locally). In that network location directory I see these default directories: Music, Photos, Video. Can someone give me an idea of what those reference? Specifically including directories for a Linux-hosted version of Plex if possible...

I'm open to completely reinstalling Plex and/or repartitioning as would be best use case scenario. As I mentioned I did use LVM so I could potentially easily modify the LVM setup however necessary rather than completely reinstalling, but I'm open to either. Want to configure the server in best method now during initial install rather than find out later down the line that I should have done it a different way for best results etc.

Thanks a lot for feedback and guidance fellow Plexers!

Moderator Edit: Added Code formatting as requested

forum categories disabled

$
0
0

Hi, so I can't select quite a lot of forum categories, for example MacOS server. Why is that?

Transcoder thrashing my CPU for no reason?

$
0
0

Hi,

I can't figure out why my CPU is being thrashed by the transcoder as nothing is being transcoded?


"Not available outside your network" but works anyway. Happy it works, but causes debugging issues

$
0
0

I have been doing some updates to my configuration and decided to go from debian wheezy to jessie. This caused all sorts of issue, so I decided to start over on the configuration. Unfortunately, this required several changes at once and I am trying to establish where the problem is.

Configuration:
Plex 1.11.1.4760 (previous configuration was 1.7.????, that was the reason for doing the upgrade was to get current)
Debian Jessie (I know that it is not formally supported, but appears to work just fine There is a lot of users out there that run this configuration).

I was originally running a double-nat configuration. Everything worked fine for years. Unfortunately had to reset the ISP router box and lost the port forwarding rule and can't seem to replicate. I was using the "connect" from the plex screen as a verification that is was working.

After thinking that it would not work, I decided to drop the router box and go directly to my firewall. Logged in and enabled remote. Everything looked like it was working fine and then about 5 mins later, it showed it could not connect. Strange, but cannot get it show that it is connected anymore.

Logged in via cell phone (to ensure outside network) and everything works fine. Gets movie list, plays just fine....

I am still trying to get my router added so that I can reduce the amount of traffic to the firewall, so I would like to use it as a debug tool. Also would like to know if there is really any problem when family calls and says they can't access.

Any thoughts?

Only indirect connection

$
0
0

Hey, I just did a clean install of PMS on an Ubuntu server (also clean install).
I used plexupdate (https://github.com/mrworf/plexupdate)

Now the PMS tells me "Fully accessible outside your network" but there still is only an indirect connection available from any client.

I really have no idea how to fix this :/


Plex Cannot See Content on My Hard Drive Running Ubuntu 16.04

$
0
0

Installed plex media server on Ubuntu 16.04. However, when I go to add content, my second hard drive shows up, but when I select it, none of the folders/media stored on the hard drive is visible.

GPU hardware acceleration (TITAN X MAXWELL)

$
0
0

Hello all,

So i am looking to decommission a machine and move its GPU(TITAN X MAXWELL) to my plex server.

This should be more than enough power to transcode even my most demanding 4k 10bit files but i cant find any documentation on multiple trans-codes.

Can a single high-end GPU handle transcoding multiple files at once or is it one transcode per piece of hardware?

Plex Server Unavailable

$
0
0

Hey there! I'm having an issue with my Ubuntu 16.04.3

When trying to go to server in plex (Plex.tv or using http://hostname:32400/web) I get a message saying the server is unavailable.

I've seen many posts with info on how to resolve this but none of them seem to work. My disk DID fill up last night (Since fixed)which is why I think it's database related but have no other evidence.

Any help is greatly appreciated.

... i'm just not sure what i'm doing wrong...

$
0
0

I have a very limited understanding of Linux, but for the sake of being cost-effective (and the challenge) I'm trying to run Plex on a system running unbuntu. I am having trouble mounting shares on a WD LIVE NAS to the unbuntu system.

The linux system can see the shares on the NAS, but they will not mount with being set up in /etc/fstab, or the mount command in root.

fstab:

Data for nasT access

//NAST/Public/Video /home/ewebb/Media/mnt cifs user=plex,password=plex,rw 0 0

From root:
mount //nast/public/video /home/ewebb/Media/mnt

Either give me "Mount error(22): Invalid argument

Anyone able to tell me what I'm doing wrong?

MPEG2 H.264 Transcoding on Pi / Arm 7 ++

$
0
0

Hi,

looks like MPEG2 (DVD) is the only thing left not transcoded in realtime on a 4 core pi.
Is there some hardware acceleration improving this?
I can play on Amazon Fire Stick but Chromecast and Smartphones/Tabs seems to have no hardware support as the Plex Windows App not.

Viewing all 7311 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>