Setting up Plex to auto-update within iocage jail using cron

Mark Holtz

Contributor
Joined
Feb 3, 2015
Messages
124
I am currently running TrueNAS-13.0-U5.3 with Plex set up in a jail and the following configuration:

Version: 1.32.5.7328
Plugin: plexmediaserver-plexpass
Release: 13.1-RELEASE-p9
Collection: https://github.com/freenas/iocage-ix-plugins.git

I have been utilizing a script at https://github.com/mstinaff/PMS_Updater to update the server, and have it set up to run as a cron job with the iocage as follows:
Code:
# Run the Plex update job weekly on Sundays at 23:00 (11:00 PM)
0 23 * * 0      $HOME/backupplex.sh

# Run the PMS Updater on a daily basis at 06:00 (6:00 AM)
#0 6 * * *      $HOME/PMS_Updater.sh

Unfortunately, a bad update took my Plex server down. Apparently, the incorrect token is now being passed, so I had to comment out that cron. Are they any suggestions for a better script that I can run to update Plex?
 

cdiddy

Dabbler
Joined
Oct 3, 2017
Messages
39
Did you check my signature?

There is a full plex install that updates itself included there.
where is your signature? I don't see it at the bottom of that post...
 

Davvo

MVP
Joined
Jul 12, 2022
Messages
3,222
where is your signature? I don't see it at the bottom of that post...
From mobile view you can't see signatures. Switch to dekstop view.
 

victort

Guru
Joined
Dec 31, 2021
Messages
973
From mobile view you can't see signatures. Switch to dekstop view.
Or zoom out…
 
Top