Skip to content

Instantly share code, notes, and snippets.

@yoyosan
Last active August 13, 2019 07:50
Show Gist options
  • Save yoyosan/eb9964cd349488425f5f393ab80f1891 to your computer and use it in GitHub Desktop.
Save yoyosan/eb9964cd349488425f5f393ab80f1891 to your computer and use it in GitHub Desktop.
FreeNAS 11.2 - Update Emby server to recent release

Install through the web interface a fresh jail of EmbyServer.

Connect to the NAS through SSH:

iocage console emby
service emby-server stop
cd /tmp
# latest releases can be found here: https://github.com/MediaBrowser/Emby.Releases/releases
fetch https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd11_4.2.1.0_amd64.txz
tar xvf emby-server-freebsd11_4.2.1.0_amd64.txz
cp -Rfp /tmp/usr/local/lib/emby-server/ /usr/local/lib/emby-server/
rm -rf usr/
rm emby-server-freebsd11_4.2.1.0_amd64.txz
service emby-server start

Emby server important locations:

  • Service: /usr/local/etc/rc.d/emby-server
  • Data: /var/db/emby-server
  • Logs: /var/db/emby-server/logs
  • Core: /usr/local/lib/emby-server

iocage tools

  • connect to jail: iocage console <jail>
  • list jail mounts: iocage fstab <jail> -l
  • jail fstab help: iocage fstab --help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment