# Can't start plexconnect\_daemon.py

**URL:** <https://forums.plex.tv/t/cant-start-plexconnect_daemon-py/50076>\
**Category:** Apps & Creations\
**Created:** [December 15, 2013, 11:46pm UTC](https://forums.plex.tv/t/cant-start-plexconnect_daemon-py/50076 "2013-12-15T23:46:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![FleshFear](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/fleshfear/32/225375_2.png) [@FleshFear](https://forums.plex.tv/u/FleshFear)\
**Post date:** [December 15, 2013, 11:46pm UTC](https://forums.plex.tv/t/cant-start-plexconnect_daemon-py/50076/1 "2013-12-15T23:46:30Z")

</div>

Hi i just updated plexconnect yesterday.   
  
  
Before that i cloud start a plexconnect daemon up by writhing:  
  
Jexec plex\_1 Media/PlexConnect-master/PlexConnect\_daemon.py  
  
(My plex Lise within a jail)  
  
  
And it World start nicely.   
  
  
But now i says it can’t find fil or directory, but if login into the jail and Call up the daemon that Way.   
  
It says command not found.   
  
  
AS far as i Can ser the files are identical, so i dont know whist is happing.   
  
  
Can some help?

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [December 16, 2013, 9:50am UTC](https://forums.plex.tv/t/cant-start-plexconnect_daemon-py/50076/2 "2013-12-16T09:50:23Z")

</div>

I guess we need more data...

Host system, OS, what's "the jail"?

---

<div class="post-metadata">

**Author:** ![FleshFear](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/fleshfear/32/225375_2.png) [@FleshFear](https://forums.plex.tv/u/FleshFear)\
**Post date:** [December 16, 2013, 10:10am UTC](https://forums.plex.tv/t/cant-start-plexconnect_daemon-py/50076/3 "2013-12-16T10:10:52Z")

</div>

> I guess we need more data...
> 
> Host system, OS, what's "the jail"?

the host system is a Freenas 9.1.1 build on a freebsd&nbsp;

the jail is also a Freebsd

---

<div class="post-metadata">

**Author:** ![FleshFear](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/fleshfear/32/225375_2.png) [@FleshFear](https://forums.plex.tv/u/FleshFear)\
**Post date:** [December 16, 2013, 11:52am UTC](https://forums.plex.tv/t/cant-start-plexconnect_daemon-py/50076/4 "2013-12-16T11:52:56Z")

</div>

got it working by changing

#!/usr/bin/python

to

#!/usr/bin/env python

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [December 16, 2013, 2:16pm UTC](https://forums.plex.tv/t/cant-start-plexconnect_daemon-py/50076/5 "2013-12-16T14:16:04Z")

</div>

We have the second line usually... looks like it went belly-up in just the daemon code...

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [December 16, 2013, 2:16pm UTC](https://forums.plex.tv/t/cant-start-plexconnect_daemon-py/50076/6 "2013-12-16T14:16:14Z")

</div>

We have the second line usually... looks like it went belly-up in just the daemon code...

---

<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:** [December 21, 2019, 12:42am UTC](https://forums.plex.tv/t/cant-start-plexconnect_daemon-py/50076/7 "2019-12-21T00:42:06Z")

</div>

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