PMS "Failed to run the package service". Synology

Trouble running PMS on Diskstation.
I have/had PMS installed on my DS710+ and it was working fine until last night. I was able to access my media through my Ipad using the Plex app and it played the files and loaded all media without a problem. WHen I tried to access my through the media server option on my WDTV l could connect to PMS but when I tried to access my content there was nothing listed in the folder. I Then decided to stop and restart PMS on my diskstation but it failed to restart and I received the error message, "Failed to run the package service" I have also tried deleting and reinstalling PMS and rebooting the diskstation. My knowledge in these things aren't that great so any help would be appreciated.

Regards, M

I had the same problem.



Here’s what I did:

1- uninstalled PLEX via the Package Center in Diskstation Manager (DSM).

2- removed user “plex” from Control Panel-User.

3- removed shared folder “Plex” from Control Panel-Shared Folder.

4- rebooted Diskstation.

5- Reinstalled PLEX via the Package Center.



That made it work.



Mik

This worked for me. Thanks!

Also worked for me.  Thanks!!

Do you guys have any idea what the solution might be if the above thing isn´t working? Tried it several times now and no luck.

I'm using the spk from the Plex site.

It was working before but I had to do a fresh install of DSM including all it's packages.

DS210j

DSM 5.0-4458

Do you guys have any idea what the solution might be if the above thing isn´t working? Tried it several times now and no luck.

I'm using the spk from the Plex site.

It was working before but I had to do a fresh install of DSM including all it's packages.

DS210j

DSM 5.0-4458

What happens if you install the package, ignore the errors, reboot your Synology and then try and start PMS?

NOTE: Looking into the issue. Not sure what the actual error is, have yet to find the smoking gun, but it seems to be something in conjunction with DSM 5.0 4458.

- Mark

What happens if you install the package, ignore the errors, reboot your Synology and then try and start PMS?

NOTE: Looking into the issue. Not sure what the actual error is, have yet to find the smoking gun, but it seems to be something in conjunction with DSM 5.0 4458.

- Mark

I still got the message can't run service. I was trying to do this trick. I'm getting to the var/packages directory but can't get into the Plex Media Server directory. Message: can't CD to Plex. Can you help me out here?

Are you logged on as root? And what are permissions on that folder. I noticed that latest DSM thinks 000 are ok permissions on /volume1/Plex.


  • Mark

Also I already applies those things to the synology package


  • Mark

Are you logged on as root? And what are permissions on that folder. I noticed that latest DSM thinks 000 are ok permissions on /volume1/Plex.


- Mark

Hi Mark,

I´m logged in as root. How can I found out what the permissions are? I can get into the other directories in the packages folder.

*update* added a screenshot of my Putty session.Putty.png

Also I already applies those things to the synology package


- Mark

Not sure what you mean by this. I'm (trying) to run the spk downloaded directly from the Plex website

I still got the message can't run service. I was trying to do this trick. I'm getting to the var/packages directory but can't get into the Plex Media Server directory. Message: can't CD to Plex. Can you help me out here?

Got it! Because of the spaces in the name of the directory I was unable to open it. Putting the directory name between " (so cd "Plex Media Server" did the trick.

Or cd "Plex and then hit the tab key so it automatically fills in the folder name.

Now trying to do the rest of the other post.

Thanks for the response Mark! 

Hi Mark,

I´m logged in as root. How can I found out what the permissions are? I can get into the other directories in the packages folder.

*update* added a screenshot of my Putty session.Putty.png


Permissions are shown with ls -al


- Mark

Unfortunately the trick from the other post didn't work. I needed to add an * and , and these where already in place.   :(

Do you have any other suggestions?

Unfortunately the trick from the other post didn't work. I needed to add an * and , and these where already in place. :(
Do you have any other suggestions?


What I meant above is what is in the other post I already added to he synology packages. So my question is: what are permissions on /volume1/Plex:

ls -al /volume1/

And you could try and run these commands and reboot after that:

chmod 755 /volume1/Plex
synoshare --setuser Plex RW = admin,plex

Then reboot.


- Mark

What I meant above is what is in the other post I already added to he synology packages. So my question is: what are permissions on /volume1/Plex:

ls -al /volume1/

And you could try and run these commands and reboot after that:

chmod 755 /volume1/Plex
synoshare --setuser Plex RW = admin,plex

Then reboot.


- Mark

See picture below for permissions on the Plex folder. Please note that I made the Plex folder myself in the Shared Folder section of DSM since during install Plex isn't making one itself. It only makes a plex user.

plex-perm.png

I also ran the commands you suggest + a reboot. 

Not exactly sure what did the trick, but I got it running now!

Thanks again Mark! Really appreciate it!

See picture below for permissions on the Plex folder. Please note that I made the Plex folder myself in the Shared Folder section of DSM since during install Plex isn't making one itself. It only makes a plex user.
plex-perm.png

I also ran the commands you suggest + a reboot.
Not exactly sure what did the trick, but I got it running now!
Thanks again Mark! Really appreciate it!


That folder should be created on install of PMS. But I have seen cases where synoshare command has to be executed post install to make it actually work. And thanks for your info it gave me yet another idea of something to test to see if these errors can be overcome.


- Mark

I had the same problem.

Here's what I did:
1- uninstalled PLEX via the Package Center in Diskstation Manager (DSM).
2- removed user "plex" from Control Panel-User.
3- removed shared folder "Plex" from Control Panel-Shared Folder.
4- rebooted Diskstation.
5- Reinstalled PLEX via the Package Center.

That made it work.

Mik

Thanks Mik. Your solution was so easy.
:D

Raj

Hi Mark,

I´m logged in as root. How can I found out what the permissions are? I can get into the other directories in the packages folder.

*update* added a screenshot of my Putty session.Putty.png

cd Plex\ Media\ Server

You have to escape spaces.

Solution by Marketeermik worked for me too!