Been running plex for almost 2 years no major dramas.
System: FreeNAS 9.10, with 16GB RAM
A couple of days ago, plex crashed (rare but not miles out of the ordinary) I rebooted FreeNAS, and next time I looked (about an hour later) it was down again.
Now, I had around that time gone from 9.3 to 9.10 FreeNAS, so assumed that must have something to do with it, I rebuilt all of my jails (had been meaning to anyway) and rebuilt plex using (inside a freshly created jail):
portsnap fetch extract
cd /usr/ports/multimedia/plexmediaserver-plexpass/ && make install clean
That’s fine - I restored the back up meta data and rebooted the jail. Plex came up all working - lasted only about 5 minutes before crashing again.
I had previously been running from the plugin on FreeNAS rather than building it, and I had the auto update script, which would have updated it around the time it first crashed. And the new jail obviously has the most current plex pass version. So that could be a factor.
However - in my logs I get this:
(the last few lines from the plex media server log)
Apr 23, 2016 17:12:12 [0x80b486400] WARN - NetworkServiceBrowser: Error sending out discover packet: send_to: Can't assign requested address
Apr 23, 2016 17:12:17 [0x80b486400] WARN - NetworkServiceBrowser: Error sending out discover packet: send_to: Can't assign requested address
Apr 23, 2016 17:12:17 [0x80b486400] WARN - NetworkServiceBrowser: Error sending out discover packet: send_to: Can't assign requested address
Apr 23, 2016 17:12:20 [0x80d0cd800] ERROR - Had trouble breaking X-Plex-Token
Apr 23, 2016 17:12:20 [0x80d0cd800] ERROR - ERROR: Parsing request failed.
Apr 23, 2016 17:12:20 [0x80d0cd800] DEBUG - Request: [31.127.111.255:59767] GET /photo/:/transcode?width=1024&height=1024&url=http%3A%2F%2F127.0.0.1%3A32400%2Flibrary%2Fmetadata%2F481892%2Fart%2F1454527866%3FX-Plex-Token%3Dxxxxxxxxxxxxxxxxxxxx&minSize=0&X-Plex-Token (4 live) TLS
the last few lines from the com.plexapp.agents.imdb
2016-04-23 17:10:10,145 (802406400) : INFO (core:611) - Started plug-in
2016-04-23 17:10:10,145 (802406400) : DEBUG (socketinterface:160) - Starting socket server
2016-04-23 17:10:10,145 (802406400) : DEBUG (runtime:1117) - Created a thread named 'start'
2016-04-23 17:10:10,146 (802406400) : INFO (socketinterface:184) - Socket server started on port 42313
2016-04-23 17:10:10,146 (802406400) : INFO (pipeinterface:25) - Entering run loop
2016-04-23 17:10:10,146 (802406400) : DEBUG (runtime:717) - Handling request GET /:/prefixes
2016-04-23 17:10:10,147 (802406400) : DEBUG (runtime:814) - Found route matching /:/prefixes
2016-04-23 17:10:10,147 (802406400) : DEBUG (runtime:924) - Response: [200] MediaContainer, 148 bytes
2016-04-23 17:10:10,224 (80b04c400) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.imdb/prefs
2016-04-23 17:10:10,233 (80b04c400) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.imdb/prefs
2016-04-23 17:10:10,234 (80b04c400) : WARNING (data:179) - Error decoding with simplejson, using demjson instead (this will cause a performance hit) - Expecting value: line 83 column 1 (char 1580)
2016-04-23 17:10:10,238 (80b04c400) : DEBUG (preferences:258) - Loaded preferences from DefaultPrefs.json
2016-04-23 17:10:10,238 (80b04c400) : DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.agents.imdb
2016-04-23 17:10:10,241 (80b04c400) : DEBUG (runtime:924) - Response: [200] MediaContainer, 1287 bytes
2016-04-23 17:12:20,930 (802406400) : INFO (pipeinterface:87) - Stopping plug-in
and the final lines from com.plexapp.system
2016-04-23 17:11:27,033 (80b096800) : DEBUG (networking:166) - Requesting 'http://192.168.1.53:32400/library/sections'
2016-04-23 17:11:27,037 (80b096800) : DEBUG (networking:166) - Requesting 'http://192.168.1.53:32400/channels/all'
2016-04-23 17:11:27,039 (80f474400) : DEBUG (peerservice:163) - Background-refreshing remote servers
2016-04-23 17:11:27,039 (80b096800) : DEBUG (runtime:1117) - Created a thread named 'background_refresh'
2016-04-23 17:11:27,039 (80f474400) : DEBUG (peerservice:171) - Updating servers (False/True True/True/True)
2016-04-23 17:11:27,040 (80f474400) : DEBUG (peerservice:180) - Found 1 servers
2016-04-23 17:12:20,930 (802406400) : INFO (pipeinterface:87) - Stopping plug-in
2016-04-23 17:15:08,504 (80d827800) : DEBUG (runtime:1156) - Starting timed thread named 'auto_update_thread'
2016-04-23 17:15:08,545 (80d827800) : INFO (storeservice:351) - Starting automatic update check
2016-04-23 17:15:08,545 (80d827800) : DEBUG (runtime:1117) - Created a thread named 'remove_unavailable_agents'
2016-04-23 17:15:08,600 (80d827800) : DEBUG (networking:166) - Requesting 'https://nine.plugins.plexapp.com/apps/all.json?frameworkVersion=2.6.3&machineIdentifier=89057bad53c55323879476f1c38e2c270f2a17fb&os=FreeBSD&osVersion=10.3-RELEASE%20%28FreeBSD%2010.3-RELEASE%20%230%201b72f49%28HEAD%29%3A%20Wed%20Apr%2013%2023%3A35%3A10%20PDT%202016%20%20%20%20%20root%40build.ixsystems.com%3A/tank/home/nightlies/CVE910/_BE/objs/tank/home/nightlies/CVE910/_BE/trueos/sys/FreeNAS.amd64%29&cpu=i386&serverVersion=0.9.16.5.1966-81a3bf0&systemRevision=81a3bf0'
2016-04-23 17:15:09,304 (80d827800) : INFO (storeservice:490) - No beta plugins.
2016-04-23 17:15:09,310 (80d827800) : INFO (storeservice:526) - 'WebManager' plug-in [com.plexapp.plugins.webmanager] is up to date (402fcf6e4d1ee8b4153d404708f02a2afa47ab8c)
2016-04-23 17:15:09,310 (80d827800) : INFO (storeservice:357) - All plug-ins are up to date
2016-04-23 17:15:09,311 (80d827800) : DEBUG (runtime:1150) - Scheduled a timed thread named 'auto_update_thread'
2016-04-23 17:15:13,590 (806193400) : INFO (datakit:131) - Saved the dictionary file
Any guide on fixing this? As I can’t seem to make it last more than a few minutes before plex crashes again