This thread can serve as an experience blog on how to update your emby jail. As i have installed the emby server a good 100 times I can share some of my experience.
Personally I performed the updates this morning and it took less than 5 minutes.
In order to make sure i don't touch my production server (jail), i always create a new server (new jail) and copy my data over, test, and go live. (with rsync 1.5gb database 10 seconds of copying)
If you are coming from 126.96.36.199 to 188.8.131.52 i can only recommend going the first route as the database is already updated and the folder structure is the same, you just need to know where your jails are saved and then its ez pz. (its always good where your precious data is, maybe make a snapshot of them or copy them to an unrelated location)
# Starting Fresh and copying the DB (Creating a new jail and copying over my settings)
I created a new jail: (creates a new jail just called emby-server)
#stable cd /tmp wget https://raw.githubusercontent.com/ma-karai/iocage-plugin-emby/master/emby-server.json iocage fetch -P dhcp=on vnet=on bpf=yes allow_raw_sockets=1 -n emby-server.json --branch 'master'
added my storage via the gui and rsynced over my settings directory with.
# old location # new location rsync -vrlpogth /mnt/evo/iocage/jails/emby-server-beta75/root/var/db/emby-server/ /mnt/evo/iocage/jails/emby-server/root/var/db/emby-server/
# Updated a Beta server running 184.108.40.206
Since i knew i was already with the new database it was quite straight forward. only thing i had to do was add the libraw package that was newly added at somepoint, and update
login to your emby-beta-jail shell (with gui or with iocage console YOURJAILNAME) then
pkg install libraw service emby-server stop pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/220.127.116.11/emby-server-freebsd_18.104.22.168_amd64.txz service emby-server start
Restart the jail
# Updated a Beta server running 22.214.171.124
log into the shell of the jail and
service emby-server stop pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/126.96.36.199/emby-server-freebsd_188.8.131.52_amd64.txz service emby-server start
Edited by makarai, 26 April 2019 - 07:41 AM.