# Plexmediaserver.service: Failed with result 'exit-code'

**URL:** <https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000>\
**Category:** General Discussions\
**Tags:** server-linux\
**Created:** [March 30, 2020, 7:36pm UTC](https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000 "2020-03-30T19:36:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vesterbro74](https://avatars.discourse-cdn.com/v4/letter/v/b9bd4f/32.png) [@vesterbro74](https://forums.plex.tv/u/vesterbro74)\
**Post date:** [March 30, 2020, 7:36pm UTC](https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000/1 "2020-03-30T19:36:51Z")

</div>

Hi.

I have had a plex server running on an old windows laptop. But i recently bought a pc that i am using as a ubuntu server (with gui for my main tv). I am a complete noob at this, but i have tried to lookup the problem with no luck. I hope some kind soul can help me with this.

bro@ systemctl status plexmediaserver ● plexmediaserver.service - Plex Media Server for Linux Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled Active: failed (Result: exit-code) since Mon 2020-03-30 19:14:41 UTC; 2min 15s ago Process: 3193 ExecStart=/bin/sh -c LD\_LIBRARY\_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmed Process: 3173 ExecStartPre=/bin/sh -c /usr/bin/test -d "{PLEX\_MEDIA\_SERVER\_APPLICATION\_SUPPO  
Main PID: 3193 (code=exited, status=255)

Mar 30 19:14:41 vesterbro systemd[1]: plexmediaserver.service: Service hold-off time over, sche  
Mar 30 19:14:41 vesterbro systemd[1]: plexmediaserver.service: Scheduled restart job, restart c  
Mar 30 19:14:41 vesterbro systemd[1]: Stopped Plex Media Server for Linux.  
Mar 30 19:14:41 vesterbro systemd[1]: plexmediaserver.service: Start request repeated too quick  
Mar 30 19:14:41 vesterbro systemd[1]: plexmediaserver.service: Failed with result ‘exit-code’.  
Mar 30 19:14:41 vesterbro systemd[1]: Failed to start Plex Media Server for Linux.

After installing plex media server following a guide, i keep getting the same error. i have made a ufw file to allow plex access but same issue. can anyone help me with this ? i have gotten samba working on my network and all im missing is plex.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 30, 2020, 8:39pm UTC](https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000/2 "2020-03-30T20:39:03Z")

</div>

Which PMS version did you install?  
If you’ve installed anything recent ( from plex.tv/downloads) the installer should have done a lot for you.

1. It will have setup the ser
2. It will have created all the directories for you
3. It will also have told you whether or not it started the service.
4. Lastly, it will have written a “plexinstaller.log” file in `/tmp`

Can you show me what it reported during installation and/or what the installer log file has?

---

<div class="post-metadata">

**Author:** ![vesterbro74](https://avatars.discourse-cdn.com/v4/letter/v/b9bd4f/32.png) [@vesterbro74](https://forums.plex.tv/u/vesterbro74)\
**Post date:** [March 31, 2020, 6:15am UTC](https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000/3 "2020-03-31T06:15:41Z")

</div>

Thanks for the reply.  
This is the package i downloaded plexmediaserver\_1.13.5.5332-21ab172de\_amd64.deb.  
This is the plexinstaller.log

# Plex Media Server installation configuration info: Mon Mar 30 17:49:57 UTC 2020

Init=0  
Systemd=1  
LinuxContainer=0  
NewInstall=1  
HaveOverride=0  
OverrideFile=""  
PlexUser=“plex”  
PlexGroup=“plex”  
VideoGroup=“video”  
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"  
PlexTempDir="/var/lib/plexmediaserver/tmp\_transcoding"  
LangEncoding=“en\_US.UTF-8”  
ExistingVersion=0  
HaveHardware=1  
NeedUser=1  
NeedGroup=1  
NeedVideo=1  
Verbose=1  
Running=1

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 31, 2020, 6:32am UTC](https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000/4 "2020-03-31T06:32:04Z")

</div>

Would you consider downloading **current** version from Plex.tv/downloads ?

1.13.5 was the prototype packaging.

Packaging is now fully production.

Please uninstall any DEB package you have (your data is safe)  
Now install current.

---

<div class="post-metadata">

**Author:** ![vesterbro74](https://avatars.discourse-cdn.com/v4/letter/v/b9bd4f/32.png) [@vesterbro74](https://forums.plex.tv/u/vesterbro74)\
**Post date:** [March 31, 2020, 6:54am UTC](https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000/5 "2020-03-31T06:54:41Z")

</div>

> [@vesterbro74](#):
>
> NeedUser=1

Just removed old install and downloaded new from plex. but same error.

# Plex Media Server installation configuration info: Tue Mar 31 06:52:08 UTC 2020

Init=0  
Systemd=1  
LinuxContainer=0  
NewInstall=0  
HaveOverride=0  
OverrideFile=“”  
PlexUser=“plex”  
PlexGroup=“plex”  
VideoGroup=“video”  
AppSuppDir=“/var/lib/plexmediaserver/Library/Application Support”  
PlexTempDir=“/var/lib/plexmediaserver/tmp\_transcoding”  
LangEncoding=“en\_US.UTF-8”  
ExistingVersion=0  
HaveHardware=1  
NeedUser=0  
NeedGroup=0  
NeedVideo=0  
Verbose=1  
Running=1

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 31, 2020, 6:55am UTC](https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000/6 "2020-03-31T06:55:04Z")

</div>

May I see the console window output as well please?

This shows the validation scan and installation warnings / errors if any are present.

If there are no errors/warnings, the next will be to look at any logs in the`Logs` directory under `Plex Media Server` (tar.gz)

---

<div class="post-metadata">

**Author:** ![vesterbro74](https://avatars.discourse-cdn.com/v4/letter/v/b9bd4f/32.png) [@vesterbro74](https://forums.plex.tv/u/vesterbro74)\
**Post date:** [April 3, 2020, 10:37am UTC](https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000/7 "2020-04-03T10:37:02Z")

</div>

Sorry for the slow reply, life is a bit hectic these days.

I tried to do a new install after a reboot, and it worked! so its running now, thanks for the help my good man.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 2, 2020, 10:37am UTC](https://forums.plex.tv/t/plexmediaserver-service-failed-with-result-exit-code/565000/8 "2020-07-02T10:37:06Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
