Plex not working after upgrade

curious…wondering is this the correct name for file?
It falls out when looking at the rest namevise…

Yes did a QB update shortly before the system update…

Will you do the commands I listed above and also type source /root/.bashrc and then try to check the upgradePlex once more. The output you listed is not in-line with the output that would be returned from the new upgrade method, which is now dynamic in grabbing and comparing versions.

That is just a default location file. That is correct. However, Plex always lives in /var/lib/plexmediaserver. You may even want to do an apt-get autoremove and apt-get autoclean

TheBox:~# systemctl stop plexmediaserver
TheBox:~# systemctl enable plexmediaserver
TheBox:~# systemctl start plexmediaserver
TheBox:~# systemctl status plexmediaserver
ā— plexmediaserver.service - Plex Media Server for Linux
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled)
   Active: failed (Result: start-limit) since Sat 2016-07-30 16:33:31 CEST; 38s ago
  Process: 16849 ExecStart=/bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server (code=exited, status=1/FAILURE)
  Process: 16846 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: 16849 (code=exited, status=1/FAILURE)

Jul 30 16:33:26 TheBox systemd[1]: Unit plexmediaserver.service entered failed state.
Jul 30 16:33:31 TheBox systemd[1]: plexmediaserver.service holdoff time over, schedul...rt.
Jul 30 16:33:31 TheBox systemd[1]: Stopping Plex Media Server for Linux...
Jul 30 16:33:31 TheBox systemd[1]: Starting Plex Media Server for Linux...
Jul 30 16:33:31 TheBox systemd[1]: plexmediaserver.service start request repeated too...rt.
Jul 30 16:33:31 TheBox systemd[1]: Failed to start Plex Media Server for Linux.
Jul 30 16:33:31 TheBox systemd[1]: Unit plexmediaserver.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Changed perms of /var/lib/plexmediaserver to 777

TheBox:~# upgradePlex
TheBox:~# upgradePlex
TheBox:~# upgradePlex
TheBox:~# source /root/.bashrc
You are running QuickBox 2.4.4 - on 3e6bf3e9.rev.stofanet.dk:0.0
Your BASH version is 4.3
Sat Jul 30 16:37:55 CEST 2016

#-------------------------------------------------------------
#  Just type any one of the following commands
#  to turn on different bash prompts
#-------------------------------------------------------------
#  commandprompt_on - this prompt shows last command used & more
#  powerprompt_on - this prompt shows colorful system data
#  basicprompt_on - this prompt shows color coded load & cpu avg.
#  prompt_OFF - this turns off extreme prompts and goes back to default
#-------------------------------------------------------------

TheBox:~# upgradePlex
Downloading plex.deb ...
--2016-07-30 16:38:24--  https://plex.tv/downloads/latest/1?channel=16&build=linux-ubuntu-x86_64&distro=ubuntu&X-Plex-Token=removed
Resolving plex.tv (plex.tv)... 52.17.109.161, 52.19.111.38, 54.76.231.216, ...
Connecting to plex.tv (plex.tv)|52.17.109.161|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.plex.tv/plex-media-server/1.0.3.2461-35f0caa/plexmediaserver_1.0.3.2461-35f0caa_amd64.deb [following]
--2016-07-30 16:38:24--  https://downloads.plex.tv/plex-media-server/1.0.3.2461-35f0caa/plexmediaserver_1.0.3.2461-35f0caa_amd64.deb
Resolving downloads.plex.tv (downloads.plex.tv)... 2400:cb00:2048:1::6814:709, 2400:cb00:2048:1::6814:609, 104.20.6.9, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|2400:cb00:2048:1::6814:709|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 99819494 (95M) [application/octet-stream]
Saving to: ā€˜/root/plex-tmp/plex.deb’

/root/plex-tmp/plex.de 100%[=============================>]  95.19M  40.8MB/s   in 2.3s

2016-07-30 16:38:27 (40.8 MB/s) - ā€˜/root/plex-tmp/plex.deb’ saved [99819494/99819494]

Comparing versions ...
Currently installed version is 1.0.3.2461 ...
Downloaded version is 1.0.3.2461 ...
1.0.3.2461 is not greater than 1.0.3.2461
Deleting downloaded package ...
rm: remove regular file ā€˜plex.deb’? y
Deleting /root/plex-tmp directory ...
Restarting Plex Media Server ...
[ Upgrade Complete ]
TheBox:~#

Believe it or not, that result is good. This means we’re not facing a permissions issue - or a dependencies lock.

Do you do also the apt-get autoremove and apt-get autoclean

If so, follow that up with apt -y update && apt -y upgrade

Now we’ll start cooking with hot water.

Did all the commands mentioned yes and in that order :slight_smile:

No errors on the apt -y update && apt -y upgrade

No - no errors at all…

Can you confirm that your /var/lib/plexmediaserver directory is owned by plex?

Going to interject here a minute. Did something change with the FTP server? Mine is timing out since the upgrade. And it broke Sickrage Oy Vey:scream:

@zorak2, nothing in QuickBox makes adjustments to FTP/SFTP. Please open a new topic in regards to your FTP issues - in most instances, the problem could be between your server and your ISP.

We are currently working on troubleshooting Plex issues at the moment.

Will do, thanks again for your help

@Globber, you’re on Ubuntu right?

I am noticing this Plex issue cropping up on Debian installs but haven’t encountered it on any Ubuntu yet.

Just wanted to say real quick if you need a server to test on let me know and I can set you up a VM

1 Like

nopes Debian!

Ah, @Grayman is currently experiencing an issue like this where the server is simply not found. Debian as well. I have a Debian machine fired up at the moment, however, I cannot duplicate this issue. On his it’s status shows as running. Just no servers to be found… very odd this Plex this update.

You still have my pm with the credentials for my box so if you want to sneak in at have a looksee I won“t stop ya :slight_smile:

Alright, challenge accepted. Let me finish up one more quick thing and I will have a peek. I will do some comparisons. Not sure if a recent linux update foo-bared or what.

I have this issue in ubuntu 16.04 (Kimsufi). It was working fine, then I recently did an apt-get update/upgrade (one of the things on that list MIGHT have been plex) but now a reinstall of it will not start properly.

Is there some log that gives more detailed info as to WHY it won’t start with systemctl? I thought about going back to a x.9xx version, but not just yet.