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

[Fedora 24] plexmediaserver.service fails to start

$
0
0

I just installed plexmediaserver 0.9.16.6.1993-5089475 onto a fresh Fedora 24 Server. It fails to start using systemd with:

Jun 20 21:44:50 meerkat sh[29051]: /usr/lib/plexmediaserver/Plex Media Server: error while loading shared libraries: libboost_system.so.1.59.0: cannot open shared object file: No such file or directory
Jun 20 21:44:50 meerkat systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=127/n/a

I edited plexmediaserver.service to print the env before attempting to execute Plex Media Server. For some reason, LD_LIBRARY_PATH isn't getting exported through the Environment= statement within the Unit. As you can see here:

Jun 20 21:44:50 meerkat sh[29051]: SHELL=/sbin/nologin
Jun 20 21:44:50 meerkat sh[29051]: PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
Jun 20 21:44:50 meerkat sh[29051]: LC_ALL=en_US.UTF-8
Jun 20 21:44:50 meerkat sh[29051]: USER=plex
Jun 20 21:44:50 meerkat sh[29051]: PLEX_MEDIA_SERVER_TMPDIR=/tmp
Jun 20 21:44:50 meerkat sh[29051]: PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
Jun 20 21:44:50 meerkat sh[29051]: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
Jun 20 21:44:50 meerkat sh[29051]: PWD=/
Jun 20 21:44:50 meerkat sh[29051]: LANG=en_US.UTF-8
Jun 20 21:44:50 meerkat sh[29051]: SHLVL=1
Jun 20 21:44:50 meerkat sh[29051]: HOME=/var/lib/plexmediaserver
Jun 20 21:44:50 meerkat sh[29051]: LOGNAME=plex
Jun 20 21:44:50 meerkat sh[29051]: PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support
Jun 20 21:44:50 meerkat sh[29051]: _=/usr/bin/env
Jun 20 21:44:50 meerkat sh[29051]: /usr/lib/plexmediaserver/Plex Media Server: error while loading shared libraries: libboost_system.so.1.59.0: cannot open shared object file: No such file or directory
Jun 20 21:44:50 meerkat systemd[1]: plexmediaserver.service: Main process exited, code=exited, status=127/n/a

I verified this by changing the ExecStart= statement to /bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server'. Then the service starts successfully.

I'm not sure if this is a change in systemd that ships with Fedora or not.

systemd-229-8


Perpetual Database Corruption

$
0
0

It all starts with timeouts and retries...

Feb 08, 2016 20:57:32 [0x5d0d6400] WARN - Waited one whole second for a busy database.
Feb 08, 2016 20:57:35 [0x5d0d6400] ERROR - Failed to begin transaction (../Statistics/StatisticsManager.h:185) (tries=1): Cannot begin transaction. database is locked
Feb 08, 2016 20:57:38 [0x5d0d6400] WARN - Waited one whole second for a busy database.
Feb 08, 2016 20:57:41 [0x5d0d6400] ERROR - Failed to begin transaction (../Statistics/StatisticsManager.h:185) (tries=2): Cannot begin transaction. database is locked
Feb 08, 2016 20:57:45 [0x5d0d6400] WARN - Waited one whole second for a busy database.
Feb 08, 2016 20:57:50 [0x5d0d6400] ERROR - Failed to begin transaction (../Statistics/StatisticsManager.h:185) (tries=3): Cannot begin transaction. database is locked
Feb 08, 2016 20:57:51 [0x5d0d6400] WARN - Waited one whole second for a busy database.
Feb 08, 2016 20:57:54 [0x5d0d6400] ERROR - Failed to begin transaction (../Statistics/StatisticsManager.h:185) (tries=4): Cannot begin transaction. database is locked
Feb 08, 2016 20:57:54 [0x6d6ef400] WARN - Waited one whole second for a busy database.
Feb 08, 2016 20:57:56 [0x5ee22400] ERROR - BIF transcoder exited abnormally
Feb 08, 2016 20:57:58 [0x5d0d6400] WARN - Waited one whole second for a busy database.
Feb 08, 2016 20:58:01 [0x5d0d6400] ERROR - Failed to begin transaction (../Statistics/StatisticsManager.h:185) (tries=5): Cannot begin transaction. database is locked
Feb 08, 2016 20:58:04 [0x5d0d6400] WARN - Waited one whole second for a busy database.

Until PMS seemingly decides to time out waiting for lock and do something stupid anyway:

Feb 08, 2016 20:58:04 [0x5d0d6400] WARN - Took too long (1.030000 seconds) to start a transaction on ../Statistics/StatisticsManager.h:185
Feb 08, 2016 20:58:04 [0x5d0d6400] WARN - Transaction that was running was started on ../Statistics/StatisticsManager.h:185
Feb 08, 2016 20:58:04 [0x69212400] WARN - Took too long (0.690000 seconds) to start a transaction on ../../Library/MetadataItem.cpp:812
Feb 08, 2016 20:58:04 [0x69212400] WARN - Transaction that was running was started on ../Statistics/StatisticsManager.h:185
Feb 08, 2016 20:58:05 [0x653b3400] WARN - Took too long (0.640000 seconds) to start a transaction on ../../Library/MetadataItem.cpp:812
Feb 08, 2016 20:58:05 [0x653b3400] WARN - Transaction that was running was started on ../../Library/MetadataItem.cpp:812
Feb 08, 2016 20:58:13 [0x69212400] ERROR - SQLITE3:(nil), 11, database corruption at line 57498 of [8a8ffc862e]
Feb 08, 2016 20:58:13 [0x69212400] ERROR - SQLITE3:(nil), 11, statement aborts at 109: [update metadata_items set library_section_id=:metadata_items_library_section_id,parent_id=:metadata_items_parent_id,metadata_type=:metadata_items_metadata_type,guid=:metadata_items_gu
Feb 08, 2016 20:58:13 [0x69212400] ERROR - Exception inside transaction (inside=1) (../../Library/MetadataItem.cpp:814): sqlite3_statement_backend::loadOne: database disk image is malformed
Feb 08, 2016 20:58:13 [0x69212400] ERROR - * Error loading episode.
Feb 08, 2016 20:58:13 [0x5c712400] ERROR - BIF transcoder exited abnormally
Feb 08, 2016 20:58:14 [0x69212400] ERROR - SQLITE3:(nil), 26, statement aborts at 1: [BEGIN IMMEDIATE] file is encrypted or is not a database
Feb 08, 2016 20:58:14 [0x69212400] ERROR - Failed to begin transaction (../../Library/MetadataItem.cpp:812) (tries=1): Cannot begin transaction. file is encrypted or is not a database

And then the only cure is to restore from backup. But then it happens again because a small single core NAS isn't somehow magically going to get faster.

I've rolled back to a known good backup several times today, and every time a rescan kicks off, it all gets corrupted all over.

Plex is becoming increasingly unusuably broken.

At my Wits End

$
0
0

I'm still trying to wrap my head around this issue, but when I connected to another users share I setup a PIN number to move back in forth between the two, but when I went to remove the pin later because I I got tired of putting the code in, my account disappeared off of my PMS. Now I have a UNCLAIMED PMS that will not allow my to claim unless I was that other user or signed in as a Guest. I'm not sure what to do to correct this problem. Any help would be appreciated.

[Debian Jessie 8] pms failing to start

$
0
0

here is the output from systemctl status

cajunzman@Deathserver:~$ sudo systemctl status plexmediaserver -l
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/etc/systemd/system/plexmediaserver.service; enabled)
Active: failed (Result: start-limit) since Tue 2016-06-21 02:59:50 EDT; 1h 2min ago
Main PID: 1500 (code=exited, status=255)

Jun 21 02:59:45 Deathserver systemd[1]: plexmediaserver.service: main process exited, code=exited, status=255/n/a
Jun 21 02:59:45 Deathserver systemd[1]: Unit plexmediaserver.service entered failed state.
Jun 21 02:59:50 Deathserver systemd[1]: plexmediaserver.service start request repeated too quickly, refusing to start.
Jun 21 02:59:50 Deathserver systemd[1]: Failed to start Plex Media Server for Linux.
Jun 21 02:59:50 Deathserver systemd[1]: Unit plexmediaserver.service entered failed state.

ive had to reinstall twice now after a breaker poped and the the power went out. this time i trripped a breaker again so i upgraded the panel but i"m tired of having to reinstall plex i feel there's something else going on here.any help would be appreciated.

[Ubuntu 16.04] : Problem with playing MKV files after updating to plexmediaserver_0.9.16.6.1993-5089

$
0
0

After I have updated my Plex Media Server on Ubuntu 16.04 to version plexmediaserver_0.9.16.6.1993-5089475_amd64 all my movies are not playing at all devices. Here is example log information. Any idea what is the cause and how to fix it?

Thank you

Jun 21, 2016 11:47:25 [0x7fda3f7f6700] DEBUG - It took 0.0 sec to serialize a list with 1 elements.
Jun 21, 2016 11:47:25 [0x7fda633ff700] DEBUG - Completed: [127.0.0.1:40636] GET /library/metadata/3112 (13 live) GZIP 18ms 2318 bytes 200
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - MDE: analyzing media item 8223
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - MDE: 13 Hours: The Secret Soldiers of Benghazi (2016): Direct Play is disabled
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - MDE: 13 Hours: The Secret Soldiers of Benghazi (2016): media must be transcoded in order to use the hls protocol
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - MDE: 13 Hours: The Secret Soldiers of Benghazi (2016): selected audio stream is not the first audio stream and direct play$
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - MDE: 13 Hours: The Secret Soldiers of Benghazi (2016): selected subtitle cannot be converted to a compatible format, burni$
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - MDE: 13 Hours: The Secret Soldiers of Benghazi (2016): avoiding video remux due to burned subtitle stream
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - MDE: 13 Hours: The Secret Soldiers of Benghazi (2016): no remuxable profile found, so video stream will be transcoded
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - MDE: computed resolution bounding box of 1920x800.
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - Scaled up video bitrate to 13660Kbps based on 1.500000x fudge factor.
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - MDE: 13 Hours: The Secret Soldiers of Benghazi (2016): selected media 0 / 8223
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - Found session GUID of khkn8sijcx in session start.
Jun 21, 2016 11:47:25 [0x7fda4d7ff700] DEBUG - Using session GUID khkn8sijcx for new transcode session.
Jun 21, 2016 11:47:26 [0x7fda3fff7700] DEBUG - [CompanionProxy] player sdjg0vrvqej was last refreshed 0 seconds ago
Jun 21, 2016 11:47:36 [0x7fda3f7f6700] DEBUG - [CompanionProxy] player sdjg0vrvqej was last refreshed 0 seconds ago
Jun 21, 2016 11:47:45 [0x7fda3eff5700] DEBUG - Request: [192.168.0.54:61985] OPTIONS /:/timeline?ratingKey=3112&key=%2Flibrary%2Fmetadata%2F3112&state=error&playQueueIte$
Jun 21, 2016 11:47:45 [0x7fda633ff700] DEBUG - Completed: [192.168.0.54:61985] OPTIONS /:/timeline?ratingKey=3112&key=%2Flibrary%2Fmetadata%2F3112&state=error&playQueueI$
Jun 21, 2016 11:47:45 [0x7fda3e7f4700] DEBUG - Request: [192.168.0.54:61986] GET /:/timeline?ratingKey=3112&key=%2Flibrary%2Fmetadata%2F3112&state=error&playQueueItemID=$
Jun 21, 2016 11:47:45 [0x7fda3e7f4700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Jun 21, 2016 11:47:45 [0x7fda3e7f4700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Jun 21, 2016 11:47:45 [0x7fda3e7f4700] DEBUG - Client [hzj9r5m8t86] reporting timeline state error, progress of 2092955/8669586ms for guid=, ratingKey=3112 url=, key=/li$
Jun 21, 2016 11:47:46 [0x7fda3f7f6700] DEBUG - [CompanionProxy] player sdjg0vrvqej was last refreshed 0 seconds ago

Localhost access from SSH

$
0
0

Hi there,
I'm having troubles trying to directly connect to my Plex Media Server via SSH.

1 - I am using Putty to connect to my server from SSH.
2 - I would like to request http://127.0.0.1:32400/library/sections/
3 - I get error : 401 Unauthorized

Note: On my remote PMS settings page, I have set the authorized ip/subnet to : 127.0.0.1/255.255.255.255

Thank you for your help guys :)

Cannot get service to run on Fedora 24

$
0
0

Greetings, I just recently installed the most recent version of plex media server on my computer running fedora workstation 24 beta. I am having issues getting the service to run correctly. I have tracked it down in the logs and this is what is printed out. I am able to start the server just fine by running ./start.sh but not by sudo systemctl start plexmediaserver.

sh[8682]: /usr/lib/plexmediaserver/Plex Media Server: error while loading shared libraries: libboost_system.so.1.59.0: cannot open shared object file: No such file or directory

Here is the directory of /usr/lib/plexmediaserver:

-rwxr-xr-x. 1 root root 10420752 Apr 22 15:27 libavcodec.so.56
-rwxr-xr-x. 1 root root  1928664 Apr 22 15:27 libavformat.so.56
-rwxr-xr-x. 1 root root   341912 Apr 22 15:27 libavutil.so.54
-rwxr-xr-x. 1 root root  3878666 Apr 22 15:27 libboost_chrono.so.1.59.0
-rwxr-xr-x. 1 root root  2484308 Apr 22 15:27 libboost_filesystem.so.1.59.0
-rwxr-xr-x. 1 root root  1573492 Apr 22 15:27 libboost_iostreams.so.1.59.0
-rwxr-xr-x. 1 root root  4963859 Apr 22 15:27 libboost_locale.so.1.59.0
-rwxr-xr-x. 1 root root  5702819 Apr 22 15:27 libboost_program_options.so.1.59.0
-rwxr-xr-x. 1 root root  5297804 Apr 22 15:27 libboost_regex.so.1.59.0
-rwxr-xr-x. 1 root root  1123625 Apr 22 15:27 libboost_signals.so.1.59.0
-rwxr-xr-x. 1 root root   984782 Apr 22 15:27 libboost_system.so.1.59.0
-rwxr-xr-x. 1 root root  3865292 Apr 22 15:27 libboost_thread.so.1.59.0
-rwxr-xr-x. 1 root root   353144 Apr 22 15:27 libboost_timer.so.1.59.0
-rwxr-xr-x. 1 root root  2670170 Apr 22 15:27 libcrypto.so.1.0.0
-rwxr-xr-x. 1 root root   396549 Apr 22 15:27 libcurl.so.4
-rwxr-xr-x. 1 root root   671051 Apr 22 15:27 libdcadec.so
-rwxr-xr-x. 1 root root   321083 Apr 22 15:27 libexpat.so.1
-rwxr-xr-x. 1 root root   206622 Apr 22 15:27 libexslt.so.0
-rwxr-xr-x. 1 root root 11001883 Apr 22 15:27 libfreeimage.so
-rwxr-xr-x. 1 root root    76942 Apr 22 15:27 libgnsdk_correlates.so.3.07.7
-rwxr-xr-x. 1 root root  5175656 Apr 22 15:27 libgnsdk_dsp.so.3.07.7
-rwxr-xr-x. 1 root root   235845 Apr 22 15:27 libgnsdk_link.so.3.07.7
-rwxr-xr-x. 1 root root  1903655 Apr 22 15:27 libgnsdk_lookup_local.so.3.07.7
-rwxr-xr-x. 1 root root   678234 Apr 22 15:27 libgnsdk_lookup_localstream.so.3.07.7
-rwxr-xr-x. 1 root root  3252630 Apr 22 15:27 libgnsdk_manager.so.3.07.7
-rwxr-xr-x. 1 root root   187351 Apr 22 15:27 libgnsdk_moodgrid.so.3.07.7
-rwxr-xr-x. 1 root root  1600500 Apr 22 15:27 libgnsdk_musicid_file.so.3.07.7
-rwxr-xr-x. 1 root root   311665 Apr 22 15:27 libgnsdk_musicid_match.so.3.07.7
-rwxr-xr-x. 1 root root  1471480 Apr 22 15:27 libgnsdk_musicid.so.3.07.7
-rwxr-xr-x. 1 root root   234475 Apr 22 15:27 libgnsdk_musicid_stream.so.3.07.7
-rwxr-xr-x. 1 root root   447434 Apr 22 15:27 libgnsdk_playlist.so.3.07.7
-rwxr-xr-x. 1 root root   205488 Apr 22 15:27 libgnsdk_rhythm.so.3.07.7
-rwxr-xr-x. 1 root root   805820 Apr 22 15:27 libgnsdk_storage_sqlite.so.3.07.7
-rwxr-xr-x. 1 root root   451279 Apr 22 15:27 libgnsdk_submit.so.3.07.7
-rwxr-xr-x. 1 root root   359873 Apr 22 15:27 libgnsdk_video.so.3.07.7
-rwxr-xr-x. 1 root root  1147473 Apr 22 15:27 libiconv.so.2
-rwxr-xr-x. 1 root root   277135 Apr 22 15:27 libidn.so.11
-rwxr-xr-x. 1 root root  2078398 Apr 22 15:27 libjemalloc.so.1
-rwxr-xr-x. 1 root root    68569 Apr 22 15:27 liblrc.so.0
-rwxr-xr-x. 1 root root 12170362 Apr 22 15:27 libmediainfo.so.0
-rwxr-xr-x. 1 root root    52049 Apr 22 15:27 libminiupnpc.so.10
-rwxr-xr-x. 1 root root    12220 Apr 22 15:27 libnatpmp.so.1
-rwxr-xr-x. 1 root root  8061648 Apr 22 15:27 libopencv_core.so.2.4
-rwxr-xr-x. 1 root root  2683087 Apr 22 15:27 libopencv_imgproc.so.2.4
-rwxr-xr-x. 1 root root  7927559 Apr 22 15:27 libpython2.7.so.1.0
-rwxr-xr-x. 1 root root  6017853 Apr 22 15:27 libsoci_core.so.3.0.0
-rwxr-xr-x. 1 root root   303144 Apr 22 15:27 libsoci_sqlite3.so.3.0.0
-rwxr-xr-x. 1 root root  1663140 Apr 22 15:27 libsqlite3.so.0
-rwxr-xr-x. 1 root root   546147 Apr 22 15:27 libssl.so.1.0.0
-rwxr-xr-x. 1 root root   454424 Apr 22 15:27 libswscale.so.3
-rwxr-xr-x. 1 root root    44339 Apr 22 15:27 libtag_c.so.0
-rwxr-xr-x. 1 root root  7046968 Apr 22 15:27 libtag.so.1
-rwxr-xr-x. 1 root root   313541 Apr 22 15:27 libvo-aacenc.so.0
-rwxr-xr-x. 1 root root  1866551 Apr 22 15:27 libxml2.so.2
-rwxr-xr-x. 1 root root   634034 Apr 22 15:27 libxslt.so.1
-rwxr-xr-x. 1 root root  5490074 Apr 22 15:27 libzen.so.0
-rwxr-xr-x. 1 root root   176957 Apr 22 15:27 libz.so.1
-rwxr-xr-x. 1 root root  3267448 Apr 22 15:27 'Plex DLNA Server'
-rwxr-xr-x. 1 root root  4094160 Apr 22 15:27 'Plex Media Scanner'
-rwxr-xr-x. 1 root root 10199048 Apr 22 15:27 'Plex Media Server'
-rw-rw-r--. 1 root root     1095 Apr 22 15:27 plexrsync.pp
drwxr-xr-x. 9 root root     4096 Jun  4 01:35 Resources
-rwxr-xr-x. 1 root root      396 Jun  4 01:52 start.sh

Finally, here is the service in /usr/lib/systemd/system/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
Environment=LC_ALL=en_US.UTF-8
Environment=LANG=en_US.UTF-8
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 'echo ${LD_LIBRARY_PATH} >> /var/log/plex && /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

Does plex auto update? Because I havent made a single change yet, starting last night plex doesnt wo

$
0
0

like the title said, it just stopped working. Literally in the middle of watching something, it just stops, gives "permissions
" errors, then disconnects from the server altogether, and wont connect.

tried restarting plex. nope

[root@hulk Season 3]# ps aux |grep plex
plex     11139  8.0  0.1 596128 44724 ?        Ssl  13:05   0:00 /usr/lib/plexmediaserver/Plex Media Server
plex     11150 51.5  0.1 1985316 49028 ?       SNl  13:05   0:02 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-5089475/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.16.6.1993-5089475 /usr/lib/plexmediaserver/Resources/Plug-ins-5089475/System.bundle
plex     11193  6.0  0.0 297044 22476 ?        Sl   13:05   0:00 /usr/lib/plexmediaserver/Plex DLNA Server
root     11227  0.0  0.0 112640   956 pts/0    S+   13:05   0:00 grep --color=auto plex
Plex    10805 plex   54u  IPv4 361935240      0t0  TCP *:32400 (LISTEN)

Pretty cool software that im paying to use


I have PMS running on Raspberry PI 2!

$
0
0

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.

 
Last thing to do was to add samba so I can add/remove files from a windows host.
 

 

cannot see my plex server

$
0
0

I have lost visibility of a plex server and don't know what to do. I have 2 internal servers running, one externally hosted - all connected to the same plex account.

Everything was working fine since as long as i've had this setup - I just didn't happen to use Plex for the last 2 months, and now can't see the externally hosted server.

I can connect to my remote server via its plex port
if i go to http://externalserver:32400 I get "401 Unauthorized"
if I go to http://externalserver:32400/web/index.html and log in, I can see my home servers in the drop down, alongside a share from a friend to me. I can not see http://externalserver as an available server.

when I go to the https://plex.tv/api/resources?X-Plex-Token= page.... I can see each of my devices except for the remote PMS.

I was running plexmediaserver-0.9.12.11.1406-8403350.x86_64.rpm successfully for a long time.
I tried to upgrade since I have this problem - now running plexmediaserver-0.9.16.6.1993-5089475.x86_64.rpm

netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:51185 0.0.0.0:* LISTEN 1628/Plex Plug-in [
tcp 0 0 127.0.0.1:53841 0.0.0.0:* LISTEN 1559/Plex Plug-in [
tcp 0 0 127.0.0.1:32401 0.0.0.0:* LISTEN 1550/Plex Media Ser
tcp 0 0 0.0.0.0:1074 0.0.0.0:* LISTEN 1610/Plex DLNA Serv
tcp 0 0 127.0.0.1:47187 0.0.0.0:* LISTEN 1764/Plex Plug-in [
tcp 0 0 0.0.0.0:32469 0.0.0.0:* LISTEN 1610/Plex DLNA Serv
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 810/sshd
tcp 0 0 127.0.0.1:7000 0.0.0.0:* LISTEN 16245/axigen
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 16195/postgres
tcp 0 0 0.0.0.0:8088 0.0.0.0:* LISTEN 872/ctasd.bin
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 16245/axigen
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 16245/axigen
tcp 0 0 127.0.0.1:57916 0.0.0.0:* LISTEN 1866/Plex Plug-in [
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 16245/axigen
tcp 0 0 127.0.0.1:6082 0.0.0.0:* LISTEN 15688/varnishd
tcp 0 0 127.0.0.1:56067 0.0.0.0:* LISTEN 1923/Plex Plug-in [
tcp 0 0 127.0.0.1:1987 0.0.0.0:* LISTEN 843/spamd -d
tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 16245/axigen
tcp 0 0 127.0.0.1:47176 0.0.0.0:* LISTEN 1970/Plex Plug-in [
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 16139/mysqld
tcp 0 0 127.0.0.1:56235 0.0.0.0:* LISTEN 1705/Plex Plug-in [
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 16245/axigen
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 15689/varnishd
tcp 0 0 0.0.0.0:32400 0.0.0.0:* LISTEN 1550/Plex Media Ser
tcp6 0 0 :::22 :::* LISTEN 810/sshd
tcp6 0 0 :::8080 :::* LISTEN 15921/httpd
tcp6 0 0 :::80 :::* LISTEN 15689/varnishd

[Centos 7]: Pause/resume broken in web with music playback.

$
0
0

I set up a new PMS using the latest Centos 7 to move away from using my Windows workstation as a PMS. When I am playing music using the web interface in Chrome, and pause a song, I frequently will come back a few minutes later and when I hit the play button, nothing happens, it just goes back to position 0:00 and pressing it multiple times doesn't do anything. For it to work again I have to refresh the page, but it loses its position which stinks.

PMS Version 0.9.17.2

Error on Reinstall Ubuntu 16.04

$
0
0

I had a botched attempt to move my library from /var so i followed the documentation and did an uninstall. When i try to reinstall im getting this error:

sudo dpkg -i plexmediaserver_0.9.17.2.2159-2bd156c_amd64.deb
(Reading database ... 55969 files and directories currently installed.)
Preparing to unpack plexmediaserver_0.9.17.2.2159-2bd156c_amd64.deb ...
Removed symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service.
Unpacking plexmediaserver (0.9.17.2.2159-2bd156c) over (0.9.17.2.2159-2bd156c) ...
Setting up plexmediaserver (0.9.17.2.2159-2bd156c) ...
Created symlink from /etc/systemd/system/multi-user.target.wants/plexmediaserver.service to /etc/systemd/system/plexmediaserver.service.
Job for plexmediaserver.service failed because the control process exited with error code. See "systemctl status plexmediaserver.service" and "journalctl -xe" for details.
dpkg: error processing package plexmediaserver (--install):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 plexmediaserver

This is the output of systemctl status plexmediaserver.service

'plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/etc/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Tue 2016-06-21 17:50:19 EDT; 3min 16s ago
Process: 9695 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_A

Jun 21 17:50:13 ns505382.ip-142-4-208.net systemd[1]: Failed to start Plex Media Server for Linux.
Jun 21 17:50:13 ns505382.ip-142-4-208.net systemd[1]: plexmediaserver.service: Unit entered failed state.
Jun 21 17:50:13 ns505382.ip-142-4-208.net systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
Jun 21 17:50:19 ns505382.ip-142-4-208.net systemd[1]: plexmediaserver.service: Service hold-off time over, scheduling restart.
Jun 21 17:50:19 ns505382.ip-142-4-208.net systemd[1]: Stopped Plex Media Server for Linux.
Jun 21 17:50:19 ns505382.ip-142-4-208.net systemd[1]: plexmediaserver.service: Start request repeated too quickly.
Jun 21 17:50:19 ns505382.ip-142-4-208.net systemd[1]: Failed to start Plex Media Server for Linux.'

I've been wrapped around the axle on this one. Any help is greatly appreciated.

[Ubuntu 14.04] Plex sees 2 iPads as a single Device

$
0
0

I am running Plex 0.9.16.6 on Ubuntu 14.04 LTS. I recently got an Ipad Air and I gave my old iPad2 to one of my kids. When I try to synch movies to the iPad Air, it shows the movies that my child synchronized to my old iPad2. I removed both devices from my server, deleted the Plex apps on both devices, and used Settings/Account in the iPadAir app to log into the Plex server. The server shows my iPadAir. Then, when I log into the Plex server using my iPad2, it CHANGES the iPadAir to iPad2 in the Devices section of the Plex server. I need to seperate these 2 devices so that they can synch different content. Please help. Thanks.

Consistently wrong album dates from Last.fm

$
0
0

I'm running server version 0.9.8.5 in an Ubuntu 12.04 server VM for the first time, and I'm having a few difficulties on the music side of things. The short version is that Last'fm's metadata appears to be a complete mess in a lot of cases, and I don't know what to do about it.

 

I'm loving how much information Plex server is able to grab about albums and artists, but I'm more than a little perplexed by the choice of some of the metadata it's getting from Last.fm. What I'm seeing a lot of is that the date is completely wrong on a lot of albums, and I've no idea what to do about it. Fixing everything up by hand will take a very long time.

 

This has nothing to do with obscure music or anything like that. Albums by very well-known artists are listed with the wrong dates. Take Black Sabbath, for example; I've ripped a bunch of their albums to FLAC and put them in a directory tree that I then added as a music section. The first four albums listed by Plex are as follows:

  • Black Sabbath (2009)
  • Dehumanizer (2011)
  • Heaven and Hell (2009)
  • Live Evil (2010)

I could go on, but there's no point; Last.fm didn't get the date right on a single one of Black Sabbath's albums. For the uninitiated, Black Sabbath was released in 1970, Dehumanizer in 1992, Heaven and Hell in 1980 and Live Evil in 1982.

 

The culprit definitely appears to be Last.fm. They've made a right old mess of things: http://www.last.fm/search?q=black%20sabbath&type=album

 

Now, I've gone to some lengths to make sure that the tags on my FLAC files are correct. The tags on the files are accepted by every other player I can think of; they all reckon Black Sabbath was indeed released in 1970.

 

I like the other information that Plex can scrape from Last.fm, but this is untenable. I'm not about to go through hundreds of albums to check them for accuracy and then edit wrong dates by hand. Is there some way I can have Plex server use the tags on the files themselves as gospel, while scraping all of the other relevant info from Last.fm? Is there another source I can point Plex server towards for metadata?

Newb Question - Linux path to Synology NAS

$
0
0

I have a Mac Mini running Plex, with the content held on a Synology NAS (on my local network), which works just fine, but I want to add a backup Plex server under Ubuntu 16.04 (different computer). I can browse to the server from the Ubuntu desktop file manager just fine, but for me as a Linux newb, the difficulty comes in defining the path to the network drives holding the content. I've tried various approaches. The content on the Synology server is held in volume1/video/TV Shows

Paths I've tried that don't work:
afp-volume:host=hostnameofserver.local.volume=video/TV Shows
smb://hostnameofserver._smb.tcp_local/video/TV Shows
smb://hostnameofserver/video/TV Shows

Is there some configuration file(s) I need to modify in Linux to point to this path with my login info so that Plex sees them?

Suggestions welcome and thanks for your assistance.


Manually Start and Stop Plex Media Server and bypass password doing so.

$
0
0

Brand new to Linux.  I installed Linux Mint 14 on my older laptop for my first experience.  Use WDTV live hubs to watch videos in two rooms of the house Pulling from NAS devices but I use a xbox 360 in my bedroom. Xbox can easily see the NAS devices and SAW the shared folders on my laptop (when it was windows 7) which is also in the bedroom. I only use the laptop as a source for a few files so i only need the server on once in a while. Sometimes music but mostly videos that I pull from EZTV when I don't feel like going into another room to start the download ( I use to just do remote desktop connection with windows 7 to start my torrent downloads on my other pcs, but I have not figured that out for linux yet - hence

 

I needed a solution to watch videos on my xbox from my laptop (now Linux mint 14) and thought of Plex.

 

1.  It was simple to install and setup the plex software.

 

2.  Modified the plex config file "/etc/init/plexmediaserver.conf" - by simply putting a "#" in front of the startonrunlevel line so that it does not auto start at boot up.

 

3.  Now for a short cut, I set up a custom keyboard control to pull up terminal and automate the start and stop. 

 

A.  I named one "Start Plex Server" with the command (x-terminal-emulator -e "sudo start plexmediaserver") and assigned it to CTRL-ALT-P.

 

B.  I named another "Stop Plex Server" with the command (x-terminal-emulator -e "sudo stop plexmediaserver") and assigned it to CTRL-ALT-O.

 

4.  Because of the use of  a "sudo command" I had to type in my password each time. Not acceptable!! So I used "sudo visudo" to edit the "sudoers file" to bypass the required password for sudo cammands. Add in "Default !Permissions" at the top of the file where the other "Defaults" are, and then put a  "#" in front of the remaining non default statements.  " and YES I read all the warnings for this use" but it is what I want. ON with a keyboard shortcut and OFF with a keyboard shortcut.

 

GOAL I know there is a way to only bypass the password requirement for starting the Plex Media Server and keep everything else safe but have not figured that one out yet.

 

???? Could the shortcut be edited to also include the password instead?

 

HELP

PMS Remote Stops working after upgrade to 1.02

$
0
0

I can't see my remote PMS server after upgrading to 1.02. Strange thing is, I know the server is listening because when I go directly to the ip through https://ip:32400, i get 401 Unauthorized.

netstat -a shows the port listening:
tcp 0 0 :32400 *: LISTEN

and the plex service is stable:

sudo service plexmediaserver status
plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/plexmediaserver.service.d
└─overide.conf
Active: active (running) since Thu 2016-07-14 18:54:41 PDT; 11min ago
Process: 790 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: 824 (Plex Media Serv)
CGroup: /system.slice/plexmediaserver.service
├─ 824 /usr/lib/plexmediaserver/Plex Media Server
├─ 861 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-c094d0d/Framework.bundle/Contents/Resources/Versions/2/Python/bootstr...
└─1228 /usr/lib/plexmediaserver/Plex DLNA Server

Jul 14 18:54:41 domain.biz systemd[1]: Starting Plex Media Server for Linux...
Jul 14 18:54:41 domain.biz systemd[1]: Started Plex Media Server for Linux.

Linux version: Ubuntu 15.10

Can't start plexmediaserver after 'yum localupdate plex.rpm'

$
0
0

Hi, after I today upgrade to 1.0.1 on my CentOS machine, I can no longer start plexmediaserver. I get this:


[root@plexserver plex]# service plexmediaserver start
Starting plexmediaserver (via systemctl): Job for plexmediaserver.service failed because the control process exited with error code. See "systemctl status plexmediaserver.service" and "journalctl -xe" for details.
[MISSLYCKADES]


MISSLYCKADES is swedish and mean 'FAILED' :)

I try the one they suggest above:


[root@plexserver plex]# systemctl status plexmediaserver.service
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/plexmediaserver.service.d
└─overide.conf
Active: failed (Result: start-limit) since fre 2016-07-15 15:36:10 CEST; 2min 44s ago
Process: 16059 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=1/FAILURE)

jul 15 15:36:05 plexserver systemd[1]: Failed to start Plex Media Server for Linux.
jul 15 15:36:05 plexserver systemd[1]: Unit plexmediaserver.service entered failed state.
jul 15 15:36:05 plexserver systemd[1]: plexmediaserver.service failed.
jul 15 15:36:10 plexserver systemd[1]: plexmediaserver.service holdoff time over, scheduling restart.
jul 15 15:36:10 plexserver systemd[1]: start request repeated too quickly for plexmediaserver.service
jul 15 15:36:10 plexserver systemd[1]: Failed to start Plex Media Server for Linux.
jul 15 15:36:10 plexserver systemd[1]: Unit plexmediaserver.service entered failed state.
jul 15 15:36:10 plexserver systemd[1]: plexmediaserver.service failed.
[root@plexserver plex]#


Journalctl -xe gives this:

-- Unit plexmediaserver.service has begun starting up.
jul 15 15:43:25 plexserver sh[16257]: /bin/mkdir: cannot create directory ‘’: No such file or directory
jul 15 15:43:25 plexserver systemd[1]: plexmediaserver.service: control process exited, code=exited status=1
jul 15 15:43:25 plexserver systemd[1]: Failed to start Plex Media Server for Linux.
-- Subject: Unit plexmediaserver.service has failed
-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit plexmediaserver.service has failed.

-- The result is failed.
jul 15 15:43:25 plexserver systemd[1]: Unit plexmediaserver.service entered failed state.
jul 15 15:43:25 plexserver systemd[1]: plexmediaserver.service failed.
jul 15 15:43:31 plexserver systemd[1]: plexmediaserver.service holdoff time over, scheduling restart.
jul 15 15:43:31 plexserver systemd[1]: start request repeated too quickly for plexmediaserver.service
jul 15 15:43:31 plexserver systemd[1]: Failed to start Plex Media Server for Linux.
-- Subject: Unit plexmediaserver.service has failed
-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit plexmediaserver.service has failed.

-- The result is failed.
jul 15 15:43:31 plexserver systemd[1]: Unit plexmediaserver.service entered failed state.
jul 15 15:43:31 plexserver systemd[1]: plexmediaserver.service failed.
jul 15 15:44:01 plexserver systemd[1]: Started Session 237 of user root.
-- Subject: Unit session-237.scope has finished start-up
-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit session-237.scope has finished starting up.

-- The start-up result is done.
jul 15 15:44:01 plexserver systemd[1]: Starting Session 237 of user root.
-- Subject: Unit session-237.scope has begun start-up
-- Defined-By: systemd

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- Unit session-237.scope has begun starting up.
jul 15 15:44:01 plexserver CROND[16266]: (root) CMD (/bin/bash -c "/usr/local/lib/PlexConnect/PlexConnect_daemon.bash status >/dev/null || /usr/local/lib/PlexConnect/PlexConnect_daemon.bash start >/dev/null")
jul 15 15:44:17 plexserver su[16274]: (to root) plex on pts/0
jul 15 15:44:17 plexserver su[16274]: pam_unix(su:session): session opened for user root by plex(uid=1001)


Anyone have any idea what can had happened?

dpkg: warning: unable to delete old directory '/usr/lib/plexmediaserver/Resources/Plug-ins-a17e99e':

$
0
0

I use the plexupdate.sh script to automatically download/update my PMS whenever a new version comes out but I always have to manually go in and clean up because the dpkg step can never seem to move all my plugins. It moves most, but specifically the YoutubeTV.bundle never gets moved.

I've noticed the Plug-ins-xxxxxx folder always has the unique identifier from the end of the version number. Why can't dpkg move all the plugins? I'm running the script via sudo and from what I can see, that plugin has the same user:group as the rest of the plugins that get moved successfully.

I'm running Ubuntu 14.04.4 LTS

Any thoughts?

Locations Issue

$
0
0

Ok With help from the forum I got Plex going on my VPS I seem to have hit a bit of a wall with working out why I cant see my vps from other locations drop down on my pc or at work or my mobile for that matter .. I did the invites and can see the servers in these locations office and home on the VPS in the locations dropdown and the green lock and use the shared library on these locations via the VPS but when I am at home or the offis I am not seeing the shared library on the vps nor is it in the drop down .. how do I fix this that I can see my VPS in locations

Viewing all 7311 articles
Browse latest View live


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