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

After upgrade to ubuntu 16.04 Plex does not start automaticly anymore.

$
0
0

Hello, after upgrading my server plex won't start automatically anymore.
I assume it has something to do with permissions.
I was on version 14 and upgraded to 16.

When I manually start the service:

@LinuxServer:/etc/systemd/system$ service plexmediaserver start
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'plexmediaserver.service'.
Authenticating as: ,,, ()
Password:`

When I do sudo service plexmediaserver start plex starts and runs just fine.

Now the upgrade it should have created a .service in cd /etc/systemd/system/

If I open that I get this:

/etc/systemd/system$ cat plexmediaserver.service

[Unit]
Description=Plex Media Server for Linux
After=network.target

[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support"
Environment=PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
Environment=PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
Environment=PLEX_MEDIA_SERVER_TMPDIR=/tmp
Environment=LD_LIBRARY_PATH=/usr/lib/plexmediaserver
ExecStartPre=/bin/sh -c '/usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"'
ExecStart=/bin/sh -c '/usr/lib/plexmediaserver/Plex\ Media\ Server'
Type=simple
User=plex
Group=plex
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3

[Install]
WantedBy=multi-user.target

Any help?
Thanks


[Ubuntu 16.04.1 Server]: Plex Mix Stopped Working

$
0
0

[Ubuntu 16.04.1 Server]: Upgrade to 1.1.4.2757 (was on the immediately previous version, not sure what the number was, 1.1.3 something I think) and the Plex Mix feature stopped working. I can still play music, but if I try to start a Plex Mix, nothing happens. I've attached the logs as well.

REGEX Search

$
0
0

When I'm searching for "well", it doesn't find Powell.

Is it impossible for Plex to match partial searches or even REGEX?

Local clients can only connect via 'Relay'

$
0
0

Hi there,

New to Linux but decided to set up a Plex Media Server on Ubuntu Desktop for a friend.
I have set up the Plex Media Server on his network, set secure connections to 'preferred' and confirmed Port 32400 is forwarded (PC has static IP Address).
Clients (Windows 10 laptops and a Roku) are connecting via Relay and getting an error message "Direct Connections are not available"

I am guessing being new to Linux I have missed something on the OS or PMS for Linux config that may differ from Windows.

Any help is appreciated.

Thanks!

Please check that the file exists and the necessary drive is mounted.

$
0
0

I get this message and have tried to fix it by doing the following:

  • Verified that I can actually get to the files in question - I did this by logging on to the server and going to the directories and checked the files were there

  • I checked that the file permissions were correct

  • Using my Samba fileshare I made sure the files would run in VLC
  • Think it might be a Plex database issue I deleted the libraries and tried adding them back in - Plex did not detect any of the files it detected before

Can anyone help? This has really stumped me. I just watched a show using Plex on Friday. Something is going on I cannot figure out.

Thanks in advance for any help given.

B.

401 Unauthorized From External IP

$
0
0
I just installed Plex on my Ubuntu server and I am trying to access the media manager from an external source. The ports are forwarded correctly but when I try to go to it, it gives me a "401 Unathorized" error. I cant find an option to set a username and password anywhere in Plex Preferences either. Can anyone help me?

I got past the unauthorized error but now Plex is asking me for a password (which is good) but where can i set up login info?

Not sure why I get buffering

$
0
0

I’m having a buffering issue as of late and am having trouble determining the cause. When I first set the server up a few years ago I tested a few simultaneous transcoded streams and they played fine. Until recently though I've tended to just direct stream to Rasplex. Because of that I'm not able to say exactly when this started. I’ve carried out quite a few tests using both my main and a test server set up on a laptop in the same LAN so will try to explain the issue clearly (hopefully). It’s a long post but I’ve included some pictures

Main Server Specs
CPU E3-1225 v3 @ 3.20GHz
RAM: 8GB
Ubuntu 16.04 LTS (up to date)
Plex version: 1.1.3.2700

Test (Laptop) Server Specs
CPU i7-4810mq @ 2.8GHz
RAM: 16GB
Windows 10 Pro (up to date)
Plex version: 1.1.3.2700

Clients
Rasplex – wired – latest version
Chromecast
Android Tablet – Nook HD
Dell laptop – wired
HP laptop - wireless

Test Media Specs
Media
Video Resolution 1080p
Duration 2:21:42
Bitrate 7844 kbps
Width 1920
Height 800
Aspect Ratio 2.35
Container MKV
Video Frame Rate 24p
Video Profile high
Part
Duration 2:21:42
File Harry Potter and the Prisoner of Azkaban (2004).mkv
Size 7.76 GB
Container MKV
Video Profile high
Codec H264
Bitrate 6562 kbps
Language English
Bit Depth 8
CABAC true
Chroma Subsampling 4:2:0
Duration 2:21:42
Frame Rate 23.976 fps
Frame Rate Mode cfr
Height 800
Level 4.1
Pixel Format yuv420p
Profile high
Ref Frames 5
Scan Type progressive
Width 1920
Codec AC3
Channels 5.1
Bitrate 640 kbps
Language English
Audio Channel Layout 5.1(side)
Bit Depth 16
Bitrate Mode CBR
Dialog Norm -27 dB
Duration 2:21:42
Sampling Rate 48000 Hz

Main Server Issue
On my main server I am seeing lots of buffering and looking at the ‘speed =>’ output in the ‘Plex Media Server.log’ this seems to point to an inability to transcode at a fast enough speed some of the time. The speed value is very erratic.

The below two screenshots show 2 streams with only 1 transcoding. The transcode is going to the Dell laptop – wired client.
At 19:40 buffering occurs, no real CPU usage can be seen and the speed value is at 0 (it’s not throttled at this point):

A few minutes later buffering stops, again the CPU is not taxed but the speed values have shot right up:

Without posting endless examples I am in short seeing regular buffering (even on only 1 stream when transcoding) and very erratic ‘speed =>’ values.

The above example is an extreme one, however I am regularly seeing ‘speed =>’ values of 0.2, 0.3 etc (during which I get buffering) then a while later seeing much higher ‘speed =>’ values.

Most of the time the CPU is doing very little and the fact the CPU can produce higher ‘speed =>’ values suggests it is up to the job.

What could be causing this, it feels like transcoding should be taking place but for some reason it’s just not happening.

Direct Stream is working fine.

Test (Laptop) Server Performance
I’m seeing no issues using a server installed on a laptop in the same LAN, using the same test media. In fact, it can cope easily with 5 streams with pretty steady ‘speed =>’ values in the server log. Below is a screenshot:

Conclusions
I’m no expert but I am drawing the following conclusions so far:
• As the laptop server can cope with 5 streams with no buffering at the client end I do not have a network issue.
• I know this is simplistic but a comparison between the 2 server’s CPUs is:

So the laptop server’s CPU is better but based on the above figures I would expect the Main server’s CPU to be able to cope with a few simultaneous transcodes.

What next?
I’m not sure of where to look next so any help/pointers would be appreciated. I’m about at the limit of my knowledge. Ask away if any additional info would be useful.

Very slow loading dashboard, sometimes timeout

$
0
0

This week I had to start over clean and re-scrape my media library. Since then it takes a long time, 10 seconds, to load the dashboard. I get the Loading Dashboard spinner then it either appears, eventually, or I get "There was an error loading the dashboard".

Anyone else experience this? I am current in all my Ubuntu packages and Plex. Prior to reloading my media it was pretty fast.
And I did not reuse the same filesystem the previous database/media files were on. This is clean.

I'm wondering if this is a case where it is trying to load most recent stuff, but since I reprocessed everything at once everything appears new, so it has to figure out what subset of that to display on dashboard. If this is so, I expect it to get better over time as I add new things and the "most recent" timestamps are further apart from all the stuff I just processed. Just a theory.


Camera Upload filling system tmp folder

$
0
0

I have been using Camera upload feature without issue. Now however I have some longer video files that are filling the /tmp folder on my Fedora PMS server. I have edited the transcode folder and also the 'PLEX_MEDIA_SERVER_TMPDIR=' in the /etc/sysconfig/PlexMediaServer file. the Camera upload is still using the system tmp/ folder. Is there a setting I am missing or is it a bug?

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 ??

Cover Art Missing - All other Metadata there.

$
0
0

Having issues. Upgraded plex server to 1.1.4 today and cover art started to disrepair from all movies when played or any new ones added.Server on linux ubuntu 14.04 server. Any ideas?

Music matching doesn't always work

$
0
0

I have Plex Media Server for Linux installed. Using version 1.1.3.
Could not find a subforum for matching problems. So trying to air out my problems here.

I have just added my extensive music collection to Plex. I have previously used Amarok for organising and playing. Now as my music is on my server without speakers I trying out my Plex Media Server on it.

I have spent a lot of hours getting most of my music collection to match correctly in Plex. Though there are still some I have problem matching.
Plex is not as good finding covers as my Amarok which also uses last.fm

Last.fm seems a bit disorganised. Sometimes multiple entries for same artist, with different information. Some albums and artists have little to no information. Some even don't have cover art or release date. It does not seem to be a good site for matching. Isn't there any better, musicbrainz, allmusic, discogs, etc.?

All my id3 tags are in order. Nearly 95% of my music is in FLAC.

There is a lot of ambiguity at last.fm
Rolling Stones Undercover (Remastered)
Rolling Stones Undercover ((Remastered))
Rolling Stones Undercover [Remastered]
Rolling Stones Undercover (2009 Remastered)
Rolling Stones Undercover (2010 Remastered)
Rolling Stones Undercover (2009 Re-Mastered)
Rolling Stones Undercover (Remastered 2009)
Just to mention a "Few"...

AC/DC
Plex is unable to fetch ANY covers for my AC/DC albums even though I can find them on last.fm
Example: it did not fetch information and cover from this last.fm page http://www.last.fm/music/AC/DC/Live+at+River+Plate

It seems it has a match, but it is a poor match. I can fix the match, search for it, get a 100% match, but still no covers. The cover art on all albums are the same as one of the albums, "High Voltage".

My music naming and folder structure of AC/DC
/storage/Music/Artists/ACDC/2012 - Live at River Plate/CD1/01 - Rock N Roll Train.flac

Same also happens for Aerosmith
Manually fixing incorrect match does not always work. It cannot find a match. I ended up getting the cover art manually.

Guns N' Roses
Cannot match artist correctly
When I try manually it finds
gun's n roses
Guns N\' Roses
Guns N Roses [www.musikaki.blogspot.com]

I chose the second one here because I think that is the correct one from last.fm
I get not data on this artist in Plex. Even though there is lot written about the artist at
http://www.last.fm/music/Guns+N'+Roses
http://www.last.fm/music/Guns+N'+Roses/Chinese+Democrazy
Lots of information and cover arts, but Plex does not find ANY.

Meat Loaf
No match on album Meat Loaf Milestones 2013
http://www.last.fm/music/Meat+Loaf+Milestones

Dina
A norwegian album and artist. Plex are unable to match the artist. Searching last.fm does not show it, but it is there. Searching for a song uncovered the artist.
http://last.fm/music/Dina/Dina

Clients report my server needs update daily, BUT SERVER IS ALREADY NEWEST VERSION?

$
0
0

Server:
Ubuntu 16.04, Plex Media Server 1.1.4.2757-24ffd60_amd64

Every single day -- without fail -- all clients (phone, plex.tv, whatever) report that my server must be at least 0.9.9.something. I've been 1.+ for as long as I can remember.

Every single day, my solution is the same.
sudo systemctl stop plexmediaserver.service
sudo dpkg -r plexmediaserver
sudo dpkg -i plexmediaserver_1.1.4.2757-24ffd60_amd64

Then, it works. All clients are happy.

FOR ABOUT 24 HOURS.

The very next day, I must go through it all over again, without fail.

Anyone else experiencing this, and anyone have any ideas on how to better troubleshoot and permanently fix the problem? Thank you!

Setting up PMS on Ubuntu "A problem has been detected with a core component of Plex Media Server"

$
0
0

I'm attempting to get plex setup on ubuntu 16.0.4.1 running on an OVZ VPS, and when I try to login for the first time setup, I am presented with this message. I have attached my server logs to this post. My install was done by wgeting the current .deb, and running dpkg -i plexmediaserver_1.1.4.2757-24ffd60_amd64.deb. Any help would be greatly appreciated!

Running PMS under Ubuntu VM?

$
0
0

I am using unraid and I decided to run Ubuntu server 16.04 as an virtual machine I have given it 4 Gb RAM 2 out 4 cores (i5 3,2 Ghz) it is running from the pool not the cache, 7200 rpm NAS disks.
Yesterday we watched a movie through plex on our apple TV 4 and many times the movie stopped to cache(screen black spinning wheel) and ones it resented it self and restarted the movie.
I must have made some configuration error but instead of getting my hands dirty I ask you.
Soon the server will have 16 Gb RAM.


[Ubuntu 14.04]: After upgrade Plex Media Server fails to start after install

$
0
0

Thanks very much for looking at this. I would appreciate any assistance. I am having and issue with Plex Media Server plexmediaserver_0.9.12.4.1192-9a47d21_amd64 on Ubuntu 14.04. PMS is installed on a headless server. The server itself is running Ubuntu server 12.04.4. I installed a virtual machine that is running Ubuntu Server 14.04, and installed PMS on the VM. I first installed PMS on a different VM (UbuntuServer 11?? IIRC) and I am not sure of the PMS version--I cannot find detailed info right now because the old VM is not working right now (currently, it won't start and is not running. I haven't diagnosed the problem.). Install on the first VM was smooth with no issues. PMS ran fine. I then saw that there were security issues with the old version of PMS, and I decided to upgrade. I created a new VM with UbuntuServer [ubuntu-14.04.2-server-amd64] that is working with no problems I have observed. I installed PMS 9.12.4, but it won't start after install. I followed the install instructions at https://support.plex.tv/hc/en-us/articles/200288586-Installation.

After starting up the VM, I type:
sudo service plexmediaserver status, type sudo password,
and the output is:
plexmediaserver stop/waiting

Whey I use the same text, but replace "status" with "start" I get:
plexmediaserver start/running, process 1208
the process number changes each time I repeat the command

I have searched via google and in this forum, but not found an answer.
I tried some of this things listed here to no avail
http://www.reddit.com/r/PleX/comments/3efy7m/plex_linux_server_not_running_lxle_14042/?ref=readnext_4
I can't find any log files, but I tried rerunning install with the following screen shot.

Thanks for your help,
e_identity

Request came in with unrecognized domain

$
0
0

With Version 1.1.3.2700 I can no longer access my plexserver from other PCs without authentication. It worked fine with version 1.0.3.2461 and before.

The plex server is running on a PC called "rakete". When accessing http://rakete:32400/web/index.html I get the following error message:

Sep 03, 2016 09:55:29.192 [0x7fde943ff700] DEBUG - Request: [192.168.1.55:44820 (Allowed Network)] GET /identity (8 live) GZIP Signed-in
Sep 03, 2016 09:55:29.192 [0x7fde943ff700] DEBUG - Request came in with unrecognized domain 'rakete' in header Host; treating as non-local

If I use the IP address in the URL instead of the hostname ( http://192.168.1.29:32400/web/index.html ) it works without authentification. Here are my domain/hostname settings

98# hostname --short
rakete

99# hostname --domain
fritz.box

100# hostname --fqdn
rakete.fritz.box

101# hostname --ip-address
192.168.1.29

What is going wrong?
Matthias

Unable to manually add Plex plugin bundles

$
0
0

Using a Linux based server (unRAID) and tried a few plugin bundles for my Plex Media Server and having no luck getting them listed under Channels. Any ideas? Able to manually install same plugins on PMS running Windows, just not the Linux one. I've restarted both PMS and my server...

Unable to Add New Media

$
0
0

Hello,

Whenever I try to add some new media to my Plex server I get the following error.

Sep 18, 2016 21:47:20.338 [0x808c06400] DEBUG - Directory had 11 files, database had 10 files, can't skip.
Sep 18, 2016 21:47:20.343 [0x808c06400] DEBUG - * Scanning XYZ (0000)
Sep 18, 2016 21:47:20.343 [0x808c06400] DEBUG - Looking for path match for [/mnt/media/Movies/XYZ (0000).mp4]
Sep 18, 2016 21:47:20.343 [0x808c06400] DEBUG - Skipping hash check, no size match for 1613883154 bytes.
Sep 18, 2016 21:47:20.343 [0x808c06400] DEBUG - No match for hash.
Sep 18, 2016 21:47:20.344 [0x808c06400] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Sep 18, 2016 21:47:20.344 [0x808c06400] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Sep 18, 2016 21:47:20.345 [0x808c06400] DEBUG - HTTP 401 response from GET http://127.0.0.1:32400/library/changestamp
Sep 18, 2016 21:47:20.345 [0x808c06400] ERROR - downloadContainer: expected MediaContainer element, found html
Sep 18, 2016 21:47:20.345 [0x808c06400] ERROR - Exception inside transaction (inside=1) (../Library/MetadataItem.cpp:2636): Unable to allocate a changestamp from the server

I am running this in a freenas jail by the way.

Any help is much appreciated, thank you!

PMS shows no files on TV (all files detected correctly)

$
0
0

Hello,

my PMS scans all my video files (movies, tv show, camera footage) and catalogises them into library correctly (I can see them in web gui and in BubbleUPNP). When I open UPNP/DLNA devices on my LG TV it shows PMS but when I try to open it there is nothing (with text - this folder seems to be empty - in my language).

If I try to open my library in BubleUPNP (android app) I see all my files correctly and can play them - I can play them even on the mentioned TV (if I chose it as renderer in the BubbleUPNP).

The same setup worked before and my TV was albe to browse PMS Library without problem. Only one thing happend - update of my debian server and PMS itself.

There is nothing in logs, no errors, just regular stuff. Am I doing something wrong ? Should I setup something diferrently ?

Thanks for help

Viewing all 7311 articles
Browse latest View live


Latest Images

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