Most directory variables are set in /etc/default/plexmediaserver but I only see the "Backup directory" path via the GUI and it does not change to reflect PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR. Can the "Backup directory" path be set in /etc/default/plexmediaserver or somewhere else?
Programmatically configure location of "Backup directory"
Linux FAQ
This will grow with Tips & tricks as well as ways to help us help you. Linux uses a lot of special characters the forum is sensitive (markdown
formatting) to. We need to accommodate for those. Here are some basic things:
Copy/paste of command line text or XML
Answer: There are 4 easy ways:
A. Surround the single line command with the grave character.
results in This is how it looks when you've typing it
B. Surround a block of text with triple grave
Becomes:
This is
a
multi-line
C. After you copy/paste the text, use 'Code' paragraph formatting and mark the entire selected block of text . You will see it indent.
D. Use something like Gnone-Screenshot (used here to make these graphics) for little graphic-inclusive items. Use the 'picture attach' feature above or drag & drop the image. Allow it ample time to upload and resolve to a 'link' in the thread (you'll see it when done)
Tuner Suggestions for DVR Function?
I opted to post this in the Linux forum and -not- in the general forum because Linux is the black sheep when it comes to companies providing drivers and software to run add-on devices like TV tuners. Since I'm running Linux (openSUSE Leap 42.2, specifically), I'm wondering if some folks that are using the DVR function could recommend some options for tuner devices that will allow me to record OTA programming.
I have several libraries configured but when I try to share my library I only see one of them.
I have installed the plex server using openmediavault and it works very well. I've upgraded to a PlexPass and thought it would be easy to share my library with a friend. However when I go to share my library I only see 'TV shows' and not any other of the libraries that I set up. I can see all the libraries on the Plex app so I'm sure that they are working ok. It just seems to be that they are missing from the share option.
Some movies & tv show missing thumbnails after reinstall
Hi! After moving my plex database to my new home server (ubuntu 16.04) I have followed this guide: https://support.plex.tv/hc/en-us/articles/201370363-Move-an-Install-to-Another-System
I have some missing thumbnails (show/movie cover and episode)
I have do complete refresh, scan, optimize,etc withiout any success...
Your help will be appreciated.
Thanks you.
I have PMS running on Raspberry PI 2!
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.
First time Linux user/Ubuntu server set up
I have just bought a second hand Dell R710 server with twin Xeon 2.67 processors with 24gb of RAM. I have not yet started the installation, I am looking at using Ubuntu server but this will be my first experience of Linux. I know there is no GUI and input will be by the command line. My question is what else will I need to install with PLEX? I am going to install OpenSSH and Samba. Any advice will be greatly appreciated.
Kind regards
Steve
Why are fetched ratings inconsistent (RT / IMDb / star rating shown at movies)?
I just moved Plex to a new server (PMS 1.5.6.3790 on Manjaro/Arch) and I'm currently in the process of doing a full initial library scan. I configured the Plex Movie agent to use Rotten Tomatoes as the ratings source. The movies section is ready and here I noticed the following: movies get ratings from either IMDb or RT, or sometimes the source is entirely unclear (when it has a percentage rating next to a star without a RT or IMDb logo).
Why is the ratings source that Plex uses so inconsistent? I looked some of these movies up and even big productions that have lots of votes on those platforms receive these vague percentage star ratings. For example Scarface (tt0086250) and Prisoners (tt1392214) receive a star rating of 79% (so I don't know what the rating source is at there is no RT or IMDb logo), while these big productions have lots of votes and reviews. I assume Plex is using the OMDb API (is entirely a guess but that's the only API I know of that supports IMDb ratings) so I also looked these movies up in their database and I found full rating data from both IMDb and RT for these movies.
So I guess my question is: is there something I can do to get Plex to fetch more consistent ratings? I would prefer it if all ratings came from a single provider (so either IMDb or RT), of course it would be even better if Plex would simply store all ratings from the various sources that it can fetch from. Or is this perhaps a bug in the Plex Movie agent that needs to be addressed?
Thanks for reading!
I upgraded to 1.6.1.3722 yesterday and now media wont play on any device?
I just used the download logs button to look around but was hoping for a shortcut since there are a lot of logs. I don't want to put something up that possibly shouldn't be shown publicly, please advise on specific logs or items I should be looking for.
Plex insists that it cannot be reached remotely
I'm in quite an odd situation with Plex and trying to enable remote access.
It always tells me that my server is not reachable outside of my network. While in reality it is perfectly accessible. A friend I asked could access it fine via :32400. canyouseeme.org also agrees with me that everything is working fine. Yet while attempting to enable remote access it persistently gives me a "Not available outside your network" message.
Due to this, all apps, web UI on other machines and stuff like my PS4 at my parents' place are stuck using an "indirect" connection. Adding a manual connection in my apps works fine. It allows me to stream directly and with all the quality options. Problem is that my external IP is dynamic, so I'll have to re-add them. If I'm not home I won't know what my new external IP is either.
I'm suspecting it's due to me being stuck behind double-NAT. I have my own router, which is then connected to a second router that belongs to my landlord.
I did a typical double-NAT port forward like follows:
0.0.0.0:32400 -> 192.168.80.160:32400 (My own router) -> 192.168.0.81:32400 (My Plex server)
As mentioned above, this works perfectly if I just add my server manually. However the Settings -> Remote access wizard refuses to enable remote access and insists that it's local only.
To summarize, here's a TL;DR list with all important key points:
- I'm stuck behind double NAT
- UPnP is enabled on both routers
- Local IP of Plex server and second router is static
- External IP is dynamic
- Friends, my phone's mobile data and canyouseeme.org all agree that my server is reachable
- Plex says that Remote Access is not possible
- I have attempted ports other than 32400 (And added respective translations to routers)
- My server is running on CentOS. Though I tried reinstalling with Ubuntu to no avail. Back to CentOS now
- Jumbo packets are disabled throughout the entire network chain
Any help would be high appreciated. This issue has had me beaten with hours of work by now.
Library scanning not able to see mounted Samba or NFS shared content. What am I missing?
So after reading and tinkering for days I have not been successful and posting a new thread is my last resort before taking a hammer to the whole thing. Here is my dilemma.
I have been using Plex on a Fedora21 install for a long time. Everything works flawlessly with my media libraries. However, I am making the move from a dedicated Fedora machine to virtualization allowing more functionality on my home network. My setup is a ProxMox hypervisor with a RAID 1 array holding the VM's. I also have another RAID 1 array managed by ProxMox as a shared NFS server to be used by the VM's.
One of my VM's, called "PlexVM", is Ubuntu Server v17.04. PlexVM is a mounted NFS client, mounted at "/mnt/nfs here:
chris@plex:/mnt/nfs$ ls -l
total 60
drwxrwxr-x 2 chris users 4096 May 15 21:41 backups
drwxrwxr-x 2 chris users 4096 May 15 21:42 documents
drwxrwxr-x 2 chris users 4096 May 15 21:42 dropbox
drwxrwxr-x 38 chris users 4096 May 15 22:41 music
Inside the music folder is a few of the folders from my existing, operational media folder:
chris@plex:/mnt/nfs/music$ ls -l
drwxrwxr-x 2 chris users 4096 May 15 22:12 009 Sound System
drwxrwxr-x 2 chris users 4096 May 15 22:12 009 Sound System -
drwxrwxr-x 2 chris users 4096 May 15 22:12 18
drwxrwxr-x 2 chris users 4096 May 15 22:13 1984
By my understanding, the Plex user should be able to see these folders when adding the music media location as "/mnt/nfs/music", however nothing is discovered by a scan. I have added the Plex user to the following groups as troubleshooting measures to no avail. Seems to me from the permission of the folder any user should be able to read and descend into the directories, let alone a member of the group.
chris@plex:/mnt/nfs/music$ groups plex
plex : plex root users chris
So after banging my head against the wall for two days with NFS, I decided to try accessing the files through another VM serving up the NFS shares to windows clients as CIFS. Kind of hackish but I decided to try it anyway. I mounted my Samba share on my PlexVM at "/mnt/samba/music"
chris@plex:/mnt/samba$ ls -l
total 0
drwxr-xr-x 2 root root 0 May 15 22:41 music
chris@plex:/mnt/samba/music$ ls -l
total 0
drwxr-xr-x 2 root root 0 May 15 22:12 009 Sound System
drwxr-xr-x 2 root root 0 May 15 22:12 009 Sound System -
drwxr-xr-x 2 root root 0 May 15 22:12 18
drwxr-xr-x 2 root root 0 May 15 22:13 1984
Once more I tried to scan the new music library location "/mnt/samba/music" but was unsuccessful. The log gives a helpful line:
May 16, 2017 18:31:45.231 [0x7feb58725800] WARN - Skipping directory [/mnt/samba/music] as it no longer exists
Which is strange, because as shown above, it is clearly there.
Does anyone have any helpful insights here? By the file and folder permissions the Plex user should be able to see these files and folders. My naming scheme works on my other machine so I know that can't be the issue. I know the drives are mounted as I can move things around and change them from the PlexVM cli.I have flat out run out of things I can think of to try to make this work. This is the last piece of the puzzle I need to make fit before I can transition over to the new hardware and go live. Any thoughts?
Plex don't start anymore
I have installed plex on Ubuntu 16.04. When i opened it the first time it was not possible to get access to my library. I follwed this guide https://www.htpcguides.com/install-plex-media-server-ubuntu-16-x-and-later/ but after making step by step the option 2 ... now plax can't even open. Also through Plex Website i cannot access. The Browser say " impossible to reach localhost 32400 web index".... Please HELP !
PLEX server crashes just after launch
I noticed this evening that my PMS was unreachable by all apps / web. I have it installed on a Windows 10 PC, and it seems that log files are fed but I cannot connect to the server.
In the task manager, I can see that Plex Media server and PLEX Tuner service appear after I launch the server, but shortly after they disappear...
Could someone help?
I attach the log file.
Thank you in advance!
Error upgrading to plexmediaserver (1.6.1.3722-4955e31cf)
I get the following error after trying upgrading plex media server on Ubuntu 16.04:
Setting up plexmediaserver (1.6.1.3722-4955e31cf) ...
OK
groups: ‘#’: no such user
Then the upgrade process ends with an error and it is listed as not completely installed in apt.
I use: https://github.com/mrworf/plexupdate to autoupdate the server.
Any ideas to resolve?
Arch Linux configuration for where metadata is stored
Hi, I've moved on from windows on my home server and have a working install of PMS on Arch. I am trying to direct the metadata plex stores to another mount point/directory. Right now the configuration file is set to have all plex data living in the /opt/plexmediaserver directory. When I look at the configuration file in /etc/conf.d it says
LD_LIBRARY_PATH=/opt/plexmediaserver
PLEX_MEDIA_SERVER_HOME=/opt/plexmediaserver
PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plex
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
PLEX_MEDIA_SERVER_TMPDIR=/tmp
TMPDIR=/tmp
No mention of the metadata path as far as I can tell. Which of these paths are the appropriate one to change so I can create a directory on another much faster volumes mount point. I set up the server with a simple mirror of 250GB 7200rpm drives as the system disks but the metadata folder is nearly 300GB when my library caches all it's info. So that folder can't live in the same place the service does. There are zfs pools with larger capacity and much higher read speed that would make a great home for the metadata. I just don't know which of the configuration file entries to edit. Any help is appreciated.
External USB NTFS disk Linux for PMS (Chucks's guide)
Hi smart people,
So, I've tried several times to use Chucks's guide to get my WD My Passport external USB drive set up, but am having issues.
I've borked my fstab file about 3 or 4 times, so it's obvious I am missing something or not following the guide correctly.
One thing I notice is the name of the drive seems truncated when checking
ls -la /disks
See screen caps for my steps following Chuck's guide. I stopped at the actual edit of the fstab.
Any replies or help is greatly appreciated.
Thank you!
Bind to specific interface only?
Seeing a lot of external connections to port 80?
I'm running my Plex Media Server from an oVirt cluster, and I noticed the host which is housing this VM had network about 70-90% utilized. When I logged into my VM, I saw a lot of connections to port 80 externally.
I stopped plexmediaserver service, and this stopped. Do we know what plex is trying to reach out to externally on port 80 for all of these addresses?
Here's an example list:
128.59.59.71:80
134.121.64.80:80
152.19.134.43:80
160.10.5.26:80
173.243.16.24:80
192.17.174.4:80
192.73.23.18:80
198.255.114.50:80
198.60.22.13:80
199.102.235.174:80
204.157.3.70:80
207.244.94.80:80
208.100.4.53:80
208.85.242.118:80
64.250.112.70:80
65.182.224.39:80
66.45.230.130:80
67.218.95.34:80
67.55.67.172:80
69.12.162.27:80
71.19.224.254:80
Looks like some kind of mirror connectivity/traffic - but for what?
71.59.59.128.in-addr.arpa name = teewurst.cc.columbia.edu.
80.64.121.134.in-addr.arpa name = mirrors.eecs.wsu.edu.
43.134.19.152.in-addr.arpa name = distro.ibiblio.org.
26.5.10.160.in-addr.arpa name = reflector.westga.edu.
24.16.243.173.in-addr.arpa name = host-173-243-16-24.millry.net.
4.174.17.192.in-addr.arpa name = reflection.cites.illinois.edu.
18.23.73.192.in-addr.arpa name = mirrors.wvstateu.edu.
50.114.255.198.in-addr.arpa name = 198-255-114-50.host-engine.com.
13.22.60.198.in-addr.arpa name = mirrors.xmission.com.
** server can't find 174.235.102.199.in-addr.arpa.: NXDOMAIN
70.3.157.204.in-addr.arpa name = mirror.cogentco.com.
** server can't find 80.94.244.207.in-addr.arpa.: NXDOMAIN
53.4.100.208.in-addr.arpa name = mirror.steadfast.net.
118.242.85.208.in-addr.arpa name = mirror.san.fastserv.com.
** server can't find 70.112.250.64.in-addr.arpa.: NXDOMAIN
39.224.182.65.in-addr.arpa name = white.web-ster.com.
130.230.45.66.in-addr.arpa name = mirror.trouble-free.net.
34.95.218.67.in-addr.arpa name = mirror.net.cen.ct.gov.
172.67.55.67.in-addr.arpa name = mirrors.webair.com.
27.162.12.69.in-addr.arpa name = mirrors.200p-sf.sonic.net.
254.224.19.71.in-addr.arpa name = 254.224.19.71.in-addr.arpa.
Thanks for any info you may have on this!
Sending logs to Syslog.
Hey all,
I want to send all of my plex logs to syslog. I have added the setting (export PLEX_MEDIA_SERVER_USE_SYSLOG=true) to /etc/sysconfig/PlexMediaServer but it seems like nothing is getting logged to /var/log/messages. Am I missing something?
Configuration:
OS: CentOS
Plex User: plex
[Help] Question regarding transcoding and Firefox - Insane CPU load
Hi there everyone.
I have a weird "issue" with my server. Or with my clients, I suppose. Specfically the ones using Firefox to access the Plex Web servers. The Plex-transcoder goes totally bananas, and won't stop transcoding the media, until it has reached a 100% in transcoding.
I have observed this in PlexPy, where users using Firefox have transcoded 100% of their media, even though the media barely has started. Here's a few examples: Example 1 - Example 2
The problem with that, is my CPU load is going absolutely crazy, with all my cores getting maxed out, until the transcoder has reached transcoding 100% of the media.
My transcoding settings can be seen > Here! <. These settings have held up to 8 simultaneously transcoding sessions going without any issues - with the users using Chrome/Chromium. No issues at the clients' end, or at the servers end. Buuut then there's 1-2 users using Firefox, and it spikes the CPU for way too long, making the PMS crash after a short while.
I've obviously done the easiest thing: Asking them to stop using Firefox, and using a different client. That has obviously worked, but lets say - hypothetically - they share their user, and forget to tell the next person that they can't use Firefox, and the same thing happens again (e.g. server crash / insane CPU load)?
I don't really want to limit the amount of concurrent streams acceptable, since it runs perfectly and without issues with users using Chromium-based browsers like Google Chrome or SRWare Iron. I've tried changing the transcoding sessions to default, just to check, but to no avail. Firefox seems to require that transcoding-session to get completed, instead of transcoding as the media plays.
My CPU is an Intel Core i7-6700, and with 32GB RAM.. Running with Ubuntu 16.04.2 LTS.