PMS shut down every time I want to launch it

Server Version#:1.29.2.6364-7000/1.41.0.8992-8463
Synology Version#:DSM 7.2.1_69057 - Update 5
Hello everyone !
I’m having some trouble with my plex server for two days now as it is just shut down and it’s not possible to make it work again for an unknown reason. I didn’t updated my version wether of PMS or my Synology, I didn’t updated a new media whatsoever since a week or so. It just stopped and whenever I want to restart PMS on my NAS it start booting, and then stops immediatly. I would share you the error logs, but they don’t show up in the folders. However, a new folder is created in te crash reports whenever it happens.

As of right now, the things I did was to re-install the newest version of PMS on my NAS. And then I uninstalled it (without deleteing any folders, or metadata) to install the one available via the Synology package center wich is the 1.29… but it didn’t work either. So I don’t really know what do right now, but asking for help.

I would be thankfull to anyone that can help me please.

PS: My NAS is a DS420+

Using FileStation –

  1. PlexMediaServer - AppData - Plex Media Server
  2. Right-click LogsCompress to Logs.zip
  3. Download the ZIP to your computer
  4. Upload ZIP file here

I’ll look at it

Logs.zip (4.3 MB)
Thank you for the answer, here are the logs as requested. Hope it will be helpfull :slight_smile:

Your logs show me 13-Sep as the last PMS activity.
Is this correct?

Since then, did your Synology get upgraded to DSM 7.2.2 ?

If yes, then you need to update the PMS package. This version of PMS is not compatible with DSM 7.2.2 (they made changes)

On the Plex downloads page, you will find the Synology DSM 7.2.2+ selection.
Use that selector.

Download the SPK for your machine and perform “Normal Installation”.

If not, please explain what, if anything you know, changed since then.
Your logs show no indication of error.

Yes, the last time I could use Plex, was this friday, so 13-Sep. For the Synology, my version is still the DSM 7.2.1_69057 - Update 5, so that’s why i didn’t downloaded, the newer 7.2.2 one. and well… I can’t really tell what changed since then… Except that for a totally unknown reason I had to restart my NAS on 13-Sep, because every single app weren’t working anymore. though, when I restarted the NAS, everything (except Plex) was working fine.

How good are you with the ssh command line?

Would it be possible for you to ssh ( enable it in “Control Panel → Terminal & SNMP)”

Putty/ssh into the Syno (the pasword will not echo anything so be careful)
then type df -h at the prompt

It will look something like this:

chuck@ds418's password: 

Using terminal commands to modify system configs, execute external binary
files, add files, or install unauthorized third-party apps may lead to system
damages or unexpected behavior, or cause data loss. Make sure you are aware of
the consequences of each command and proceed at your own risk.

Warning: Data should only be stored in shared folders. Data stored elsewhere
may be deleted when the system is updated/restarted.

chuck@ds418:~$ df -h
Filesystem                 Size  Used Avail Use% Mounted on
/dev/md0                   2.3G  1.2G  993M  56% /
devtmpfs                   476M     0  476M   0% /dev
tmpfs                      495M   40K  495M   1% /dev/shm
tmpfs                      495M   16M  479M   4% /run
tmpfs                      495M     0  495M   0% /sys/fs/cgroup
tmpfs                      495M   28M  467M   6% /tmp
tmpfs                       99M     0   99M   0% /run/user/196791
/dev/vg1/volume_2          7.2T  506G  6.7T   7% /volume2
/dev/vg1000/lv             7.2T  2.1T  5.2T  29% /volume1
192.168.0.20:/vol/plex/qa  110T   77T   33T  71% /volume1/glock/qa
192.168.0.20:/vol/media    110T   77T   33T  71% /volume1/glock/media
192.168.0.20:/vol/media    110T   77T   33T  71% /volume1/migrate/OtherNAS
/dev/loop0                  27M  767K   24M   4% /tmp/SynologyAuthService
chuck@ds418:~$

What I’m looking for is one of your partitions (volumes) to be 100% full.
100% full would stop Plex from starting.

There is another way to do this:

Control Panel - Task Scheduler - User Script
Create button → User-Script

It looks like this:

The command to type in is

df -h

Disk Free – displayed in (-h)uman readable units.

The results will be in your email

Here is the result :

Filesystem Size Used Avail Use% Mounted on
/dev/md0 2.3G 1.6G 665M 70% /
devtmpfs 873M 0 873M 0% /dev
tmpfs 877M 60K 877M 1% /dev/shm
tmpfs 877M 26M 852M 3% /run
tmpfs 877M 0 877M 0% /sys/fs/cgroup
tmpfs 877M 29M 848M 4% /tmp
/dev/loop0 27M 768K 24M 4% /tmp/SynologyAuthService
/dev/mapper/cachedev_0 14T 14T 237G 99% /volume2
/dev/mapper/cachedev_1 3.5T 3.2T 313G 92% /volume1
/dev/usb1p1 1.8T 519G 1.3T 29% /volumeUSB1/usbshare
tmpfs 1.0T 0 1.0T 0% /dev/virtualization

For the follow up, I finally did installed the last DSM update from the Synology website for my NAS, and then installed the PMS build specifically for the 7.2.2 Syno NASes. It was installed, but still stops whenever I want to launch it. I’m currently migrating some files from my volume 2, which is the one that is at 99% of use, to an external drive. Surely this is part of the problem, though, until last time, Plex was working fine with my volume at 97-98% of use…

Lets start with a copy of your server logs

Aren’t they the ones I shared a few messages earlier ?

Edit: Oops, my bad, I didn’t see there was new logs in the folder even if the server was still not working.

Valoo24_Logs_16092024.zip (4.3 MB)

I have the same issue. I’ve not managed to update PMS since version
PlexMediaServer-1.40.2.8395-c67dce28e-x86_64_DSM7.spk
this was the last working version for me.
So today I updated my Synology manually to version 7.2.2-72806
I then installed the dsm72 version
PlexMediaServer-1.41.0.8992-8463ad060-x86_64_DSM72.spk
and I end up with the same issue.
It Runs, but very soon after stops.

I have just done the df -h (via task schedular love that btw)

this is what was emailed to me

Task Scheduler has completed a scheduled task.

Task: Check Disk Space
Start time: Mon, 16 Sep 2024 16:41:23 +0100
Stop time: Mon, 16 Sep 2024 16:41:24 +0100
Current status: 0 (Normal)
Standard output/error:
Filesystem Size Used Avail Use% Mounted on
/dev/md0 7.9G 1.5G 6.3G 20% /
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 244K 3.9G 1% /dev/shm
tmpfs 3.9G 26M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
tmpfs 3.9G 31M 3.9G 1% /tmp
/dev/loop0 27M 767K 24M 4% /tmp/SynologyAuthService
/dev/vg1/volume_1 9.6T 6.9T 2.7T 72% /volume1
/dev/vg1/volume_1 9.6T 6.9T 2.7T 72% /volume1/homes/#snapshot
/dev/vg1/volume_1 9.6T 6.9T 2.7T 72% /volume1/NetBackup/#snapshot
/dev/vg1/volume_1 9.6T 6.9T 2.7T 72% /volume1/Scans/#snapshot
/dev/vg1/volume_1 9.6T 6.9T 2.7T 72% /volume1/Shared/#snapshot
/dev/vg1/volume_1 9.6T 6.9T 2.7T 72% /volume1/temp/#snapshot
tmpfs 791M 0 791M 0% /run/user/196791
/dev/loop1 15G 57M 15G 1% /volume1/@accountdb/@accountcache
/dev/sdr1 2.7T 1.3T 1.5T 48% /volumeUSB1/usbshare
/dev/sdq1 3.6T 3.4T 211G 95% /volumeUSB2/usbshare
tmpfs 1.0T 0 1.0T 0% /dev/virtualization

@ChuckPa could this be the issue?

Is this a Virtual DSM installation?

If so, it will never work.

Synology keeps barking at us too.

They have a weird environment and for as flexible as we are (we bring our own runtime kernel library), it will not work with virtual DSM.
– which is the main reason PMS doesn’t get updated in Package Center automatically when we release

I’m not sure to follow you about the virtual DSM installation… I do have the container app… which I don’t use anymore, with no image or container running. I also have the Virtual Machine app, but also, I don’t use it anymore since a while now… DSM is not installed as a VM also, but as is on my Synology machine. Though, because I had less memory recently, I did have an error message about the virtual machine that couldn’t launch correctly because I hadn’t enough memory space, could it be the issue ? What could I do to fix it ?

Edit : Ok so I checked my VMs, and DSM is indeed running as a VM… Wich Is a setup I never did by myself… What could I do ?

You’re going to need to start unwinding …

Uninstall virtual dsm

Immediately after you do, if using the native Plex app, look for the Plex (DSM 6) or PlexMediaServer (DSM 7) shared folder. If they exist, and have contents underneath the ‘Plex Media Server’ folder, then you can simply install the native Plex app and it will start working

If for some reason it doesn’t , Use FileStation to dive in under Plex Media Server and make a ZIP (right click ‘Logs’ → ‘Compress to Logs.zip’),
Download it
then upload here

Ok, thanks for the advice :wink:

Here are the logs :
Valoo24_Logs17092024.zip (4.3 MB)

Thank you.

This is very disturbing. It’s as if PlexMediaServer does not have permission to access its own files.

I would like to conduct a test.

  1. Control Panel - Shared Folders
  2. Rename “PlexMediaServer” → “PlexMediaServer.OLD”
  3. Package Center - Plex Media Server
  4. Uninstall (Normal uninstall - Uninstall Only)
  5. Reinstall the package for your machine
  6. Start Plex
  7. If all is well, you will be creating an entirely new server instance.

If you are able to get Plex to start then I know the problem.

1 Like

Holy cow that worked ! Thank you.

Do I have to setup this new server or is there a way to get back the old metadata ? If not, it’s not a big deal, just wondering. Also, by curiosity, can you exeplain to me what was the problem ? As I could maybe avoid doing some mistakes in the future.

That tells me a great deal. It sounds like someone played with / broke the shared folder permissions.

We can fix this:

  1. Stop Plex
  2. Rename PlexMediaServer shared folder → PlexMediaServer.new
  3. Rename PlexMediaServer.OLDPlexMediaServer
  4. Follow the procedure below to fix all the permissions inside the PlexMediaServer shared folder.
  5. Attempt to start Plex.
  6. If it works correctly, We will be back to normal.

Please let me know your progress.

1 Like

Well I’m stuck with the Task Scheduler at step 4. I did it as previously for the df -h task but following each step of your guide (with the root user, etc…). Unfortunatly I don’t receive the email with the result… Actually I don’t think it is sent at all. I checked the value I typed in the form, and it’s my valid email. Is there a way to make the command from your guide work by SSH maybe ?