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

Ubuntu on Virtualbox w/ shared folders ~ sqlite mmap error

$
0
0

Hi there, 

 

I'm trying to run Plex inside of a virtualbox Ubuntu machine. I have the 'Plex Media Server' directory mapped onto a shared folder. When starting plex, I'm getting errors... Is there anything that I'm doing wrong here? Or is this just a case of Plex depending on sqlite which seems to not enjoy a db being mounted on a virtualbox shared folder?

Jun 05, 2015 14:12:40 [0x7f43d7c39800] INFO - Plex Media Server v0.9.12.1.1079-b655370 - ubuntu PC x86_64 - build: linux-ubuntu-x86_64 ubuntu
Jun 05, 2015 14:12:40 [0x7f43d7c39800] DEBUG - Opening 20 database sessions to library, SQLite 3.8.9, threadsafe=1
Jun 05, 2015 14:12:40 [0x7f43d7c39800] ERROR - SQLITE3:0x10, 5386, os_unix.c:29880: (22) mmap(/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-shm) - Invalid argument
Jun 05, 2015 14:12:40 [0x7f43d7c39800] ERROR - SQLITE3:0x10, 5386, disk I/O error
Jun 05, 2015 14:12:40 [0x7f43d7c39800] ERROR - Database corruption: sqlite3_statement_backend::prepare: disk I/O error for SQL: PRAGMA cache_size=4000
Jun 05, 2015 14:12:40 [0x7f43d7c39800] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: disk I/O error for SQL: PRAGMA cache_size=4000

Thanks in advance for any help!


Issue with Plex and Seagate Personal Cloud

$
0
0

Hi,

I have an 8TB Seagate Personal Cloud with RAID enabled so that I have 4 TB of actual storage. I just installed Plex on the Personal Cloud through the Personal Cloud Applications section. The Personal Cloud now shows Plex is installed. I then installed the Plex app on my Apple TV, and associated the Apple TV app with my Plex account by using a browser. All of this works fine. Then, the Apple TV Plex app recognized my Personal Cloud. However, when I selected my Personal Cloud, I received a "Server unavailable" message. I have retried several times, and am continuing to get the same message. Does anyone know how to address this issue?

Thanks in advance!

Steve

FIleNames

$
0
0

so i have run into an interesting problem. i have a few movies that i cant seem to figure out how to name. movies like lion King 1 1/2 or The Naked Gun 2 1/2. i cant name them as such because the / is not allowed as it marks directories and things like 2.5 dont scrape correctly. what are peoples solutions to this problem as of now?

 

--Mike Schmitz

PMS Coded error after 1.7.3.3937 upgrade

$
0
0

There seems to be a problem with the new PMS update 1.7.3.3937. After upgrading the server cannot obtain codes and so fails to transcode any content.

Error at transcoding on Plex Web is:

Conversion failed. A required codec could not be found or failed to install

I am able to download the codecs to the server manually via the url in the log. So the plex servers seems to be up and running.
Direct Stream via Windows App is working.

relevant Lines from the logs seems to be:

Jun 14, 2017 12:21:52.893 [0x7f6c033ff700] DEBUG - HTTP 201 response from POST https://plex.tv/servers.xml?auth_token=xxxxxxxxxxxxxxxxxxxx&async=1&asyncIdentifier=78f14815-819f-4c00-ac12-e3c28a039255
Jun 14, 2017 12:21:52.894 [0x7f6c033ff700] DEBUG - MyPlex: Published Mapping State response was 201
Jun 14, 2017 12:21:52.894 [0x7f6c033ff700] ERROR - XML: Entity: line 1: 
Jun 14, 2017 12:21:52.894 [0x7f6c033ff700] ERROR - XML: parser 
Jun 14, 2017 12:21:52.894 [0x7f6c033ff700] ERROR - XML: error : 
Jun 14, 2017 12:21:52.894 [0x7f6c033ff700] ERROR - XML: Start tag expected, '<' not found
Jun 14, 2017 12:21:52.894 [0x7f6c033ff700] ERROR - XML:  
Jun 14, 2017 12:21:52.894 [0x7f6c033ff700] ERROR - XML:  ^
Jun 14, 2017 12:21:52.894 [0x7f6c033ff700] ERROR - Error parsing content.
Jun 14, 2017 12:21:52.895 [0x7f6c033ff700] ERROR - MyPlex: Error parsing XML:

Jun 14, 2017 12:22:56.809 [0x7f6c0bfff700] ERROR - Error issuing curl_easy_perform(handle): 28
Jun 14, 2017 12:22:56.809 [0x7f6c0bfff700] DEBUG - HTTP simulating 408 after curl timeout
Jun 14, 2017 12:22:56.813 [0x7f6c0bfff700] ERROR - Codecs: Download failed: Failed to download 'https://downloads.plex.tv/codecs/271ddd5-1239/linux-ubuntu-x86_64/libh264_decoder.so': 408
Jun 14, 2017 12:22:56.813 [0x7f6c0bfff700] ERROR - Error configuring transcoder: Decoder install failed: h264`

I already restarted Plex and the server itself. Its working behind ufw but I disabled it temporarily for debuggin. Remote Access is working perfectly fine. I tried to force the download be reanalyzing a h264 encoded video file. No error.
PMS is running on Ubuntu 16.04 Server LTS. 16 GB DDR4 RAM. Xeon E5-2630v4.

best regards
spigandromeda

Moved: Issue with Plex and Seagate Personal Cloud

Dolby ATMOS Trailer stutters even after transcoding or optimization

$
0
0

Hi all,

I've been running a few different Dolby ATMOS Trailers prior to the start of new movies and lately a few of them, namely Conductor (Lossless-ATMOS), Leaf (Lossless-ATMOS), and Unfold (Lossless-ATMOS) work flawlessly via the Web Client, however, on my Apple TV 4, they will play for 10 or so seconds and then stutter or quit, regardless if I choose original or convert automatically. Amaze (Lossless-ATMOS) and Silent (Lossless-ATMOS) work fine on the Apple TV 4, for what it's worth.

I've heard that the Apple TV 4 has a few known playback issues, however, these are the only three that I've had an issue with yet. Any direction on where I should look in the logs or the video files themselves would be a great help.

Thanks in advance!

Cheers,
Kyle

/etc/systemd/system/plexmediaserver.service.d/override.conf got corrupted on upgrade somehow

$
0
0

The parameters for user and group got screwy, they looked like this:
User=
new_plex_username
plex
Group=
new_plex_group
plex

This caused the postinst script inside the install deb file, to not find any username when grepping override.conf.

I had to manually edit this file back to normal. I had set a custom user (that wasn't even in override.conf it seems) in /etc/defaults/plexmediaserver at some point. That may be related.

Nginx reverse proxy and Plex media server

$
0
0

Hi all,
I read lots os posts on the topic of reverse proxying to PMS using Nginx. I use Nginx to access many services remotely with only one public IP. It took me a few hours to work out how to get PMS to ply nice with Nginx. Bellow is the config that worked. I hope this helps someone out.

Kind Regards,
Simon

#

Nginx reverse proxy settings

#

Redirect any port http/80 requests, to https/443

server {
listen 80;
server_name nginx.example.com, 172.16.10.1; #IP of Nginx Server
return 301 https://$host$request_uri;
}

Return 404 page if requesting the root url of Nginx server

server {
listen 443 ssl;
server_name nginx.example.com, 172.16.10.1; #IP of Nginx Server
ssl on;
ssl_certificate /path/to/your/cert.crt;
ssl_certificate_key /path/to/your/cert.key;
ssl_dhparam /path/to/your/dhparam.pem;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:60m;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers 'AES256+EECDH:AES256+EDH:!aNULL';
location / {
return 404;
}
}

Plex Media Server, browsable at https://plex.example.com

server {
listen 443 ssl;
server_name plex.example.com;
ssl on;
ssl_certificate /path/to/your/cert.crt;
ssl_certificate_key /path/to/your/cert.key;
ssl_dhparam /path/to/your/dhparam.pem;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:60m;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers 'AES256+EECDH:AES256+EDH:!aNULL';
location / {
proxy_pass http://192.168.1.100:32400; #IP of Plex Media Server
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_cookie_path /web/ /;
access_log off;
}
}


media server

Cannot Get Remote Access to Work

$
0
0

Hi,
I have been struggling most of the day trying to get Remote Access to work on a previously stable PMS installation.
The connection comes up for a few seconds and then drops again, this was working perfectly 8 hours ago and then just stopped.
Any ideas?
Thanks
Philip

Sync Transcoder not doing work in the /transcode mount as directed

$
0
0

I am running plex server unbuntu 1.7.2

I have a mount in mnt/transocde that points to a seperate disk via smb than my plex VM for transcode..

the DVR and I believe on the fly transcode was working there..

doing some syncs today however I noticed something very odd...

the mount was not getting larger during the sync transcode, some folders were being hit.. but on the main VM (i.e. the plex media server transcode/cache/Sync+ folder is where the file was ending up instead of the transcode staying in the smb transcode folder?

What gives... any fix here or is this just a plex bug to be fixed...

thanks

Slow buffring with subs form Opensubtitles

$
0
0

I just configured subtitles for my PlexMedia server, It's ruling on an old laptop that i have installed Linux on, everything works fine it starts playing directly when I click on the movie, but recently i decided to fix automatic subs from Opensubtitles, I change the language and added my login, but when I went to play a movie it took 15- 20 sec to buffer in, the movie also stopped while playing to buffer, is there any fix for this? I mean sending subs to the client can't take that much performance. I havent tried local srt's but i do not want tyo use that.

Should a Raspberry Pi 3 running PMS be able to handle audio transcoding without hiccups?

$
0
0

Not sure if this is the best place to post this question since it's a Rasplex, but I don't know a better place, so I'm giving it a shot.

First, my setup: I have a Roku 3 running the latest (May 9 I believe) firmware. I run a Plex server on my raspberry pi 3 (also latest version), and host the media files on a Synology DS214se NAS. All of these devices are connected via ethernet to my apartment LAN.

For reasons that escape me, I simply CANNOT get anything other than the first audio stream on any media file to direct play or direct stream on my Roku. I know that a Roku can't see secondary audio streams, so Plex has to trick it by remuxing a different audio stream in to the container. In theory, for AAC streams, all this should require is for the video stream and audio stream to be copied into the container with no additional transcoding. In practice, these audio streams are always transcoded, and for some even weirder reason, so is the video stream. The Rpi3 can't handle this at all, and I get significant buffering every 30 sec or so whenever video transcoding happens with a DVD rip. If switch to an AC3 5.1 stream, the video doesn't transcode, but the audio does (don't ask me why the video doesn't transcode too). Unfortunately, even when it's just an audio stream, the RPi3 can't keep up without buffering every couple of minutes. When I run a "top" command on the PMS server, I can confirm that a Plex process is pegging the CPU (although oddly enough, there's a process called "Easy Audio Encode"--presumably doing the audio transcoding--which only consumes about 10% CPU).

I've spent quite a bit of time trying to figure out why unnecessary transcoding is happening, but that's not the purpose of my post. I'm posting because I'm a bit surprised that an RPi3 can't even handle the audio transcoding, especially since I've seen a lot of anecdotal evidence on the internet that people have been able to run PMS on even a RPi2 with no issues. Of course, I'm wondering if these people are just playing files that direct play or direct stream with absolutely no transcoding. Anybody else running PMS on an RPi3 and able to successfully transcode audio without buffering?

[CentOS 7] Plex's External Port Reporting Insecure Cipher Suites

$
0
0

I am a little paranoid about my WAN exposure, so I scanned my external IP with OpenVAS. The port that Plex is NAT'd to in my firewall was flagged as a vulnerability for accepting insecure cipher suites. It appears that Plex not only accepts TLS v1.0, but more importantly also accepts 3DES ciphers.

I am running the latest version of Plex at the time of writing (1.5.5.3634) as well as the latest version of CentOS 7 (7.3 1611). I looked around in the Plex Media Server files but nothing caught my eye as far as modifiable configuration files. Is there a way to set the allowable cipher suites, like NGINX or Apache? Or will is this only fixable by an update? Alternatively, am I being way too paranoid about it?

Plexmediaserver has filled my root partition

$
0
0

I've had Plex Media Server running on Fedora 22 for quite awhile now, and update it frequently when new versions are available. I can no longer update though because my root partition is about 100% full. From what I can tell Plex is now using /var/lib/plexmediaserver is using around 25GB of space.
Transcode is a separate disk.
Media is stored on a NAS mounted as NFS.

Why is Plex using so much space? Is there a way I can reduce the usage? Or am I stuck creating a new VM with more space (and recreating all my libraries again)?

[root@plex /]# du -m /var | sort -nr | head -30
29442 /var
25878 /var/lib
25657 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server
25657 /var/lib/plexmediaserver/Library/Application Support
25657 /var/lib/plexmediaserver/Library
25657 /var/lib/plexmediaserver
21462 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost
21462 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media
3021 /var/log
2961 /var/log/journal/2b183e7150804d51ac69ac149f5f4bcb
2961 /var/log/journal
1936 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache
1883 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/PhotoTranscoder
1857 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata
1795 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Movies
1672 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/1
1590 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/9
1569 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/0
1510 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/b
1441 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/a
1434 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/4
1344 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/e
1332 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/2
1288 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/d
1270 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/5
1246 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/6
1224 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/f
1215 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/3
1152 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/c
1131 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/7

[root@plex /]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 184K 3.9G 1% /dev/shm
tmpfs 3.9G 1.4M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/mapper/fedora-root 36G 34G 308M 100% /
tmpfs 3.9G 160K 3.9G 1% /tmp
/dev/sdb1 118G 2.6G 110G 3% /mnt/transcode
/dev/sda1 477M 133M 315M 30% /boot
//192.168.1.35/temp 7.0T 22G 6.9T 1% /nas/temp
192.168.1.35:mnt/VOL0/Videos 9.5T 2.6T 6.9T 27% /nas/video


Incorrect external IP

$
0
0

It seems that my Synology Plex server is remembering an old static IP had about a year ago. The static IP was changed, and whatismyip.com reports the new IP. But the server insists to use the old external IP.

Is there any way to change this? I am on the latest server version.

Cannot sync from Raspberry Pi

$
0
0

Hi, I don't know if this is the right place to post, if it isn't feel free to move the post in another section...
I've installed Plex Media Server on my Raspberry Pi 2 Model B+, with Docker, because I didn't manage to install it with a normal Debian package.
I can access all my media on the devices while they're connected to Internet, so the server (I think that) is working right. However, when I attempt to sync my libraries with another device - be it my Honor 8 Pro with Android or my iPod touch 6G, even if I'm in the same network of the Raspberry Pi I can't manage to sync the songs.
I've tried everything that is possible: reinstall the application on the clients, restart the RPi, sync only 10 then 5 then 1 song at a first time... no results. The result is almost always the same: it says that it's waiting for the server, or that there was an error in syncing but I can't see what kind of error, or it begins syncing but at the end of the sync there is no song in my iPod.
Of course I'm on Plex Pass.
How could I solve my problem? Thanks in advance.

Plex stopped working

$
0
0

I've had Plex running on my PC for a long time, maybe a year or two? I did the latest upgrade, and now when I bring up Plex in my browser, it just sits and spins and says it's looking for servers. Plex and all my media are on the same machine. I've tried uninstalling and reinstalling Plex. It's like it doesn't know it's the media sever. The home screen even tells me I need to install the Media Server. I'm kind of at a loss for even where to start. Anyone able to point me in the right direction?

QUESTION - Rapsberry Pi - Not enough disk space to convert this item

$
0
0

I have a Raspberry Pi 3 with Plex installed, using a portable hard drive. I tried watching a movie on the web app from my phone and work laptop and getting an error message saying there "there is not enough disk space to convert this item". I figured out that there has to be a certain amount of disk space for files to transcode. My plan was to delete some movies off my hard drive to open up space.

My question is do I need to tell Plex to use the hard drive as the temporary transcode location? Or can I just delete a bunch of movies and it will automatically use that?

sh: line 1: 2631 Segmentation fault (core dumped) ./'Plex Media Server' > /dev/null 2>&1

$
0
0

Version 1.7.3.3937 PLEX crashing with this error: sh: line 1: 2631 Segmentation fault (core dumped) ./'Plex Media Server' > /dev/null 2>&1. I been having nothing but troubles with this version, with the DVR and now this error.

Viewing all 7311 articles
Browse latest View live


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