Thousandbuckle
Contributor
- Joined
- Jul 9, 2014
- Messages
- 136
Ahhh okay that makes sense. Sorry I didnt know the release date for the new version so I didnt think about that.
I agree 100%. Stick with the packages as @danb35 said.Problem with scripts for me is you have to be able to read the script to understand what it is doing and that is not a strong point form me yet.
That's because the default configuration of pkg is for the quarterly branch. If you want the latest you need to create a pkg override for the latest repository.Okay so it has been over a week and when I run pkg upgrade in my FreeNAS IoCage jail it does not see the new Plex update 1.18.0.1944
Is there a way to display / email via cron the version in my iocage and the version in the repo? I am ok running a manual update, just would like the system to tell me when it is worth while.
iocage exec plex "pkg -o IGNORE_OSVERSION=yes update -f ; pkg upgrade -y ; service plexmediaserver_plexpass restart"
Script run from Cron Job Updating FreeBSD repository catalogue... [plex] Fetching meta.txz: . done [plex] Fetching packagesite.txz: .......... done Processing entries: .......... done FreeBSD repository update completed. 30614 packages processed. All repositories are up to date. New version of pkg detected; it needs to be installed first. The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: pkg: 1.14.7 -> 1.15.5 Number of packages to be upgraded: 1 3 MiB to be downloaded. [plex] [1/1] Fetching pkg-1.15.5.txz: .......... done Checking integrity... done (0 conflicting) [plex] [1/1] Upgrading pkg from 1.14.7 to 1.15.5... [plex] [1/1] Extracting pkg-1.15.5: .......... done Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (0 candidates): . done Processing candidates (0 candidates): . done Checking integrity... done (0 conflicting) Your packages are up to date. Stopping plexmediaserver_plexpass. Waiting for PIDS: 71920, 71920. Cleaning up leftover child processes. Waiting for PIDS: 71987 71927, 71987. Starting plexmediaserver_plexpass.