PMS "Failed to run the package service". Synology

FYI: there was a PMS bug that caused clean installs to initially fail. The next release will have an updated permission scheme, moving to synology ACL’s (They also agreed it made sense), and along with the startup bug things should just work from next release.


  • Mark

Hello All,

I have just successfully installed the latest version 0.9.9.7.429 using the Package Center. But still it can't run. Tried all listed solutions in this post wo success.

Any other potential issue ...

Thanks.

Twist

I have the same problem, even 9.9.8 can't be start, "The package service failed"  im keep getting..

How can we solve this?

FYI: there was a PMS bug that caused clean installs to initially fail. The next release will have an updated permission scheme, moving to synology ACL's (They also agreed it made sense), and along with the startup bug things should just work from next release.


- Mark

Mark when is the Next release coming out????

Mark when is the Next release coming out????


I don't know. It's when the devs get the next milestone completed.


- Mark

Finally managed to solve it by giving Plex user admin rights for Plex folder directly through the synology web interface.

T

I am having the same problem and I have tried all the fixes in this thread without any success.  Here is my ls -al /volume1/ results

plexLS.png

Also here is the synology web interface showing the permissions on plex

plexwebsec.png

Any other suggestions?

I am having the same problem and I have tried all the fixes in this thread without any success. Here is my ls -al /volume1/ results

plexLS.png

Also here is the synology web interface showing the permissions on plex

plexwebsec.png

Any other suggestions?

What PMS build are you running on?

Also try this before starting PMS (as root in terminal)

chown -R plex:users /volume1/Plex
synoacltool -add /volume1/Plex user:plex:allow:rwxpdDaARWcCo:fd--

- Mark

So I stopped working on this came back after a few hours and for kicks tried to see if the Plex Media Server would run and it did! No idea why it worked that time and not the last time I tested it.

Finally managed to solve it by giving Plex user admin rights for Plex folder directly through the synology web interface.

T

Thanks!!!! gave full rights on plex folder even ownership and that did it.  easy fix.

The removal of user and shared folders didn't work for me.

The addition of the plex user as an administrator worked.

Thanks for your help.

Synology 412Play

Hello,

since last update of Plex, it does start any more. I've done the unistall-remove user and share-reinstall procedure and the chown-synoacltool procedure, but none of those worked. I'm on DSM 4.3-3810 & plex 0.9.9.10.459-008ea34.

The strange this is that there nothing in any logs when I start PMS...

After investigation (and the help of a friend), I tryed starting manually /var/packages/Plex Media Server/scripts/start-stop-status (with start option, obviously).

And I got the following error message:

terminate called after throwing an instance of 'std::runtime_error'

  what():  locale::facet::_s_create_c_locale name not valid

Please help.

Hello,
 
since last update of Plex, it does start any more. I've done the unistall-remove user and share-reinstall procedure and the chown-synoacltool procedure, but none of those worked. I'm on DSM 4.3-3810 & plex 0.9.9.10.459-008ea34.
 
The strange this is that there nothing in any logs when I start PMS...
 
After investigation (and the help of a friend), I tryed starting manually /var/packages/Plex Media Server/scripts/start-stop-status (with start option, obviously).
And I got the following error message:
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_s_create_c_locale name not valid
 
Please help.


Can you try the latest plex pass version, there were some updates to the synology packaging after 0.9.9.10.

- Mark

Hi Mark,

upgraded to 0.9.9.12.504-3e7f93c.

Same error...

Investigating (with my short Synology/Linux knowledge) the "locale" issue, I found this page.

But I already have the en_US locale (checked with locale -a)

That just did the trick for me to, upgrading from 9.12.12.to 9.12.13. Upgrade worked fine, no error messages, but it just wouldn’t start.

Wish I had found short and simple solution before reinstalling older versions, several times, and a lot of other tries…

One tip though. Backup your Plex/Library/Application Support folder before deleting it in step 3.

That way you can put it back again after 5, and your back in business!

Thanks,
Marius

@Marketeermik said:
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

i just updated from 9.16.6 to 9.17.2 and i cant start it now. ive tried the steps above with no results… what can i do?? why is it so hard with these permissions?? :slight_smile:

@trumpy81 said:
See this thread: https://forums.plex.tv/discussion/comment/1195825/#Comment_1195825

thanks… downgrading to 9.16.6 did the trick