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

1.1.3.2700 Update - Not available outside your network

$
0
0

I have just updated to v1.1.3.2700 and logged onto the web management to check all OK and am getting the error 'Not available outside your network' under the Server > Remote Access tab.

I have just connected via my Android phone on 4G and I can connect, log in and stream films.

My router/firewall are set to forward port 32400 to the correct, reserved, IP address of my server.

Why does it say: Private Unknown IP X Public Unknown IP X Internet ? Surely it should know these IP addresses ?
Why am I getting this error ??


Securing plex server from outside attacks?

$
0
0

So it's been a while since I've noticed but now PMS acts as intermediate server and authenticates with plex.tv correct?

So is there any need to install measures such as fail2ban on the server? Like what kind of exploits can a hacker execute on a plex web interface?

Plex Sync issues from 1.1.0 onwards?

$
0
0

Obviously Plex's syncing leaves a fair amount to be desired at the best of times but a few of my users are reporting that their synced content is displaying a simple "Something went wrong playing your media" error on anything local to the device after syncing; this has been a problem on various different media since 1.1.0 and persists in 1.1.3 - is anyone else experiencing this? Any fixes?

Server is Ubuntu 15.04 running 1.1.3 and clients reporting issues are all iOS, on various media containers and codecs, transcoded for sync using both Low and Medium profiles.

Thanks as ever.

Trouble running PMS on raspberry pi 2 with higher bitrate videos

$
0
0

Hi all,
I have PMS running on raspbian on a raspberry pi 2 and things almost work exactly as I want. I have a couple higher bitrate videos that seem to choke my raspberry pi 2 but I am not sure why. The highest bitrate file I have is 3Mb per second. I am using the 10/100 wired port that goes to a wireless n router. Every time I watch one of these higher bit rate movie my Amazon Fire stick says that my connection is too slow or that the server isn't powerful enough to transcode. Why is it even trying to transcode? Why is 100Mb to wireless n not enough for measly 3Mb?

I recently found kodi and set that up on my fire stick. I connected that to my raspberry pi using samba and those same files that choke plex work great. I like kodi but plex does have some features I like if it would run well.

Can anyone help me figure out why plex chokes on these files? They are x264 just like all my others. Only difference is the bitrate.

Thanks for any help you can provide!

Ubuntu Plex Server Issues

$
0
0

plex server version: 1.1.3.2700-6f64a8d
Ubuntu: 12.04

Hi,

I am having an issue that has been ongoing for over a week now with Plex Media Server that I can't resolve. The issue is that everyday, I am having to manually log into my server and stop/restart plex server because though the server is online, it won't allow any media to play, saying error in playing, nor, will it scan any new media. I noticed that if I stop/start the server all works for about 24 hours, then, same issue comes back up. Currently, my server, it's running, I can connect to it with no problem, but I can not play anything, nor will it scan any new media, even by manually clicking to do a force refresh. It's not until I stop/start the server again that this will resolve itself, but again, only for a day, then I have to go this all over again. Don't know what is causing this issue. I figure since it's working for about a full day from the point I restart the server, that something is at some point causing the issue once a day, but I don't know what. ?? And like I said the sever stays online all the time, it's just playing/scanning media that all of a sudden stops due to something, once a day.

I was told this is a known bug in the latest version of Plex, yet I haven't found anything here in the forums about this, is that what this issue is, a bug with the latest release? Thanks.

I can provide logs if that would help, but should I edit out personal IP's in those logs or encrypt the zip file and provide the psw to anyone that can help? Don't think posting logs with that info would be a good idea, but don't know the rule Plex has towards that...

Ubuntu 16.04 Plex installation issues

$
0
0

On a fresh install of PMS on Ubuntu 16.04, the web interface from the local as well as remote machines is very slow to load. The files will play on the Shield client, but it is very slow to connect to the server and also very slow to appear. I ran PMS on 14.04 for a long time and had no issues. However, installation on 16.04 has been quite a pain in the butt. Also, on the shield device with plex kodi connect, it found the server and loaded, but after an upgrade, it could no longer connect. In fact, after upgrading the PMS, it would no longer start and had to remove and reinstall.
I have spent considerable time on this and have reinstalled several versions of PMS by both CLI and the deb packages and I get the same result from each version installed. It would be very useful to have a definitive guide for installation on Ubuntu, there are numerous ones online, but each is slightly different mostly in regards to permissions. PMS runs on a standalone machine and has only the 16.04 OS. 32 GB ram, 4 x 3gb WD NTFS drives, the OS resides on a 240gb SSD ext4.
Any help would be greatly appreciated.

Unknown user access to my server!!!!

$
0
0

I entered my Plex to keep watching a series, and to my huge surprise, a movie appeared as being watched. I went to the Status view, and there was a

"1:24 AM Unknown started playing The Good Dinosaur on Plex Web (Chrome)."


I have Guest access disabled, and only one plex account (my own). The only one with access from plex web in chrome was me, but I never ever watched that movie in plex. I am right now and since a couple of days accessing my server remotely, signed up from https://app.plex.tv.

What the hell happened? I am a plex pass subscriber for a couple of years, but just the thought of someone hacking into my library freaks me out. I am completely shutting down plex until a good enough explanation is given from the development team.

debian wheezy upgrade from 1.0.3 to 1.1.3 - webUI not working

$
0
0

Update: discovered its only the webUI not finding my server. updated post to be more accurate

I'm running debian wheezy and am configured to pull from here.

$ cat /etc/apt/sources.list.d/plexmediaserver.list
deb http://shell.ninthgate.se/packages/debian wheezy main
$

Heres the upgrade output on the cli, no errors here

(Reading database ... 75509 files and directories currently installed.)
Preparing to replace plexmediaserver 1.0.3.2461-35f0caa-debian (using .../plexmediaserver_1.1.3.2700-6f64a8d-debian_amd64.deb) ...
Killing Plex Media Server: done
update-rc.d: using dependency based boot sequencing
Obsolete conffile /etc/init.d/plexmediaserver has been modified by you, renaming to .dpkg-bak
Unpacking replacement plexmediaserver ...
Setting up plexmediaserver (1.1.3.2700-6f64a8d-debian) ...
plex user exists now checking for group
Group plex exists proceeding with installation
update-rc.d: using dependency based boot sequencing
Plex Media Server is not running (no process found)...
Starting Plex Media Server: done

after upgrade I have a bunch of processes running

$ ps awwux | grep plex
plex 12940 0.0 0.0 4200 508 ? S 17:52 0:00 /bin/sh /usr/sbin/start_pms
plex 12952 1.2 1.4 516920 57288 ? Sl 17:52 0:01 ./Plex Media Server
plex 12962 4.5 1.2 358868 49064 ? SNl 17:52 0:06 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.1.3.2700-6f64a8d /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/System.bundle
plex 13016 0.3 0.5 276624 23112 ? Sl 17:52 0:00 /usr/lib/plexmediaserver/Plex DLNA Server
plex 13030 1.4 1.1 232056 43240 ? Sl 17:52 0:01 Plex Plug-in [com.plexapp.agents.thetvdb] /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.1.3.2700-6f64a8d /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/TheTVDB.bundle
plex 13161 1.3 1.0 295232 41084 ? Sl 17:52 0:01 Plex Plug-in [com.plexapp.agents.themoviedb] /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.1.3.2700-6f64a8d /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/TheMovieDB.bundle
plex 13163 0.9 0.8 221424 32528 ? Sl 17:52 0:01 Plex Plug-in [com.plexapp.agents.plexthememusic] /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.1.3.2700-6f64a8d /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/PlexThemeMusic.bundle
plex 13270 1.3 0.9 226604 37768 ? Sl 17:52 0:01 Plex Plug-in [com.plexapp.agents.plexmusic] /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.1.3.2700-6f64a8d /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/PlexMusic.bundle
plex 13315 1.0 0.8 222856 33968 ? Sl 17:52 0:01 Plex Plug-in [com.plexapp.agents.vevo] /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.1.3.2700-6f64a8d /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/PlexVevo.bundle
plex 13419 2.5 1.1 300496 45880 ? Sl 17:52 0:03 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.1.3.2700-6f64a8d /usr/lib/plexmediaserver/Resources/Plug-ins-6f64a8d/PlexMovie.bundle

I have listeners running. But the Web UI does not detect the PMS running on the same host. IOS Plex app and samsung TV app both find the server and can stream content.

$ sudo netstat -tnlp | grep Plex
tcp 0 0 127.0.0.1:40615 0.0.0.0:* LISTEN 13419/Plex Plug-in
tcp 0 0 127.0.0.1:54282 0.0.0.0:* LISTEN 13161/Plex Plug-in
tcp 0 0 127.0.0.1:43019 0.0.0.0:* LISTEN 13030/Plex Plug-in
tcp 0 0 127.0.0.1:60238 0.0.0.0:* LISTEN 13270/Plex Plug-in
tcp 0 0 0.0.0.0:32469 0.0.0.0:* LISTEN 13016/Plex DLNA Ser
tcp 0 0 127.0.0.1:51320 0.0.0.0:* LISTEN 13315/Plex Plug-in
tcp 0 0 0.0.0.0:1370 0.0.0.0:* LISTEN 13016/Plex DLNA Ser
tcp 0 0 127.0.0.1:40570 0.0.0.0:* LISTEN 12962/Plex Plug-in
tcp 0 0 127.0.0.1:47551 0.0.0.0:* LISTEN 13163/Plex Plug-in
tcp6 0 0 :::32400 :::* LISTEN 12952/Plex Media Se
tcp6 0 0 ::1:32401 :::* LISTEN 12952/Plex Media Se
$ sudo netstat -unlp | grep Plex
udp 0 0 0.0.0.0:4685 0.0.0.0:* 13016/Plex DLNA Ser
udp 0 0 192.168.0.5:35472 0.0.0.0:* 12952/Plex Media Se
udp 0 0 172.17.42.1:60260 0.0.0.0:* 12952/Plex Media Se
udp 0 0 192.168.0.5:50139 0.0.0.0:* 12952/Plex Media Se
udp 0 0 0.0.0.0:35868 0.0.0.0:* 13016/Plex DLNA Ser
udp 0 0 172.17.42.1:58471 0.0.0.0:* 12952/Plex Media Se
udp 0 0 127.0.0.1:36153 0.0.0.0:* 12952/Plex Media Se
udp 0 0 0.0.0.0:32410 0.0.0.0:* 12952/Plex Media Se
udp 0 0 0.0.0.0:32412 0.0.0.0:* 12952/Plex Media Se
udp 0 0 0.0.0.0:32413 0.0.0.0:* 12952/Plex Media Se
udp 0 0 0.0.0.0:32414 0.0.0.0:* 12952/Plex Media Se
udp 0 0 0.0.0.0:1900 0.0.0.0:* 13016/Plex DLNA Ser
udp 0 0 0.0.0.0:1901 0.0.0.0:* 12952/Plex Media Se
udp 0 0 0.0.0.0:51148 0.0.0.0:* 13016/Plex DLNA Ser
udp 0 0 127.0.0.1:43011 0.0.0.0:* 12952/Plex Media Se
udp 0 0 192.168.0.5:41197 0.0.0.0:* 12952/Plex Media Se
udp 0 0 0.0.0.0:14670 0.0.0.0:* 13016/Plex DLNA Ser
udp 0 0 172.17.42.1:53644 0.0.0.0:* 12952/Plex Media Se
$

Logs wise I don't see much

$ cat Plex\ DLNA\ Server.log
Sep 04, 2016 17:52:20.820 [0x7fa2c4bff700] INFO - Plex DLNA Server v1.1.3.2700-6f64a8d - ubuntu PC x86_64 - build: linux-ubuntu-x86_64 - GMT 01:00
Sep 04, 2016 17:52:20.820 [0x7fa2c4bff700] INFO - Linux version: 3.16-0.bpo.2-amd64 (#1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21)), language: en-GB
Sep 04, 2016 17:52:20.820 [0x7fa2c4bff700] INFO - Processor AMD Turion(tm) II Neo N54L Dual-Core Processor
$

$ cat Plex\ Media\ Server.log
Sep 04, 2016 17:52:17.103 [0x7fa478ffe700] INFO - Plex Media Server v1.1.3.2700-6f64a8d - ubuntu PC x86_64 - build: linux-ubuntu-x86_64 ubuntu - GMT 01:00
Sep 04, 2016 17:52:17.105 [0x7fa478ffe700] INFO - Linux version: 3.16-0.bpo.2-amd64 (#1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21)), language: en-GB
Sep 04, 2016 17:52:17.105 [0x7fa478ffe700] INFO - Processor AMD Turion(tm) II Neo N54L Dual-Core Processor
Sep 04, 2016 17:52:17.105 [0x7fa478ffe700] INFO - ./Plex Media Server
Sep 04, 2016 17:52:17.108 [0x7fa484410800] INFO - SQLITE3:0x10, 283, recovered 647 frames from WAL file /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-wal
Sep 04, 2016 17:52:17.312 [0x7fa484410800] INFO - Killing process: Plex Plug-in [com.plexapp.system] (pid: 8550)
Sep 04, 2016 17:52:22.663 [0x7fa470bfb700] ERROR - Network Service: Error in browser handle read: 125 (Operation canceled) socket=-1
Sep 04, 2016 17:52:22.763 [0x7fa470bfb700] INFO - Network Service: Abandoning browse socket, it was closed.
Sep 04, 2016 17:52:34.090 [0x7fa473ffd700] INFO - Refreshing paths watched by LibraryUpdateManager
$

There is no process ID 8550 currently running.

I can see a bunch of CRITICAL errors in the Plugin Logs (I thought I'd removed a lot of these plugins, followed up by moving the plugins folder elsewhere)

user@nas:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs$ grep CRIT *.log
com.plexapp.agents.localmedia.log:2016-09-04 17:52:28,619 (7f5ffebc2700) : CRITICAL (sandbox:298) - Function named 'Start' couldn't be found in the current environment
com.plexapp.plugins.bbcradio.log:2016-08-24 22:02:05,981 (7f6424f19700) : CRITICAL (sandbox:303) - Exception when calling function 'Start' (most recent call last):
com.plexapp.plugins.googlemusic.log:2015-09-13 12:43:09,878 (7fb008c8a700) : CRITICAL (runtime:883) - Exception (most recent call last):
com.plexapp.plugins.googlemusic.log:2015-09-13 12:43:24,467 (7fb008c8a700) : CRITICAL (runtime:883) - Exception (most recent call last):
com.plexapp.plugins.grooveshark.log:2016-09-04 15:29:42,656 (7fdc4a8ef700) : CRITICAL (core:615) - Exception starting plug-in (most recent call last):
com.plexapp.plugins.LMA.log:2014-09-21 19:47:57,284 (7f1d300dd700) : CRITICAL (sandbox:303) - Exception when calling function 'Start' (most recent call last):
com.plexapp.plugins.LMA.log:2014-09-21 19:48:03,429 (7f1d2449b700) : CRITICAL (sandbox:303) - Exception when calling function 'Staff' (most recent call last):
com.plexapp.system.log:2016-09-04 17:52:20,497 (7f9a4ad59700) : CRITICAL (runtime:709) - Private handlers are no longer supported; couldn't register >
user@nas:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs$

The only recent CRITICAL error in com.plexapp.system.log I can find is this.

user@nas:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs$ cat com.plexapp.system.log | grep -C5 CRIT
2016-09-04 17:52:20,490 (7f9a4ad59700) : DEBUG (runtime:1117) - Created a thread named 'refresh_servers'
2016-09-04 17:52:20,491 (7f9a3d937700) : DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2016-09-04 17:52:20,493 (7f9a3c134700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/servers'
2016-09-04 17:52:20,494 (7f9a4ad59700) : DEBUG (runtime:1150) - Scheduled a timed thread named 'refresh_servers'
2016-09-04 17:52:20,496 (7f9a4ad59700) : DEBUG (streamservice:18) - Starting the stream service
2016-09-04 17:52:20,497 (7f9a4ad59700) : CRITICAL (runtime:709) - Private handlers are no longer supported; couldn't register >
2016-09-04 17:52:20,499 (7f9a4ad59700) : DEBUG (runtime:1150) - Scheduled a timed thread named 'invalidation_timer'
2016-09-04 17:52:20,501 (7f9a4ad59700) : DEBUG (proxyservice:12) - Starting the proxy service
2016-09-04 17:52:20,507 (7f9a3d937700) : DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2016-09-04 17:52:20,512 (7f9a4ad59700) : DEBUG (runtime:1117) - Created a thread named 'update_attribution_flags_inner'
2016-09-04 17:52:20,513 (7f9a4ad59700) : INFO (core:611) - Started plug-in

I can manually downgrade to 1.0.3 and get it working again.

Heres the URL I use : http://nas:32400/web/index.html#
DNS is working as I can access the URL

If I sign in, I see the "looking for servers" bit spins constantly and never goes away.

Any ideas where to look next?


Name match bug

$
0
0

Plex Linux has a bug where it picks the first match in the list even if it isn't the correct name. The same python code works on Windows with the same match list so there is something Windows is doing that the Linux version isn't.

/media/movies/Comedy/Office Space (1999).mkv
/media/movies/Drama/Bob's New Suit (2011).mkv

These are marked as duplicates under Linux and through my testing it is because they both come up when doing a match search. Now how these two come up in a search together is anyone's guess, but Windows somehow gets it right and Linux doesn't.

As you can see by the screenshot both movies come up in the search and Linux just auto picks the first match.

Thanks,

Chad

How to: Plex Media Server on Ubuntu

$
0
0

Hi,

I thought I could write a quick HOW TO for installing PMS (Plex Media Server) on Ubuntu, because many other linux guides on the internet helped me very much previously.

 

NOTE: If you use the Ubuntu Desktop version consider using this guide. 


I used Ubuntu Server 12.04 LTS, but it should work on older Ubuntu versions, too.

First, you have to open a terminal window or ssh into your computer.

Step 1: Install Avahi

Avahi is needed for advertising Plex services. It's like Apple's Bonjour.
It is enough to copy&paste this line to install Avahi:
 

sudo apt-get install avahi-daemon


However you can do much more with Avahi. For example advertising AFP-Shares. This guide covers it.

Step 2: Install Plex
 

sudo nano /etc/apt/sources.list


Then add "deb http://www.plexapp.com/repo lucid main" to the file.
Or add "deb http://www.plexapp.com/repo beta main" for the BETA versions.
You can put it wherever you like.
Use something like ctrl+x (mac-keyboard) or Strg+x (Windows-keyboard) to close and safe the file.

Update apt-get:

sudo apt-get update


Install:

sudo apt-get install plexmediaserver


Access Plex through a browser on the computer running PMS

http://localhost:32400/manage/index.html

or any other computer (connected via LAN)

http://IP-ADDRESS:32400/manage/index.html


To initially add media to your library, you can click on one of those icons on your PMS website. For example Movies:

Plex1.png

Then you can choose a name and directory:

Plex2.png

The scanning will take a while, depending on how many movies or tv-shows you have.
You should see the progress on the web client wink.gif

 


(optional) Read this if Plex doesn't play any files:

If Plex doesn't play any files, make sure your permissions are right. Because Plex is a new User it may not have the permissions to play your media.
You can try it the easy way: Add the Plex-User to your Group:

gpasswd -a plex myuser


Or if you want to change the permissions properly (more work):

cd into your media directory, for example:


cd /home/user/media


Then look up the permissions with
 

ls -l


Here you can see if your directory has read/write/execute for every user. Its like this: (NO COLOURS in real life)

drwxrwxr-x 365 USER GROUP ---somemorestuff-- FOLDERNAME

rwx indicates read/write/execute for the USER.
rwx indicates read/write/execute for the GROUP
r-x indicates that every other user has read/-/execute access.

I would assume the User Plex only has as much access as the last three letters/hyphens (every other user).
It works for me like this so the blue bit should look different in your setup.
The easyiest thing you can do here is put the plex user in the group:
 

sudo chown YOURUSER:plex -R /home/user/MEDIADIRECTORY

This way plex will be the group and have the groups' permissions (green rwx). BUT if there is no rwx, you will have to give it read/write/execute permissions:
 

sudo chmod 770 -R /home/user/MEDIADIRECTORY


The first 7 gives the user read/write/execute permissions. The second 7 is for the group. The 0 in this case gives every other user no permissions at all.
The -R will change the permissions of all files in the folder.

Now it should look like this: (check with ls -l again!)

rwxrwx--- 365 USER plex ---somemorestuff-- FOLDERNAME


Please note: This is just an option!
A complete Linux permissions guide would be too long for this How To. But you can find plenty good Youtube videos on this topic wink.gif
This might also be helpful: https://help.ubuntu.com/community/FilePermissions
 

Update Plex: (You should do that every now and then)

Plex updates just like most of the other Linux programs. With aptitude:
(Every other programm will update too)
 

sudo aptitude update && sudo aptitude safe-upgrade

All programs mentioned here will be updated.
Then you have to type in Y to continue.
Wait...
That's it.

 

(optional) Migrate library from 0.9.2.x

Just follow this guide: http://forums.plexapp.com/index.php/topic/28626-ubuntu-migrating-pms-data-to-the-new-package/


If you find any mistakes please tell me and if you know how something is done better please tell me, too. wink.gif

'looking for server' error

$
0
0

Hi all,

After the recent Plex update, I am not able to connect to my server. I'm using Ubuntu server 14.04.4 LTS and I have static IP address for my server.

I've tried accessing the server through Plex website launch, and it is not working. I've also attempted to access the website through the static IP address, and though it is showing the Plex website, it still says that it is 'looking for server'. I know that the server is running because I can connect to the Plex website through the IP address, and I've used TOP command in the terminal to check that the server is running.

I'm not using any VPN. What could be the possible source of this problem? Let me know if there is more information needed to solve this problem.

Buffering issues on all devices when remote only

$
0
0

Hi,
I'm having major issues when trying to view a file remotely. My first thought is my internet connection, but that's stable around 9Mbps up, and 300 down. I'm not seeing anything in the logs that stand out to me, but then again, I'm not well versed with Plex logs.

I've tried my devices around my house without Wifi, a computer while at work, and a family member's Roku. All of these devices were fine up until recently. The only major change besides version upgrades, is that I moved and have a new cable provider, Comcast. I'm inclined to believe the issue lies with my connection, but 9Mbps up, should be fast enough for one video at 3Mbps 720p, right?

In this log, I deleted the old log files, restarted Plex, Streamed a video on a local network on my Android Phone, then switched off WiFi, and tried to stream the same file. I only tried to view 15 seconds, and had stuttering/buffering a 1 sec, 7 sec and 15 sec only while remote. Ports are open, and I can make a direct connection to the host server.

Any help would be greatly appreciated.

Xubuntu 16.04, AMD FX-8320E, 8 GB Ram. Plex Version: 1.1.3.2700

Thank you!

Autoplay doesn't work outside local network

$
0
0

Hey,
I am running Plex on a server at home. It works fine, but for some reason autoplay isn't working outside the local network. After an episode is done, it says "the server is not powerful enough (...)".
However, this doesn't seem right to me since it works just fine locally and it can handle multiple transcode streams at once. It isn't the most powerful machine, but it should work.
Specs:

  • OS:Ubuntu 14.04 x64

  • CPU:Celeron G1820

  • Ram:4GB ddr3
  • Network:100 Mbit up and down
  • Latest Plex version

Does someone knows how this might be fixed?
Thanks!

Bug: same file imported twice

$
0
0

Sometimes, for no clear reason, the same file is imported twice. It then shows up with a blue (2) on the icon of the show / movie. Under mediainfo you can see it's exactly the same path. I've attached a sample xml export of the info.

I'm on Version 1.1.3.2700 on Arch Linux using the plex-media-server-plexpass AUR package.

XML file (I wasn't allowed to attach it):

<?xml version="1.0" encoding="UTF-8"?>
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="1" librarySectionTitle="TV Shows" librarySectionUUID="461a335c-678d-487f-9951-e86d31229937" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1472729064">
    <Video ratingKey="95261" key="/library/metadata/95261" parentRatingKey="94482" grandparentRatingKey="94481" guid="com.plexapp.agents.thetvdb://85453/0/1?lang=en" librarySectionID="1" type="episode" title="Return of the Rhino" grandparentKey="/library/metadata/94481" parentKey="/library/metadata/94482" grandparentTitle="Last Chance to See" contentRating="TV-PG" summary="Stephen Fry and the zoologist Mark Carwardine follow attempts to move the world&#39;s rarest rhinos from a snowy zoo in the Czech Republic, to the expanses of Kenya in the hope that they will breed in the wild. With only eight of these creatures left on earth, the mission becomes a race against time to save the Northern White Rhino from extinction." index="1" parentIndex="0" rating="8.0" year="2010" thumb="/library/metadata/95261/thumb/1473671640" art="/library/metadata/94481/art/1473671647" grandparentThumb="/library/metadata/94481/thumb/1473671647" grandparentArt="/library/metadata/94481/art/1473671647" duration="3558144" originallyAvailableAt="2010-10-31" addedAt="1473671599" updatedAt="1473671640" chapterSource="">
        <Media videoResolution="480" id="134570" duration="3558144" bitrate="1498" width="832" height="468" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="h264" container="mkv" videoFrameRate="PAL" audioProfile="he-aac" videoProfile="main">
            <Part accessible="1" exists="1" id="138859" key="/library/parts/138859/1470162456/file.mkv" duration="3558144" file="/home/thom/Video&#39;s/TV Shows/Last Chance to See/Specials/Last Chance to See - S00E01 - Return of the Rhino.mkv" size="666448257" audioProfile="he-aac" container="mkv" deepAnalysisVersion="1" indexes="sd" requiredBandwidths="1497,1497,1497,1497,1497,1497,1497,1497" videoProfile="main">
                <Stream id="323362" streamType="1" default="1" codec="h264" index="0" bitrate="1498" bitDepth="8" cabac="1" chromaSubsampling="4:2:0" codecID="V_MPEG4/ISO/AVC" colorRange="tv" duration="3558160" frameRate="25.000" frameRateMode="cfr" hasScalingMatrix="0" height="468" level="30" pixelFormat="yuv420p" profile="main" refFrames="4" requiredBandwidths="1402,1402,1402,1402,1402,1402,1402,1402" scanType="progressive" width="832" />
                <Stream id="323363" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" codecID="A_AAC" duration="3558144" profile="he-aac / lc" requiredBandwidths="95,95,95,95,95,95,95,95" samplingRate="48000" />
            </Part>
        </Media>
        <Media videoResolution="480" id="134571" duration="3558144" bitrate="1498" width="832" height="468" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="h264" container="mkv" videoFrameRate="PAL" audioProfile="he-aac" videoProfile="main">
            <Part accessible="1" exists="1" id="138860" key="/library/parts/138860/1470162456/file.mkv" duration="3558144" file="/home/thom/Video&#39;s/TV Shows/Last Chance to See/Specials/Last Chance to See - S00E01 - Return of the Rhino.mkv" size="666448257" audioProfile="he-aac" container="mkv" deepAnalysisVersion="1" indexes="sd" requiredBandwidths="1497,1497,1497,1497,1497,1497,1497,1497" videoProfile="main">
                <Stream id="323364" streamType="1" default="1" codec="h264" index="0" bitrate="1498" bitDepth="8" cabac="1" chromaSubsampling="4:2:0" codecID="V_MPEG4/ISO/AVC" colorRange="tv" duration="3558160" frameRate="25.000" frameRateMode="cfr" hasScalingMatrix="0" height="468" level="30" pixelFormat="yuv420p" profile="main" refFrames="4" requiredBandwidths="1402,1402,1402,1402,1402,1402,1402,1402" scanType="progressive" width="832" />
                <Stream id="323365" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" codecID="A_AAC" duration="3558144" profile="he-aac / lc" requiredBandwidths="95,95,95,95,95,95,95,95" samplingRate="48000" />
            </Part>
        </Media>
        <Director id="41620" tag="Tim Green" />
        <Extras size="0">
        </Extras>
    </Video>
</MediaContainer>

What agent does everyone use for content rating?

$
0
0

Hi,

So many of my movies & TV have the content rating missing due to the information not being available with the standard plex agents, what does everyone use to get this field auto-populated?

cheers


No servers found after setting up subdomain for Plex Media Server

$
0
0

Hello,

I recently created a DNS for my home network and gave Plex a subdomain of plex.example.com, through a nginx server with the following conf file:

upstream plex-upstream {
# change plex-server.example.com:32400 to the hostname:port of your plex server.
# this can be "localhost:32400", for instance, if Plex is running on the same server as nginx.
server 192.168.1.12:32400;
}

server {
listen 80;

# server names for this server.
# any requests that come in that match any these names will use the proxy.
# replace <host> with actual server name (obviously).
server_name plex.example.com;

# this is where everything cool happens (you probably don't need to change anything here):
location / {
    # if a request to / comes in, 301 redirect to the main plex page.
            # but only if it doesn't contain the X-Plex-Device-Name header
    # this fixes a bug where you get permission issues when accessing the web dashboard
    if ($http_x_plex_device_name = '') {
        rewrite ^/$ http://$http_host/web/index.html;
    }

    # set some headers and proxy stuff.     
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    # include Host header 
    proxy_set_header Host $http_host;

    # proxy request to plex server
    proxy_pass http://plex-upstream;

    proxy_redirect off;
    proxy_buffering off;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_read_timeout 36000s;
}

})

However when I route to plex.example.com my plex media server is showing that it is "Looking for servers..." and that no servers were found in the left corner, just below the house icon. But when I route to 192.168.1.12:32400/web everything runs just fine.

Is there some setting I need to set in Plex in order for this to work right with my subdomain?

Thanks for the help.

[Ubuntu 16.04]: "Executable path contains special characters" error with systemd

$
0
0

I'm using 0.9.16.6.1993-5089475.

In the journal, you'll see errors such as this:

Apr 27 21:17:15 ichabod systemd[1]: [/etc/systemd/system/plexmediaserver.service:14] Invalid escape sequences in line, correcting: "/bin/sh -c "/usr/lib/plexmediaserver/Plex\ Media\ Server""

You can easily fix it upstream by changing the ExecStart= line to:

ExecStart="/usr/lib/plexmediaserver/Plex Media Server"

Which also saves the sh parent invocation, and means journal entries have the right process name.

By the way, you don't need to / shouldn't test for existence before attempting to create a file or directory, so you can also replace the complex ExecStartPre= line with the following:

ExecStartPre=/bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"

Thanks. :-)

How do you connect to your Plex database to see the schema using DB Browser for SQL Lite?

$
0
0

Hello,

I'm trying to use DB Browser for SQL Lite to connect to the Plex database stored on my Ubuntu box. Everytime I use this SQL client to open the database, I get an "Invalid file format" error. The database is located under /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db.

I thought it might be a permission related issue so I ran chmod 755 on the above file as well as the db-shm and db-wal files.

I still can't connect. Does anyone have any suggestions?

Thank you,
Jason

How to retroactively view Remote Access Logs?

$
0
0

How can I, in hindsight, see what was viewed on my server, by which remote user?
I've tried to decipher "Plex Media Server.log", but I do not see any usernames mentioned, and its generally hard to distill actual viewing actions from it.

Running latest PMS on Ubuntu 16.04.

Thanks!

there was a problem playing this item

$
0
0

I've seen this problem a few times on google with various solutions none of which worked for me.

My setup is as following;

PMS: 1.1.4.2757-24ffd60
Linux 3.2.0-4-amd64 (#1 SMP Debian 3.2.60-1+deb7u3)

Clients:
Plex Web Windows (Chrome) 2.8.1
Plex for LG (NetCast) 2.6.9

I have 247Gb free on the drive PMS is installed on and 412Gb free on the drive the media is stored on, mounted as a separate drive on the same machine.

I've tried changing the Direct Play and Direct Stream settings with no effect as well as pass through of audio.

All my files are stored as mkv and range from 1Gb to 30Gb with Permissions set to 664, I've also tried setting the owner of the file to plex.

Anything else I can try?
Thanks

Viewing all 7311 articles
Browse latest View live


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