Plex don't start anymore

server-linux

#7

thanks for your answer. This will hel me to mount the externa driver and add the directory to the library.

Bau the first problem i think is that PMS do not start and the browser says cannot find the address...


#8

sudo systemctl enable plexmediaserver
sudo systemctl start plexmediaserver

These enable for automatic start at boot and second start immediately.


#9

I gave both commands and reboot but i got the same error... cannor reach the site...


#10
  1. sudo systemctl status plexmediaserver
  2. If PMS is running: open your browser to http:/127.0.0.1:32400/web.
  3. If you get errors, Settings - Server - Help - Download Logs
  4. Append them here.

#11

I gave the command sudo systemctl status plexmediaserver

I i think the result was good:

● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor
Drop-In: /etc/systemd/system/plexmediaserver.service.d
└─local.conf
Active: active (running) since ven 2017-05-19 19:11:37 CEST; 13min ago
Process: 1079 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_AP
Main PID: 1084 (sh)
CGroup: /system.slice/plexmediaserver.service
├─1084 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/p
└─1085 /usr/lib/plexmediaserver/Plex Media Server

mag 19 19:11:36 cc-Ubuntu systemd[1]: Starting Plex Media Server for Linux...
mag 19 19:11:37 cc-Ubuntu systemd[1]: Started Plex Media Server for Linux.
lines 1-13/13 (END)

Plex looks to be active

So, on the browser (Chrome) i insert http:/127.0.0.1:32400/web. i i receive the error .. not able tonnect the server.

Now, i don't know where to look for "Settings - Server - Help - Download Logs" ... in PMS ? or in the Browser?

thanks
claudio


#12

Open your browser and go to http://127.0.0.1:32400/web This is your Dashboard. Now go to Settings - Server - Help and Download Logs.

It will present you with a ZIP file which you upload here with your next reply.


#13

I am sorry but if i open the browser and go to http://127.0.0.1:32400/web i obtain what you anc se in the attachement. I think you mean to go in Setting-Server in PMS when it works... not in the settings of the Chrome browser.. there is no SEtting/server there...


#14

What is in file /etc/systemd/system/plexmediaserver.service.d/local.conf


#15

Here below the content of that file..

[Service]
User=
User=claudio
Group=
Group=claudio


#16

@ChuckPA said:
If you can inform the writer of that post, it is incorrect

Ninethgate.se is used for Debian systems, NOT Ubuntu 16.

The Ninethgate.se Jessie repo is currently unusable, but not for the reason you state.

It is currently unusable for any purpose because it does not contain a current PMS package. The package version it currently holds is 1.3.3.3148-b38628e, which we all know by now can no longer be used due to the way Plex currently handles codecs, a decision they made that forced a mandatory upgrade to 1.5.1 or higher.

Historically, when that repo was usable, it was perfectly valid for use on Ubuntu because the packages it provided were bit for bit identical to Plex.tv Ubuntu packages. And the reason that repo was provided was because, at the time, Plex.tv did not provide a debian style repo for their Ubuntu packages. That is to say, @yakumo made that repo available as a convenience to PMS users who desired a debian style repo for use on any distribution that could use the Ubuntu package provided by Plex.tv.


#17

@Claudiofax said:
Here below the content of that file..

[Service]
User=
User=claudio
Group=
Group=claudio

[Service]
User=claudio
Group=claudio

Duplication causes errors.


#18

thanks for the answer,
i removed the copy and now /etc/systemd/system/plexmediaserver.service.d/local.conf is:

[Service]
User=
User=claudio

I lunched PMS but i got the same error :-(


#19

Please use journalctl -xe | grep -i plex or journalctl -xe and manually scan through the output to see the specific error being reported. SystemD does not always log it.


#20

with journalctl -xe i got the following lines in red (i think they are errors)

Device: /dev/sda [SAT], 7 Currently unreadable (pending) sectors

Warning via /usr/share/smartmontools/smartd-runner to root produced unexpe
/etc/smartmontools/run.d/10mail:
Cannot start "/usr/sbin/sendmail": executable not found (adjust sendmail

Device: /dev/sda [SAT], 4 Offline uncorrectable sectors

with journalctl -xe | grep -i plex i got the following_

mag 22 18:39:37 cc-Ubuntu systemd[1]: [/lib/systemd/system/plexmediaserver.service:11] Invalid escape sequences in line, correcting: "/bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server'"
mag 22 18:40:19 cc-Ubuntu systemd[1]: Starting Plex Media Server for Linux...
-- Subject: L'unità plexmediaserver.service inizia la fase di avvio
-- L'unità plexmediaserver.service ha iniziato la fase di avvio.
mag 22 18:40:19 cc-Ubuntu systemd[1]: Started Plex Media Server for Linux.
-- Subject: L'unità plexmediaserver.service termina la fase di avvio
-- L'unità plexmediaserver.service ha terminato la fase di avvio.


#21

Anything in Red is an error.

  1. Your hard drive is failing. You must address this first.
  2. The other 'error' regarding Plex is not an error. It is a warning. It has been corrected. It was released in PMS 1.7.0 today.

#22

thanks,
what does it means that the hard drive is failing? Is it damage? Should i replace it ?
Or it is a software problem that can be solved without removing all Ubuntu ?

thanks
claudio


#23

Yes, you need to replace it.

Save all the data you need to save and then reinstall on a new drive. Restore your personal data (to your home directory) and your media (if needed) afterwards


#24

Thanks but... this looks strange because with the command "sudo smartctl -a /dev/sdX" i got a PASS test result on that disk.
I used Plex for long time using Ubuntu 14.04 without any problem and when i upgrade to 16.04 PMS stop working, with same error. I wonder if my problem is related with the Ubuntu version and not with the disk itself.
To change disk it means to me to erase Ubuntu and reinstall all programs and settings and drivers on another hard disk...
If i do so, are you sule PMS will work ? Is it convenient to try it with a Live CD od Ubuntu, before changing the disk?

thanks
claudio


#25

Claudio,
That could indeed be true. You might be be seeing the disk errors as a result of the Ubuntu installation.

I do not like upgrading different OS versions onto themselves. They carry too much 'baggage'. In Ubuntu's case, they carry FAR too much. From 14-15-16, it was a linux disaster.

While I cannot guarantee PMS will run for you, on your system after installation without actually seeing it, the problems you're having are NOT common. There is something unique to your configuration / installation.

When I setup Linux, I use all 4 partitions of a MSDOS partition table (unless GPT is required)

  1. boot
  2. swap
  3. root
  4. home

This layout allows me to do whatever is needed. Also, I can move from distro version to version. My PMS installation is in /home/plex .


#26

Do you think i can check Ubuntu both 14.04 and 16.04 usind a Live CD and see if PMS works there? If it is a problem related with the 16.04 version i will install the 14.04 (in a new disk !)

Would you please recomend me againg the correct package and installation procedure to make a clear and correct installation, and not to follow wrong tutorials as i found in internet?

thanks very much
claudio