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

anyone running plex (not openpht) on odroid?

$
0
0

is this being done? I've a c2 and a terabyte drive attached. I doubt there is a deb available, I'd be happy to work with a tarball and a readme. Anyone?


Some photos not arranged by name

$
0
0

Hello,

I've got Plex (Version 1.7.5.4035 on Ubuntu) set up to show photos by folder, by name, or at least I think I do.

Yet, I've got a few instances where some of the photos are being displayed out of sequence, and I can't figure out what is causing it. Most of the images are in the correct order, as their filename would indicate, but a couple are not. Why?

BTW, this can be observed on all the devices accessing this Plex server instance... Roku, Android, Windows web browser, etc.

Ubuntu Plex Server takes a while to stop

$
0
0

I've been having some trouble with my Plex server recently and I noticed that it seems to take a minute or two to stop running when I turn the service off. Any advice?

sudo service plexmediaserver status
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Wed 2018-01-03 12:28:30 MST; 11s ago
Process: 1126 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server" (code=killed, signal=TERM)
Process: 1119 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" (code=exited, status=0/SUCCESS)
Main PID: 1126 (code=killed, signal=TERM)

Jan 03 12:24:15 ubuntu sh[1126]: Sqlite3: Sleeping for 200ms to retry busy DB.
Jan 03 12:24:15 ubuntu sh[1126]: Sqlite3: Sleeping for 200ms to retry busy DB.
Jan 03 12:24:27 ubuntu sh[1126]: Sqlite3: Sleeping for 20GUI: Scanning IMG_20130120_210706
Jan 03 12:25:12 ubuntu sh[1126]: GUI: Scanning IMG_20130120_210805
Jan 03 12:25:56 ubuntu sh[1126]: GUI: Scanning IMG_20150810_182025
Jan 03 12:27:00 ubuntu systemd[1]: Stopping Plex Media Server for Linux...
Jan 03 12:28:30 ubuntu systemd[1]: plexmediaserver.service: State 'stop-final-sigterm' timed out. Killing.
Jan 03 12:28:30 ubuntu systemd[1]: Stopped Plex Media Server for Linux.
Jan 03 12:28:30 ubuntu systemd[1]: plexmediaserver.service: Unit entered failed state.
Jan 03 12:28:30 ubuntu systemd[1]: plexmediaserver.service: Failed with result 'timeout'.

Unable to add remote server.

$
0
0

Howdy! Long time lurker here.

I've got two servers, one local and one on a remote Ubuntu box. The local one works great and is the envy of my peers.

I can get the remote server up, running & accessible, but it appears to be running as a web client only, able to access my local server.
I can't find the option to start it as its own server instance or add files.
I do see the ability to add files to the library, but that only sees files on my local server.

I've attempted to reinstall & reinstall + nuke .plexconfig, and have not had any success.

The only non-debug item in the logs is:
Feb 06, 2018 09:56:04.921 [0x7fe5d0fff700] WARN - NAT: PMP, got an error: Not Supported by gateway.

Any idea on what I'm doing wrong here?

why does plex sends multicast packets when DLNA&GDM are disabled?

$
0
0

It's not much, one every 10s
14:53:40.745628 IP 172.19.0.7.47618 > 239.255.255.250.1900: UDP, length 94
14:53:50.745623 IP 172.19.0.7.47618 > 239.255.255.250.1900: UDP, length 94
14:54:00.745623 IP 172.19.0.7.47618 > 239.255.255.250.1900: UDP, length 94
And the port it`s manually specified, so upnp shouldn't be used
am i missing something?

PMS Unavailable

$
0
0

Hi

I've installed and configured PMS on an Ubuntu 16.0.4 machine such that everything works accordingly from that machine.

However, the server appears unavailable from a Windows machine on the same, local network.

I've a feeling that I've missed something obvious, and I do apologize if that is the case.

Thanks in advance.

b

Why does Chromecast transcode when using app, but direct play when using web interface?

$
0
0

I recently set up my Plex Media Server on a Raspberry Pi (running Ubuntu MATE) connected to my local network. When I start casting to my Chromecast (same network), I encounter some problems. If I initiate the cast from the Pi server itself (web interface), the quality is perfect, no problems at all, but when I initiate a cast of the same file using the Plex Android app, the quality is atrocious and can barely stream at all. Why is this? Clearly there is no issue with the file itself since it can cast fine in some circumstances. There is no Original Quality option that I can find in the Quality settings on the Android app, so I've set everything to 20mbps or Maximum, but according to Plex documentation this shouldn't matter, as casting should automatically use original quality. Any help would be greatly appreciated.

Minimum requirements for a Linux Mini PC running Plex Media Server fluidly

$
0
0

I'm looking for hardware requirements to build a "cheap" home PC able to fluidly run a Plex Media Server.
I need to stream typically a single stream 4K x265, occasionally 2 (probably not both 4K but 1080p).
My Samsung TV (Tizen) currently supports x265/HVEC streaming so transcoding isn't mandatory but it would probably be useful in the near future.

I'm temporarily using a RaspberryPi2 with OSMC but it is definitely limited, navigating menus, changing audio/subtitles and moving forward/backward is very slow and it often crashes or makes subtitles out of sync.

I would prefer an Intel processor (no Arm), what hardware would you suggest?
An Intel Atom x5-Z8350 or an Intel Celeron N4200 could be enough or it could be need something more powerful like an intel i3/i5? In case, which generation you suggest?

Thanks in advance to all who will help.


Never finds files and never doesn't delete library

$
0
0

I've just installed Plex Media Server on Linux Kubuntu 17.10.

I added a library with 1 regular video file as Other videos, but Plex didn't find any files.
All permissions are fine, I've double checked it.
Then I forced its re-scanning but it has never ended, showing me circling the thing.
Then I decided to delete this library, and got infinite delete dialog.

https://i.gyazo.com/ac0d696f14a545a5fb101f7f41f6cadb.png

Any ideas?

What Language should I select?

$
0
0

When adding a directory with files I have to select some Langauge, but since I have a mix of languages there I can't select really some specific language, right? And there is not AUTO or something in the list. So I just wonder - why should I set any? For what purpose is it used? Thanks.

Restarted server, and Claim Server button doesn't work.

$
0
0

Because I can't delete a library (it hangs forever) I decided to just restart the server. Now I can't claim server anymore.

PMS Keeps crashing

$
0
0

Hi im running plex on ubuntu 14.04
everything was fine until i upgraded, then it just crashes

i tried downgrading

still crashes

any help would be great
m

Force thumbnail update

$
0
0
After adding a section and scanning I realised there was a default thumbnail.jpg in the folder and all the movies took it as their thumbnail. I've now removed the thumbnail.jpg and any new movies added get their proper thumbnails.
(It might have been called something else, maybe folder.jpg, can't remember now it's deleted. It was put there for XBMC and Plex used to ignore it but an update changed it to force it to be used as the default thumbnail)

My problem is I have about 200 films which have this wrong default thumbnail. I've tried rescanning the films and even removing the section completely via the media manager and adding it again but the films all come back with the same default thumbnail even though it was deleted.
It looks like the film data is being kept somewhere even though I deleted the section.

Anyone have any ideas on how I can fix this?

Issues with episodes not being picked up

$
0
0

Hello everyone, I'm having an issue where several episodes of TV shows aren't being picked up by the plex media scanner. Maybe you folks can help.

For one example, the show "Steven Universe" is complete on my filesystem. In Season 2, the first few episodes aren't showing up. Some ls -l output:

plex@lateralus:/saspool1/tv/Steven Universe/Season 2$ ls -l S02E0
-rw-rw-r-- 2 plex plex 702020216 Dec 26 15:04 Steven Universe - S02E01 - Full Disclosure Bluray-1080p Proper.mkv
-rw-rw-r-- 2 plex plex 1166108471 Dec 26 15:04 Steven Universe - S02E02 - Open Book Bluray-1080p Proper.mkv
-rw-rw-r-- 2 plex plex 710411009 Dec 26 15:04 Steven Universe - S02E03 - Joy Ride Bluray-1080p Proper.mkv
-rw-rw-r-- 2 plex plex 702020216 Dec 26 15:04 Steven Universe - S02E04 - Say Uncle Bluray-1080p Proper.mkv
-rw-rw-r-- 2 plex plex 1166108471 Dec 26 15:04 Steven Universe - S02E05 - Story for Steven Bluray-1080p Proper.mkv
-rw-rw-r-- 2 plex plex 710411009 Dec 26 15:04 Steven Universe - S02E06 - Shirt Club Bluray-1080p Proper.mkv
-rw-rw-r-- 1 plex plex 668340578 Dec 26 15:04 Steven Universe - S02E07 - Love Letters Bluray-1080p Proper.mkv
-rw-rw-r-- 1 plex plex 1528571589 Dec 26 15:04 Steven Universe - S02E08 - Reformed Bluray-1080p Proper.mkv
-rw-rw-r-- 1 plex plex 1506905502 Dec 26 15:04 Steven Universe - S02E09 - Sworn to the Sword Bluray-1080p Proper.mkv

As you can see above, the files S02E01 through S02E03 are in the directory. For some reason they aren't showing up within plex:

I run everything as user 'plex'. I have my open file limit upped to 4096, and lsof output shows a peak working set of open files well under 2000 while I've tried to troubleshoot this.

I have tailed out a portion of the media scanner logs that contains the attempt to scan these "missing" episodes (attached). Maybe someone can tell me what's going on here.

I've tried moving the entire Steven Universe directory out, letting a rescan remove it completely from plex, then moved it back, waited for a rescan to happen, and the same episodes came up missing. I've tried changing the agent from thetvdb to the movie database and back again, but to no avail. Those three episodes in season 2 refuse to be listed despite the fact that they are definitely on the filesystem. They play outside of plex flawlessly.

This is one example of a show that's missing episodes within Plex when it seems to exist on the filesystem. I'm certain others exist on my plex instance as it's quite large (>100TB zfs volume). Rescanning the library seems to have no effect and still misses these episodes.

Any suggestions? I'm wondering how many episodes are actually "missing" from plex that are living happily on my filesystem right now.

Thanks in advance.

Update Script Plexmediaserver Centos 7

$
0
0

After you have downloaded the update file to your home dir, you can create this simple script to update, start, and cleanup the update.

Update plexmedia server

cd ~/
yum localinstall plexmediaserver-* -y
service plexmediaserver start
service plexmediaserver status
read -n 1 -s -r -p "Press any key to continue"

Cleanup install files

rm plexmediaserver-*
read -n 1 -s -r -p "Update and cleanup complete, Press any key to exit"


Plex buffering on Clients

$
0
0

Hi there. So recently My Plex Media Server have started buffering very often on clients. Computer / Chromecast etc. My Plex Media Server is in a remote location, so streaming happens over the internet.

It can play fine for 30min, and then suddenly it starts bufffering for 5 sec, then plays 1 sec, buffers 5 sec plays 1sec and so on. I have attached the logs.

Hardware Transcoding - HW decoding of 10bit HEVC does not work

$
0
0

Plex 1.9.3.4290
i5 Kably Lake NUC - 16.04 LTS Server
Plex Docker

Decoding works on regular HEVC and h264 just fine

This issue also existed in the preview and was reported, so I suspect there might be a reason?

Opensuse: journalctl log showing multiple "sh[]: GUI: Scanning"

$
0
0

Running Opensuse with plex media server 1.9.5
I've been seeing multiple instances of this line, and it's constant: -

Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-52-38
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-53-04
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-53-35
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-54-24
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-54-51
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-55-21
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-56-05
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-56-33
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-57-40
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-58-07
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-58-38
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-59-08
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 13-59-52
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 14-00-29
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning
Oct 25 14:02:02 hostname sh[2911]: GUI: Scanning 2017-10-24

and looking for process 2911, I see that it is plex: -

plex 2911 1 1 Oct19 ? 02:09:45 /usr/lib/plexmediaserver/Plex Media Server

Can someone please explain what is happening is it normal, as this appears over and over in syslog (journal)?

[Docker on Ubuntu 16.04] Plex not recognizing any servers

$
0
0

Hello,

I'm trying to run plex on a bare metal server in the cloud with docker. I'm setting up docker with ansible and ran this setup for a longer timer on a server at home with no issues at all.

I tried host and bridge networking and nothing is working.

The startup log is the following:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 40-plex-first-run: executing...
Creating pref shell
Attempting to obtain server token from claim token
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     1  100     1    0     0      1      0  0:00:01 --:--:--  0:00:01     1
Plex Media Server first run setup complete
[cont-init.d] 40-plex-first-run: exited 0.
[cont-init.d] 50-plex-update: executing...
[cont-init.d] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Starting Plex Media Server.

my config:

- name: setup plex docker container
  docker_container:
    name: plex
    image: plexinc/pms-docker:latest
    network_mode: bridge
    ports:
      - 32400:32400/tcp
      - 3005:3005/tcp
      - 8324:8324/tcp
      - 32469:32469/tcp
      - 1900:1900/udp
      - 32410:32410/udp
      - 32412:32412/udp
      - 32413:32413/udp
      - 32414:32414/udp
    volumes:
      - "/data/plex/config:/config"
      - "/data/plex/transcode:/transcode"
      - "/data/plex/media:/data"
    env:
      PLEX_CLAIM: "<CLAIM TOKEN HERE>"
      TZ: "Europe/Brussels"
      ADVERTISE_IP: "http://<ip here>:32400/"
      HOSTNAME: "PlexFraise"
    hostname: "PlexFraise"
    recreate: yes
    state: started

I also included the logs down below which lists some errors but not breaking one's I think.
I can reach the webpanel on my ip but the server is not to be found.

Plex server web interface constantly hanging with tuner configured

$
0
0

I recently bought an hdhomerun for my plex server and it seemed to work great for about 24hrs. After that the server keeps crashing. If you check the service it still says its running but you cannot load the web interface.

I have removed the Tuner to see if it will re stabilize

Viewing all 7311 articles
Browse latest View live


Latest Images

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