Plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup

Server Version#:11.2
Player Version#:various

When I try to manually update PMS in an ‘old-style’ jail on FreeNAS (I haven’t bothered moving it, because it works fine, and I’m worried something may go wrong), I have been getting this error message for a while now. Can somebody please tell me how I can solve this? Thanks

This refers to the rc.d script so it might be a better question to ask in freebsd /nas forums.

Still it sound like this is out of context, cause the script would never be in /etc/rc.d but /usr/local/etc/rc.d

Please paste the full error and the command you executed to see such error, or even a screenshot, and we might be able to help.

Thanks for the reply. Here is the full output of the console:

[root@freenas ~]# jexec 4 csh                                                                                                       
root@plexmediaserver_1:/ # ./update.sh                                                                                              
/lib/libc.so.7: version FBSD_1.5 required by /usr/local/share/plexmediaserver-plexpass/lib/libpython2.7.so.1 not found              
Using URL https://plex.tv/api/downloads/1.json?channel=plexpass                                                                     
Downloading https://plex.tv/api/downloads/1.json?channel=plexpass                                                                   
--2019-03-31 22:54:01--  https://plex.tv/api/downloads/1.json?channel=plexpass                                                      
Resolving plex.tv (plex.tv)... 52.50.147.131, 52.31.211.151, 54.171.147.115, ...                                                    
Connecting to plex.tv (plex.tv)|52.50.147.131|:443... connected.                                                                    
HTTP request sent, awaiting response... 302 Found                                                                                   
Location: https://plex.tv/pms/downloads/5.json?channel=plexpass [following]                                                         
--2019-03-31 22:54:01--  https://plex.tv/pms/downloads/5.json?channel=plexpass                                                      
Reusing existing connection to plex.tv:443.                                                                                         
HTTP request sent, awaiting response... 200 OK                                                                                      
Length: unspecified [application/json]                                                                                              
Saving to: ‘/tmp/1.json?channel=plexpass’                                                                                           
                                                                                                                                    
1.json?channel=plexpass              [ <=>                                                       ]  16.84K  --.-KB/s    in 0s       
                                                                                                                                    
Last-modified header missing -- time-stamps turned off.                                                                             
2019-03-31 22:54:01 (92.9 MB/s) - ‘/tmp/1.json?channel=plexpass’ saved [17243]                                                      
                                                                                                                                    
Download Complete                                                                                                                   
Searching https://plex.tv/api/downloads/1.json?channel=plexpass for the FreeBSD download URL .....Done.                             
Downloading https://downloads.plex.tv/plex-media-server-new/1.15.3.835-5d4a5c895/freebsd/PlexMediaServer-1.15.3.835-5d4a5c895-FreeBS
D-amd64.tar.bz2                                                                                                                     
--2019-03-31 22:54:03--  https://downloads.plex.tv/plex-media-server-new/1.15.3.835-5d4a5c895/freebsd/PlexMediaServer-1.15.3.835-5d4
a5c895-FreeBSD-amd64.tar.bz2                                                                                                        
Resolving downloads.plex.tv (downloads.plex.tv)... 2606:4700::6812:9d29, 2606:4700::6812:9c29, 104.18.157.41, ...                   
Connecting to downloads.plex.tv (downloads.plex.tv)|2606:4700::6812:9d29|:443... failed: No route to host.                          
Connecting to downloads.plex.tv (downloads.plex.tv)|2606:4700::6812:9c29|:443... failed: No route to host.                          
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.157.41|:443... connected.                                                
HTTP request sent, awaiting response... 304 Not Modified                                                                            
File ‘/tmp/PlexMediaServer-1.15.3.835-5d4a5c895-FreeBSD-amd64.tar.bz2’ not modified on server. Omitting download.                   
                                                                                                                                    
Download Complete                                                                                                                   
Verifying /tmp/PlexMediaServer-1.15.3.835-5d4a5c895-FreeBSD-amd64.tar.bz2 .....Done                                                 
Removing previous PMS Backup .....Done.                                                                                             
Stopping Plex Media Server .....plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup                           
directories (/usr/local/etc/rc.d)                                                                                                   
Done.                                                                                                                               
Moving current Plex Media Server to backup location .....Done.                                                                      
Extracting /tmp/PlexMediaServer-1.15.3.835-5d4a5c895-FreeBSD-amd64.tar.bz2 .....Done.                                               
Starting Plex Media Server .....plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup                           
directories (/usr/local/etc/rc.d)                                                                                                   
Done.                                                                                                                               
root@plexmediaserver_1:/ #

Im also getting the same errors trying to update via the same method.

Same issue here.

Download Complete
Verifying /tmp/PlexMediaServer-1.15.3.876-ad6e39743-FreeBSD-amd64.tar.bz2 .....D                                                                                                                                    one
Removing previous PMS Backup .....Done.
Stopping Plex Media Server .....plexmediaserver_plexpass does not exist in /etc/                                                                                                                                    rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
Done.
Moving current Plex Media Server to backup location .....Done.
Extracting /tmp/PlexMediaServer-1.15.3.876-ad6e39743-FreeBSD-amd64.tar.bz2 ....Done.
Starting Plex Media Server .....plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
Done.

Anyone have an idea?

Did anyone solve this?

Any update on this? I get the same message and the update does not finish.

has anyone been able to resolve?

I also get this error when trying to run the upgrade script:

Starting Plex Media Server …plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable

Any ideas?

Same problem here. Using PMS upgrade script on a jail in FreeNAS. It has been successful in the past but now there is a problem. If I run the install script in automatic update mode it says I already have the latest version of Plex plugin. I also tried the manual force install and I get an error.

auto:

root@plexmediaserver_1:/ # ./PMS_Updater.sh -u user@domain -a -v
Using URL https://plex.tv/api/downloads/5.json?channel=plexpass
Downloading https://plex.tv/api/downloads/5.json?channel=plexpass
–2019-04-26 08:02:56-- https://plex.tv/api/downloads/5.json?channel=plexpass
Resolving plex.tv (plex.tv)… 99.81.119.124, 99.80.10.222, 99.80.242.182
Connecting to plex.tv (plex.tv)|99.81.119.124|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [application/json]
Saving to: ‘/tmp/5.json?channel=plexpass’

5.json?channel=plexpass [ <=> ] 19.79K --.-KB/s in 0.005s

Last-modified header missing – time-stamps turned off.
2019-04-26 08:02:56 (3.97 MB/s) - ‘/tmp/5.json?channel=plexpass’ saved [20267]

Download Complete
Searching https://plex.tv/api/downloads/5.json?channel=plexpass for the FreeBSD download URL …Done.
Already running latest version v1.15.5.994-4610c6e8d

manual:

root@plexmediaserver_1:/ # ./PMS_Updater.sh -u user@domain.com -l pms.bz2 -a -f -v
Verifying pms.bz2 …Done
Removing previous PMS Backup …Done.
Stopping Plex Media Server …plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
Done.
Moving current Plex Media Server to backup location …Done.
Extracting pms.bz2 …Done.
Starting Plex Media Server …plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d), or is not executable
Done.
root@plexmediaserver_1:/ # plexmediaserver_plexpass does not exist in /etc/rc.d or the local startup

I have the same problem…

Isn’t there somebody who could please look into this? It seems to be a recurring issue for many users (I still have the same problem too). Thanks!

If you’re wanting to use this to update Plexpass train, you’ll need to install the FreeNAS Plexpass Plugin.

I went ahead and edited the PMS_Update script myself, just removing the “-plexpass” and “_plexpass” parts from the script and it did update to the new version.

But now I get “Server settings not available”. Any ideas how to solve troubleshoot that?

PMS_Updater_npp.sh.txt (9.2 KB)

Update: it seems the agents are down as well… not recommended yet. :wink:

1 Like

I don’t quite understand. This edited file does seem to work for me

[section cut]
Download Complete                                                                                                                   
Verifying /tmp/PlexMediaServer-1.15.6.1079-78232c603-FreeBSD-amd64.tar.bz2 .....Done                                                
Removing previous PMS Backup .....Done.                                                                                             
Stopping Plex Media Server .....Stopping plexmediaserver.                                                                           
Waiting for PIDS: 10030.                                                                                                            
Cleaning up leftover child processes.                                                                                               
Waiting for PIDS: 10442 10441 10439 10438 10432.                                                                                    
Done.                                                                                                                               
Moving current Plex Media Server to backup location .....Done.                                                                      
Extracting /tmp/PlexMediaServer-1.15.6.1079-78232c603-FreeBSD-amd64.tar.bz2 .....Done.                                              
Starting Plex Media Server .....Starting plexmediaserver.                                                                           
Done.

But then when I startup Plex, it still tells me “A Plex Media Server update is available for the server FreeNas! 1.1.5.6.1079”. Which seems to be the one I apparently just installed… Am I missing something?

You should check the path of your plex installation in the plexmediaserver service file in /etc/rc.d or /usr/local/etc/rc.d. If it is not /usr/local/share/plexmediaserver, you should change path in the script I edited accordingly.

What changed as I am having the same issue but nothing has changed on my freenas server. The update script has worked forever and now all of a sudden I am also getting the error stating it was not in the directory the script expected. On some other forums they suggested upgrading to the latest freenas version but I am weary of doing that out of fear of losing all of my plex meta data and settings not to mention for whatever reason in windows 10 I have had a lot of trouble getting the shares to work and getting remote to work on plex. Is there any chance this update script which has worked for years will get fixed to work again

I add the same issue and fixed it by updating Freenas and install Plex with new version of Freenas

freenas) . Don’t ask me the difference I have no idea.

Anyway, if you update freenas your actual Plex will not be visible in freenas but still be accessible. You can then install the
new version of Plex through the graphic interface.

At the end, copy the metadata from the warden plex (old) to the iocage plex (new). You should find some tuto but basically it is
just copy/paste from one folder to the other

And you’re done !

Another plea for this to be fixed. It seems the only choice is migrating to iocage. For my use, iocage serves absolutely zero purpose. I only use FreeNAS for Plex. Warden jails work perfectly well. The script to update Plex in FreeNAS used to work perfectly well. I have never seen a Plex plugin update in FreeNAS so the manual script has been the only way to ever keep Plex current. I just don’t understand why it is now so difficult to keep Plex up to date?!?

I had a similar problem, but i solved it within a iocage jail by adding the following statement to my /etc/rc.conf file:

plexmediaserver_plexpass_enable=“YES”

I installed the Plex Media server using the “pkg install plexmediaserver_plexpass” command and using the plexmediaserver_plexpass repo. I have been able to upgrade my Plex Media server using these commands in a script:

service plexmediaserver_plexpass stop
pkg update && pkg upgrade -y
service plexmediaserver_plexpass restart

Hope this helps!

Hey djenk36us!

Your comment

using the plexmediaserver_plexpass repo

How can I add that repo? When I try to run “pkg install plexmediaserver_plexpass” I receive

Updating FreeBSD repository catalogue…
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching ‘plexmediaserver_plexpass’ have been found in the repositories

Please advise, Thanks!