Jump to content

New FreeNAS Package for testing


Luke

Recommended Posts

Thanks for the info. We'll go through that and see if the instructions need updating.

Link to comment
Share on other sites

Eddie

So i have been messing around with this and i dont know why this happens but i thought you should know.

 

FreeNAS-11.2-BETA1

 

When i run 

 

 
iocage fetch -P --name emby-server.json ip4_addr="em0|192.168.0.4/24”
 
 
i get this
 
root@freenas:~ # iocage fetch -P --name emby-server.json ip4_addr="em0|192.168.0.4/24"
Creating volume/iocage                                                                                                               
Creating volume/iocage/download                                                                                                      
Creating volume/iocage/images                                                                                                        
Creating volume/iocage/jails                                                                                                         
Creating volume/iocage/log                                                                                                           
Creating volume/iocage/releases                                                                                                      
Creating volume/iocage/templates                                                                                                     
[0] BackupPC - BackupPC is a high-performance, enterprise-grade system for backing up Linux, WinXX and MacOSX PCs and laptops to a server's disk. (backuppc)                                                                                                              
[1] Bacula-server - programs to manage backup, recovery, and verification of computer data across a network of computers of different kinds (bacula-server)                                                                                                               
[2] BRU Server - BRU Server™ Backup and Recovery Software by TOLIS Group, Inc. (bru-server)                                          
[3] BitTorrent Sync - Resilient, fast and scalable file sync software for enterprises and individuals. (btsync)                      
[4] ClamAV - ClamAV® is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. (clamav)  
[5] CouchPotato - CouchPotato is an automatic NZB and torrent downloader. (couchpotato)                                              
[6] Deluge - Bittorrent client using Python, and libtorrent-rasterbar (deluge)                                                       
[7] Emby - Home media server built using mono and other open source technologies (emby)                                              
[8] GitLab - Powerful features for modern software development (gitlab)                                                              
[9] irssi - Irssi is a modular IRC client that currently has only text mode user interface, but 80-90% of the code isn't text mode specific, so other UIs could be created pretty easily. (irssi)                                                                         
[10] Jenkins - Jenkins CI (jenkins)                                                                                                  
[11] Jenkins (LTS) - Jenkins CI (Long Term Support Version) (jenkins-lts)                                                            
[12] MadSonic - Open-source web-based media streamer and jukebox. (madsonic)                                                         
[13] MineOS - MineOS is a series of tutorials and distributions designed to help Minecraft enthusiasts successfully host Minecraft on a Linux or BSD-based platform. (mineos)
[14] NextCloud - Access, share and protect your files, calendars, contacts, communication & more at home and in your enterprise. (nextcloud)
[15] Plex Media Server - The Plex media server system (plexmediaserver)
[16] Plex Media Server (PlexPass) - The Plex media server system (plexmediaserver-plexpass)
[17] qbittorrent - qBittorrent is the open source bittorrent client in C++/Qt that uses libtorrent-rasterbar. (qbittorrent)
[18] Quasselcore - Quassel Core is a daemon/headless IRC client, part of Quassel, that supports 24/7 connectivity. Quassel Client can be attached to it to. (quasselcore)
[19] radarr - Radarr is a fork of Sonarr to work with movies in the style of Couchpotato. (radarr)
[20] Redmine - Redmine Bugtracker (redmine)
[21] sabnzbd - SABnzbd is a cross-platform binary newsreader. (sabnzbd)
[22] SickRage - Automatic Video Library Manager for TV Shows (sickrage)
[23] Sonarr - PVR for Usenet and BitTorrent users (sonarr)
[24] SubSonic - Open-source web-based media streamer and jukebox. (subsonic)
[25] Syncthing - Personal cloud sync (syncthing)
[26] Tarsnap - Online encrypted backup service (client) (tarsnap)
[27] Transmission - Fast and lightweight daemon BitTorrent client (transmission)
[28] TinyTinyRSS - Open source web-based news feed (RSS/Atom) aggregator, designed to allow you to read news from any location. (ttrss)
[29] weechat - WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client. (weechat)
[30] XMRig - XMRig is a high performance Monero (XMR) CPU miner written in C++. (xmrig)
[31] Zoneminder - ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras. (zoneminder)

Type the number of the desired plugin
Press [Enter] or type EXIT to quit:

I type in EXIT for whatever reason i didnt want to install yet.....

 

I then went ahead and ran the SAME command but it gives me something different

root@freenas:~ # iocage fetch -P --name emby-server.json ip4_addr="em0|192.168.0.4/24"
Plugin: emby-server
  Official Plugin: False
  Using RELEASE: 11.1-RELEASE
  Post-install Artifact: https://github.com/MediaBrowser/iocage-amd64.git
  These pkgs will be installed:
    - lang/mono
    - multimedia/libass
    - x11-fonts/fontconfig
    - print/freetype2
    - converters/fribidi
    - security/gnutls
    - converters/iconv
    - audio/opus
    - net/samba48
    - databases/sqlite3
    - multimedia/libtheora
    - multimedia/libva
    - audio/libvorbis
    - graphics/webp
    - multimedia/libx264
    - devel/libzvbi
Release 11.1-RELEASE missing, will attempt to fetch it.
Fetching: 11.1-RELEASE

Downloading : MANIFEST [####################] 100% 
Downloading : base.txz [####################] 100% 
Downloading : lib32.txz [####################] 100% 
Downloading : doc.txz [####################] 100% 
Downloading : src.txz [####################] 100% 
Extracting: base.txz... 
Extracting: lib32.txz... 
Extracting: doc.txz... 
Extracting: src.txz... 

* Updating 11.1-RELEASE to the latest patch level... 
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update5.freebsd.org... done.
Fetching metadata signature for 11.1-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 153 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150. done.
Applying patches... done.

The following files will be updated as part of updating to 11.1-RELEASE-p11:
/bin/freebsd-version
/bin/pgrep
/bin/pkill
/bin/ps
/lib/libcrypto.so.8
/lib/libkvm.so.7
/lib/libutil.so.9
/rescue/[
/rescue/atmconfig
/rescue/badsect
/rescue/bsdlabel
/rescue/bunzip2
/rescue/bzcat
/rescue/bzip2
/rescue/camcontrol
/rescue/cat
/rescue/ccdconfig
/rescue/chflags
/rescue/chgrp
/rescue/chio
/rescue/chmod
/rescue/chown
/rescue/chroot
/rescue/clri
/rescue/cp
/rescue/csh
/rescue/date
/rescue/dd
/rescue/devfs
/rescue/df
/rescue/dhclient
/rescue/disklabel
/rescue/dmesg
/rescue/dump
/rescue/dumpfs
/rescue/dumpon
/rescue/echo
/rescue/ed
/rescue/ex
/rescue/expr
/rescue/fastboot
/rescue/fasthalt
/rescue/fdisk
/rescue/fsck
/rescue/fsck_4.2bsd
/rescue/fsck_ffs
/rescue/fsck_msdosfs
/rescue/fsck_ufs
/rescue/fsdb
/rescue/fsirand
/rescue/gbde
/rescue/geom
/rescue/getfacl
/rescue/glabel
/rescue/gpart
/rescue/groups
/rescue/gunzip
/rescue/gzcat
/rescue/gzip
/rescue/halt
/rescue/head
/rescue/hostname
/rescue/id
/rescue/ifconfig
/rescue/init
/rescue/ipf
/rescue/iscsictl
/rescue/iscsid
/rescue/kenv
/rescue/kill
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/less
/rescue/link
/rescue/ln
/rescue/ls
/rescue/lzcat
/rescue/lzma
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mkdir
/rescue/mknod
/rescue/more
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/mt
/rescue/mv
/rescue/nc
/rescue/newfs
/rescue/newfs_msdos
/rescue/nos-tun
/rescue/pgrep
/rescue/ping
/rescue/ping6
/rescue/pkill
/rescue/poweroff
/rescue/ps
/rescue/pwd
/rescue/rcorder
/rescue/rcp
/rescue/rdump
/rescue/realpath
/rescue/reboot
/rescue/red
/rescue/rescue
/rescue/restore
/rescue/rm
/rescue/rmdir
/rescue/route
/rescue/routed
/rescue/rrestore
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/sed
/rescue/setfacl
/rescue/sh
/rescue/shutdown
/rescue/sleep
/rescue/spppcontrol
/rescue/stty
/rescue/swapon
/rescue/sync
/rescue/sysctl
/rescue/tail
/rescue/tar
/rescue/tcsh
/rescue/tee
/rescue/test
/rescue/tunefs
/rescue/umount
/rescue/unlink
/rescue/unlzma
/rescue/unxz
/rescue/vi
/rescue/whoami
/rescue/xz
/rescue/xzcat
/rescue/zcat
/rescue/zdb
/rescue/zfs
/rescue/zpool
/sbin/ipresend
/usr/bin/file
/usr/bin/fstat
/usr/bin/fuser
/usr/bin/gcore
/usr/bin/kdump
/usr/bin/kgdb
/usr/bin/killall
/usr/bin/limits
/usr/bin/netstat
/usr/bin/ntpq
/usr/bin/openssl
/usr/bin/procstat
/usr/bin/sockstat
/usr/bin/systat
/usr/bin/top
/usr/bin/truss
/usr/bin/uptime
/usr/bin/vmstat
/usr/bin/w
/usr/include/machine/asmacros.h
/usr/include/machine/frame.h
/usr/include/machine/intr_machdep.h
/usr/include/machine/md_var.h
/usr/include/machine/pcb.h
/usr/include/machine/pcpu.h
/usr/include/machine/pmap.h
/usr/include/machine/smp.h
/usr/include/magic.h
/usr/include/openssl/ssl.h
/usr/include/sys/cpuctl.h
/usr/include/x86/apicvar.h
/usr/include/x86/specialreg.h
/usr/include/x86/x86_smp.h
/usr/include/x86/x86_var.h
/usr/lib/libcrypto.a
/usr/lib/libcrypto_p.a
/usr/lib/libkvm.a
/usr/lib/libkvm_p.a
/usr/lib/libmagic.a
/usr/lib/libmagic.so.4
/usr/lib/libmagic_p.a
/usr/lib/libprocstat.a
/usr/lib/libprocstat.so.1
/usr/lib/libprocstat_p.a
/usr/lib/librtld_db.so.2
/usr/lib/libssl.a
/usr/lib/libssl.so.8
/usr/lib/libssl_p.a
/usr/lib/libsysdecode.a
/usr/lib/libsysdecode.so.5
/usr/lib/libsysdecode_p.a
/usr/lib/snmp_hostres.so.6
/usr/lib32/libcrypto.a
/usr/lib32/libcrypto.so.8
/usr/lib32/libcrypto_p.a
/usr/lib32/libmagic.a
/usr/lib32/libmagic.so.4
/usr/lib32/libmagic_p.a
/usr/lib32/libssl.a
/usr/lib32/libssl.so.8
/usr/lib32/libssl_p.a
/usr/lib32/libsysdecode.a
/usr/lib32/libsysdecode.so.5
/usr/lib32/libsysdecode_p.a
/usr/libexec/sendmail/sendmail
/usr/sbin/cpucontrol
/usr/sbin/hostapd
/usr/sbin/jail
/usr/sbin/ntp-keygen
/usr/sbin/ntpd
/usr/sbin/ntpdate
/usr/sbin/ntpdc
/usr/sbin/ntptime
/usr/sbin/pmcstat
/usr/sbin/sntp
/usr/sbin/sshd
/usr/sbin/wpa_supplicant
/usr/share/doc/ntp/access.html
/usr/share/doc/ntp/accopt.html
/usr/share/doc/ntp/authentic.html
/usr/share/doc/ntp/drivers/driver18.html
/usr/share/doc/ntp/drivers/driver40.html
/usr/share/doc/ntp/keygen.html
/usr/share/doc/ntp/miscopt.html
/usr/share/doc/ntp/monopt.html
/usr/share/doc/ntp/ntp-keygen.html
/usr/share/doc/ntp/ntp.conf.html
/usr/share/doc/ntp/ntp.keys.html
/usr/share/doc/ntp/ntpq.html
/usr/share/doc/ntp/ntpsnmpd.html
/usr/share/man/man1/file.1.gz
/usr/share/man/man3/libmagic.3.gz
/usr/share/man/man5/magic.5.gz
/usr/share/man/man5/ntp.conf.5.gz
/usr/share/man/man5/ntp.keys.5.gz
/usr/share/man/man8/cpucontrol.8.gz
/usr/share/man/man8/ntp-keygen.8.gz
/usr/share/man/man8/ntpd.8.gz
/usr/share/man/man8/ntpdc.8.gz
/usr/share/man/man8/ntpq.8.gz
/usr/share/man/man8/sntp.8.gz
/usr/share/man/mandoc.db
/usr/share/misc/magic
/usr/share/misc/magic.mgc
/usr/share/zoneinfo/Africa/Bissau
/usr/share/zoneinfo/Africa/Juba
/usr/share/zoneinfo/Africa/Khartoum
/usr/share/zoneinfo/Africa/Sao_Tome
/usr/share/zoneinfo/Africa/Windhoek
/usr/share/zoneinfo/America/Adak
/usr/share/zoneinfo/America/Anchorage
/usr/share/zoneinfo/America/Campo_Grande
/usr/share/zoneinfo/America/Cuiaba
/usr/share/zoneinfo/America/Detroit
/usr/share/zoneinfo/America/Grand_Turk
/usr/share/zoneinfo/America/Jamaica
/usr/share/zoneinfo/America/Juneau
/usr/share/zoneinfo/America/La_Paz
/usr/share/zoneinfo/America/Metlakatla
/usr/share/zoneinfo/America/Montevideo
/usr/share/zoneinfo/America/Nome
/usr/share/zoneinfo/America/Sao_Paulo
/usr/share/zoneinfo/America/Sitka
/usr/share/zoneinfo/America/Yakutat
/usr/share/zoneinfo/Antarctica/Casey
/usr/share/zoneinfo/Asia/Famagusta
/usr/share/zoneinfo/Asia/Gaza
/usr/share/zoneinfo/Asia/Hebron
/usr/share/zoneinfo/Asia/Kolkata
/usr/share/zoneinfo/Asia/Macau
/usr/share/zoneinfo/Asia/Pyongyang
/usr/share/zoneinfo/Asia/Tokyo
/usr/share/zoneinfo/Asia/Yangon
/usr/share/zoneinfo/Asia/Yerevan
/usr/share/zoneinfo/Atlantic/Azores
/usr/share/zoneinfo/Atlantic/Cape_Verde
/usr/share/zoneinfo/Atlantic/Madeira
/usr/share/zoneinfo/Europe/Bratislava
/usr/share/zoneinfo/Europe/Dublin
/usr/share/zoneinfo/Europe/Lisbon
/usr/share/zoneinfo/Europe/Prague
/usr/share/zoneinfo/Pacific/Apia
/usr/share/zoneinfo/Pacific/Enderbury
/usr/share/zoneinfo/Pacific/Fiji
/usr/share/zoneinfo/Pacific/Kiritimati
/usr/share/zoneinfo/Pacific/Midway
/usr/share/zoneinfo/Pacific/Pago_Pago
/usr/share/zoneinfo/Pacific/Tongatapu
/usr/share/zoneinfo/zone.tab

WARNING: FreeBSD 11.1-RELEASE is approaching its End-of-Life date.
It is strongly recommended that you upgrade to a newer
release within the next 2 months.
src component not installed, skipped
Installing updates... done.
Secure packagesite detected, installing ca_root_nss package.
Message from ca_root_nss-3.38:

********************************* WARNING *********************************

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

*********************************** NOTE **********************************

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem

***************************************************************************
Fetching artifact... 
Running post_install.sh

Command output:
[emby-server] Fetching emby-server-freebsd_3.5.1.0_amd64.txz: 100%   16 MiB  16.5MB/s    00:01    
[emby-server] Installing emby-server-3.5.1.0_1...
===> Creating groups.
Creating group 'emby' with gid '989'.
===> Creating users
Creating user 'emby' with uid '989'.
[emby-server] Extracting emby-server-3.5.1.0_1: 100%
emby_server_enable:  -> YES
Starting emby_server.

Admin Portal:
http://192.168.0.4:8096
 
I completely nuked the dataset in FreeNAS and restarted and i did the same thing....
 
How am i supposed to install emby
 
Select the option 7 like it request when i first do it... or exit that and retype the command and let the computer auto install everything it does the 2nd time i try?
 
Thanks in Advance
 
Link to comment
Share on other sites

I haven't ran into those prompts before but can you try the option 7? thanks.

Link to comment
Share on other sites

Eddie

i just nuked the system and reverted back to 11.1... when 11.2 beta #2 comes out i may try again.. i was having issues seeing my files in my jail.. im sure i did something wrong but i cant spend the whole day trouble shooting it so i went back to 11.1 and using the old plugin system with warden for now

Link to comment
Share on other sites

eraser8

I haven't ran into those prompts before but can you try the option 7? thanks.

 

Hi Luke,

I personnaly didn't had this behaviour. But My brother got this results each time he tried to run the command "iocage fetch...". I told him to try the option 7 like you said but it did tried to install the emby plugin from the plugin interface based on 11.2.... so, not really what it is expected... It seems to sometime works and sometime not? I know he was able to install it but I did ask him how he does...

 

I'll try to come back with this info.

Edited by eraser8
Link to comment
Share on other sites

eraser8

Hi,

 

No, he just told me that the tricks was to first create a @dummy@ jail with release 11.1 to force the system to download the image. After that, he was able to use the "iocage fetch... " command and all was installed correctly......

 

weird.

 

:)

Link to comment
Share on other sites

alucryd

 

So i have been messing around with this and i dont know why this happens but i thought you should know.

 

FreeNAS-11.2-BETA1

 

When i run 

 

 
iocage fetch -P --name emby-server.json ip4_addr="em0|192.168.0.4/24”
 
 
i get this
 
root@freenas:~ # iocage fetch -P --name emby-server.json ip4_addr="em0|192.168.0.4/24"
Creating volume/iocage                                                                                                               
Creating volume/iocage/download                                                                                                      
Creating volume/iocage/images                                                                                                        
Creating volume/iocage/jails                                                                                                         
Creating volume/iocage/log                                                                                                           
Creating volume/iocage/releases                                                                                                      
Creating volume/iocage/templates                                                                                                     
[0] BackupPC - BackupPC is a high-performance, enterprise-grade system for backing up Linux, WinXX and MacOSX PCs and laptops to a server's disk. (backuppc)                                                                                                              
[1] Bacula-server - programs to manage backup, recovery, and verification of computer data across a network of computers of different kinds (bacula-server)                                                                                                               
[2] BRU Server - BRU Server™ Backup and Recovery Software by TOLIS Group, Inc. (bru-server)                                          
[3] BitTorrent Sync - Resilient, fast and scalable file sync software for enterprises and individuals. (btsync)                      
[4] ClamAV - ClamAV® is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. (clamav)  
[5] CouchPotato - CouchPotato is an automatic NZB and torrent downloader. (couchpotato)                                              
[6] Deluge - Bittorrent client using Python, and libtorrent-rasterbar (deluge)                                                       
[7] Emby - Home media server built using mono and other open source technologies (emby)                                              
[8] GitLab - Powerful features for modern software development (gitlab)                                                              
[9] irssi - Irssi is a modular IRC client that currently has only text mode user interface, but 80-90% of the code isn't text mode specific, so other UIs could be created pretty easily. (irssi)                                                                         
[10] Jenkins - Jenkins CI (jenkins)                                                                                                  
[11] Jenkins (LTS) - Jenkins CI (Long Term Support Version) (jenkins-lts)                                                            
[12] MadSonic - Open-source web-based media streamer and jukebox. (madsonic)                                                         
[13] MineOS - MineOS is a series of tutorials and distributions designed to help Minecraft enthusiasts successfully host Minecraft on a Linux or BSD-based platform. (mineos)
[14] NextCloud - Access, share and protect your files, calendars, contacts, communication & more at home and in your enterprise. (nextcloud)
[15] Plex Media Server - The Plex media server system (plexmediaserver)
[16] Plex Media Server (PlexPass) - The Plex media server system (plexmediaserver-plexpass)
[17] qbittorrent - qBittorrent is the open source bittorrent client in C++/Qt that uses libtorrent-rasterbar. (qbittorrent)
[18] Quasselcore - Quassel Core is a daemon/headless IRC client, part of Quassel, that supports 24/7 connectivity. Quassel Client can be attached to it to. (quasselcore)
[19] radarr - Radarr is a fork of Sonarr to work with movies in the style of Couchpotato. (radarr)
[20] Redmine - Redmine Bugtracker (redmine)
[21] sabnzbd - SABnzbd is a cross-platform binary newsreader. (sabnzbd)
[22] SickRage - Automatic Video Library Manager for TV Shows (sickrage)
[23] Sonarr - PVR for Usenet and BitTorrent users (sonarr)
[24] SubSonic - Open-source web-based media streamer and jukebox. (subsonic)
[25] Syncthing - Personal cloud sync (syncthing)
[26] Tarsnap - Online encrypted backup service (client) (tarsnap)
[27] Transmission - Fast and lightweight daemon BitTorrent client (transmission)
[28] TinyTinyRSS - Open source web-based news feed (RSS/Atom) aggregator, designed to allow you to read news from any location. (ttrss)
[29] weechat - WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client. (weechat)
[30] XMRig - XMRig is a high performance Monero (XMR) CPU miner written in C++. (xmrig)
[31] Zoneminder - ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras. (zoneminder)

Type the number of the desired plugin
Press [Enter] or type EXIT to quit:

I type in EXIT for whatever reason i didnt want to install yet.....

 

I then went ahead and ran the SAME command but it gives me something different

root@freenas:~ # iocage fetch -P --name emby-server.json ip4_addr="em0|192.168.0.4/24"
Plugin: emby-server
  Official Plugin: False
  Using RELEASE: 11.1-RELEASE
  Post-install Artifact: https://github.com/MediaBrowser/iocage-amd64.git
  These pkgs will be installed:
    - lang/mono
    - multimedia/libass
    - x11-fonts/fontconfig
    - print/freetype2
    - converters/fribidi
    - security/gnutls
    - converters/iconv
    - audio/opus
    - net/samba48
    - databases/sqlite3
    - multimedia/libtheora
    - multimedia/libva
    - audio/libvorbis
    - graphics/webp
    - multimedia/libx264
    - devel/libzvbi
Release 11.1-RELEASE missing, will attempt to fetch it.
Fetching: 11.1-RELEASE

Downloading : MANIFEST [####################] 100% 
Downloading : base.txz [####################] 100% 
Downloading : lib32.txz [####################] 100% 
Downloading : doc.txz [####################] 100% 
Downloading : src.txz [####################] 100% 
Extracting: base.txz... 
Extracting: lib32.txz... 
Extracting: doc.txz... 
Extracting: src.txz... 

* Updating 11.1-RELEASE to the latest patch level... 
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update5.freebsd.org... done.
Fetching metadata signature for 11.1-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 153 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150. done.
Applying patches... done.

The following files will be updated as part of updating to 11.1-RELEASE-p11:
/bin/freebsd-version
/bin/pgrep
/bin/pkill
/bin/ps
/lib/libcrypto.so.8
/lib/libkvm.so.7
/lib/libutil.so.9
/rescue/[
/rescue/atmconfig
/rescue/badsect
/rescue/bsdlabel
/rescue/bunzip2
/rescue/bzcat
/rescue/bzip2
/rescue/camcontrol
/rescue/cat
/rescue/ccdconfig
/rescue/chflags
/rescue/chgrp
/rescue/chio
/rescue/chmod
/rescue/chown
/rescue/chroot
/rescue/clri
/rescue/cp
/rescue/csh
/rescue/date
/rescue/dd
/rescue/devfs
/rescue/df
/rescue/dhclient
/rescue/disklabel
/rescue/dmesg
/rescue/dump
/rescue/dumpfs
/rescue/dumpon
/rescue/echo
/rescue/ed
/rescue/ex
/rescue/expr
/rescue/fastboot
/rescue/fasthalt
/rescue/fdisk
/rescue/fsck
/rescue/fsck_4.2bsd
/rescue/fsck_ffs
/rescue/fsck_msdosfs
/rescue/fsck_ufs
/rescue/fsdb
/rescue/fsirand
/rescue/gbde
/rescue/geom
/rescue/getfacl
/rescue/glabel
/rescue/gpart
/rescue/groups
/rescue/gunzip
/rescue/gzcat
/rescue/gzip
/rescue/halt
/rescue/head
/rescue/hostname
/rescue/id
/rescue/ifconfig
/rescue/init
/rescue/ipf
/rescue/iscsictl
/rescue/iscsid
/rescue/kenv
/rescue/kill
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/less
/rescue/link
/rescue/ln
/rescue/ls
/rescue/lzcat
/rescue/lzma
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mkdir
/rescue/mknod
/rescue/more
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/mt
/rescue/mv
/rescue/nc
/rescue/newfs
/rescue/newfs_msdos
/rescue/nos-tun
/rescue/pgrep
/rescue/ping
/rescue/ping6
/rescue/pkill
/rescue/poweroff
/rescue/ps
/rescue/pwd
/rescue/rcorder
/rescue/rcp
/rescue/rdump
/rescue/realpath
/rescue/reboot
/rescue/red
/rescue/rescue
/rescue/restore
/rescue/rm
/rescue/rmdir
/rescue/route
/rescue/routed
/rescue/rrestore
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/sed
/rescue/setfacl
/rescue/sh
/rescue/shutdown
/rescue/sleep
/rescue/spppcontrol
/rescue/stty
/rescue/swapon
/rescue/sync
/rescue/sysctl
/rescue/tail
/rescue/tar
/rescue/tcsh
/rescue/tee
/rescue/test
/rescue/tunefs
/rescue/umount
/rescue/unlink
/rescue/unlzma
/rescue/unxz
/rescue/vi
/rescue/whoami
/rescue/xz
/rescue/xzcat
/rescue/zcat
/rescue/zdb
/rescue/zfs
/rescue/zpool
/sbin/ipresend
/usr/bin/file
/usr/bin/fstat
/usr/bin/fuser
/usr/bin/gcore
/usr/bin/kdump
/usr/bin/kgdb
/usr/bin/killall
/usr/bin/limits
/usr/bin/netstat
/usr/bin/ntpq
/usr/bin/openssl
/usr/bin/procstat
/usr/bin/sockstat
/usr/bin/systat
/usr/bin/top
/usr/bin/truss
/usr/bin/uptime
/usr/bin/vmstat
/usr/bin/w
/usr/include/machine/asmacros.h
/usr/include/machine/frame.h
/usr/include/machine/intr_machdep.h
/usr/include/machine/md_var.h
/usr/include/machine/pcb.h
/usr/include/machine/pcpu.h
/usr/include/machine/pmap.h
/usr/include/machine/smp.h
/usr/include/magic.h
/usr/include/openssl/ssl.h
/usr/include/sys/cpuctl.h
/usr/include/x86/apicvar.h
/usr/include/x86/specialreg.h
/usr/include/x86/x86_smp.h
/usr/include/x86/x86_var.h
/usr/lib/libcrypto.a
/usr/lib/libcrypto_p.a
/usr/lib/libkvm.a
/usr/lib/libkvm_p.a
/usr/lib/libmagic.a
/usr/lib/libmagic.so.4
/usr/lib/libmagic_p.a
/usr/lib/libprocstat.a
/usr/lib/libprocstat.so.1
/usr/lib/libprocstat_p.a
/usr/lib/librtld_db.so.2
/usr/lib/libssl.a
/usr/lib/libssl.so.8
/usr/lib/libssl_p.a
/usr/lib/libsysdecode.a
/usr/lib/libsysdecode.so.5
/usr/lib/libsysdecode_p.a
/usr/lib/snmp_hostres.so.6
/usr/lib32/libcrypto.a
/usr/lib32/libcrypto.so.8
/usr/lib32/libcrypto_p.a
/usr/lib32/libmagic.a
/usr/lib32/libmagic.so.4
/usr/lib32/libmagic_p.a
/usr/lib32/libssl.a
/usr/lib32/libssl.so.8
/usr/lib32/libssl_p.a
/usr/lib32/libsysdecode.a
/usr/lib32/libsysdecode.so.5
/usr/lib32/libsysdecode_p.a
/usr/libexec/sendmail/sendmail
/usr/sbin/cpucontrol
/usr/sbin/hostapd
/usr/sbin/jail
/usr/sbin/ntp-keygen
/usr/sbin/ntpd
/usr/sbin/ntpdate
/usr/sbin/ntpdc
/usr/sbin/ntptime
/usr/sbin/pmcstat
/usr/sbin/sntp
/usr/sbin/sshd
/usr/sbin/wpa_supplicant
/usr/share/doc/ntp/access.html
/usr/share/doc/ntp/accopt.html
/usr/share/doc/ntp/authentic.html
/usr/share/doc/ntp/drivers/driver18.html
/usr/share/doc/ntp/drivers/driver40.html
/usr/share/doc/ntp/keygen.html
/usr/share/doc/ntp/miscopt.html
/usr/share/doc/ntp/monopt.html
/usr/share/doc/ntp/ntp-keygen.html
/usr/share/doc/ntp/ntp.conf.html
/usr/share/doc/ntp/ntp.keys.html
/usr/share/doc/ntp/ntpq.html
/usr/share/doc/ntp/ntpsnmpd.html
/usr/share/man/man1/file.1.gz
/usr/share/man/man3/libmagic.3.gz
/usr/share/man/man5/magic.5.gz
/usr/share/man/man5/ntp.conf.5.gz
/usr/share/man/man5/ntp.keys.5.gz
/usr/share/man/man8/cpucontrol.8.gz
/usr/share/man/man8/ntp-keygen.8.gz
/usr/share/man/man8/ntpd.8.gz
/usr/share/man/man8/ntpdc.8.gz
/usr/share/man/man8/ntpq.8.gz
/usr/share/man/man8/sntp.8.gz
/usr/share/man/mandoc.db
/usr/share/misc/magic
/usr/share/misc/magic.mgc
/usr/share/zoneinfo/Africa/Bissau
/usr/share/zoneinfo/Africa/Juba
/usr/share/zoneinfo/Africa/Khartoum
/usr/share/zoneinfo/Africa/Sao_Tome
/usr/share/zoneinfo/Africa/Windhoek
/usr/share/zoneinfo/America/Adak
/usr/share/zoneinfo/America/Anchorage
/usr/share/zoneinfo/America/Campo_Grande
/usr/share/zoneinfo/America/Cuiaba
/usr/share/zoneinfo/America/Detroit
/usr/share/zoneinfo/America/Grand_Turk
/usr/share/zoneinfo/America/Jamaica
/usr/share/zoneinfo/America/Juneau
/usr/share/zoneinfo/America/La_Paz
/usr/share/zoneinfo/America/Metlakatla
/usr/share/zoneinfo/America/Montevideo
/usr/share/zoneinfo/America/Nome
/usr/share/zoneinfo/America/Sao_Paulo
/usr/share/zoneinfo/America/Sitka
/usr/share/zoneinfo/America/Yakutat
/usr/share/zoneinfo/Antarctica/Casey
/usr/share/zoneinfo/Asia/Famagusta
/usr/share/zoneinfo/Asia/Gaza
/usr/share/zoneinfo/Asia/Hebron
/usr/share/zoneinfo/Asia/Kolkata
/usr/share/zoneinfo/Asia/Macau
/usr/share/zoneinfo/Asia/Pyongyang
/usr/share/zoneinfo/Asia/Tokyo
/usr/share/zoneinfo/Asia/Yangon
/usr/share/zoneinfo/Asia/Yerevan
/usr/share/zoneinfo/Atlantic/Azores
/usr/share/zoneinfo/Atlantic/Cape_Verde
/usr/share/zoneinfo/Atlantic/Madeira
/usr/share/zoneinfo/Europe/Bratislava
/usr/share/zoneinfo/Europe/Dublin
/usr/share/zoneinfo/Europe/Lisbon
/usr/share/zoneinfo/Europe/Prague
/usr/share/zoneinfo/Pacific/Apia
/usr/share/zoneinfo/Pacific/Enderbury
/usr/share/zoneinfo/Pacific/Fiji
/usr/share/zoneinfo/Pacific/Kiritimati
/usr/share/zoneinfo/Pacific/Midway
/usr/share/zoneinfo/Pacific/Pago_Pago
/usr/share/zoneinfo/Pacific/Tongatapu
/usr/share/zoneinfo/zone.tab

WARNING: FreeBSD 11.1-RELEASE is approaching its End-of-Life date.
It is strongly recommended that you upgrade to a newer
release within the next 2 months.
src component not installed, skipped
Installing updates... done.
Secure packagesite detected, installing ca_root_nss package.
Message from ca_root_nss-3.38:

********************************* WARNING *********************************

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

*********************************** NOTE **********************************

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem

***************************************************************************
Fetching artifact... 
Running post_install.sh

Command output:
[emby-server] Fetching emby-server-freebsd_3.5.1.0_amd64.txz: 100%   16 MiB  16.5MB/s    00:01    
[emby-server] Installing emby-server-3.5.1.0_1...
===> Creating groups.
Creating group 'emby' with gid '989'.
===> Creating users
Creating user 'emby' with uid '989'.
[emby-server] Extracting emby-server-3.5.1.0_1: 100%
emby_server_enable:  -> YES
Starting emby_server.

Admin Portal:
http://192.168.0.4:8096
 
I completely nuked the dataset in FreeNAS and restarted and i did the same thing....
 
How am i supposed to install emby
 
Select the option 7 like it request when i first do it... or exit that and retype the command and let the computer auto install everything it does the 2nd time i try?
 
Thanks in Advance

 

 

Did you let freenas initialize the iocage jail before running those commands? I believe you need to visit the plugins page for it to do that.

Link to comment
Share on other sites

cherup

Installation was successful - I also get the prompt int the first step.

 

Can someone help how to add storage to that iocage jail ? Could not find an option for that...

Link to comment
Share on other sites

doing this

 

"iocage fetch -P --name emby-server.json ip4_addr="vtnet0|192.168.122.3""

 

gave me subnet mask of 255.255.255.255 and i couldnt access the emby server

 

according to this 

 

https://www.freebsd.org/cgi/man.cgi?query=iocage&sektion=8

 

the format should be 

 

ip4_addr="interface|ip-address/netmask"

 

i went ahead and used this

 

"iocage fetch -P --name emby-server.json ip4_addr="vtnet0|192.168.122.3/24""

 

and everything worked.

 

obviously i changed th vtnet0 and the ip to my own stuff but just thought you should know

 

Instructions are updated based on this. Thanks !

Link to comment
Share on other sites

makarai

Instructions are updated based on this. Thanks !

 

would you mind to add the Update instruction to the first post? Cause i still don't know how to do it properly

Link to comment
Share on other sites

eraser8

Hi Luke,

 

Have you found the way to update the Emby server? If yes, can you please update the first post for that?

 

Great thanks

Link to comment
Share on other sites

Eddie

Did you let freenas initialize the iocage jail before running those commands? I believe you need to visit the plugins page for it to do that.

no i did not.. i didnt know i was supposed to do that

Link to comment
Share on other sites

makarai

They are. Can you please describe your issue? Thanks.

 

Well, If i read the first post it doesn't state how to update.

 

If I just run the same commands again it will not update, it will state that jail emby-server already exist and fails.

).fetch_plugin(name, props, 0, accept)
 File "/usr/local/lib/python3.6/site-packages/iocage
22, in fetch_plugin
 props, jail_name)
 File "/usr/local/lib/python3.6/site-packages/iocage
03, in __fetch_plugin_create__
 exit_on_error=self.exit_on_error).create_jail()
 File "/usr/local/lib/python3.6/site-packages/iocage
7, in create_jail
 return self._create_jail(jail_uuid, location)
 File "/usr/local/lib/python3.6/site-packages/iocage
03, in _create_jail
 raise RuntimeError(f"Jail: {jail_uuid} already ex
RuntimeError: Jail: emby-server already exists!
[root@[member="freenas"] ~]# 

if i log into the jail and perform an update in this way:

iocage console emby-server
service emby-server stop 
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.2/emby-server-freebsd_3.6.0.2_amd64.txz
service emby-server start

It'll just "overwrites" any emby settings, i'll end up with an updated server but also with one that has its config deleted.

 

sorry for the terrible english i just woke up

Edited by makarai
Link to comment
Share on other sites

alucryd

@@makarai As I mentioned before, you should use stop and start instead of onestop and onestart, and the library wipe is not actually a wipe, the beta package is using /var/db/emby-server to store its configuration, while the stable package uses /var/db/emby. I'll merge the beta changes into the stable package so that they use the same location.

Link to comment
Share on other sites

makarai

@@makarai As I mentioned before, you should use stop and start instead of onestop and onestart, and the library wipe is not actually a wipe, the beta package is using /var/db/emby-server to store its configuration, while the stable package uses /var/db/emby. I'll merge the beta changes into the stable package so that they use the same location.

 

Fair enough. I noticed that the stable package has /var/db/emby and the beta has the /var/db/emby-server/ this is why i am mentioning it, which is  not mentioned in the first post, i am also aware that you can't fix it by a simple folder rename.

 

I mean i am just "playing" with a second emby installation so i dont really care if i have to redo things, but some people might just jump the gun and then run into problems. 

Edited by makarai
Link to comment
Share on other sites

makarai

We're pleased to announce a brand new FreeNAS package for Emby Server. Here are the highlights and advantages over the current package:

  • Fewer installation steps
  • New releases will be immediately available
  • Beta builds will now also be immediately available just like other platforms !
  • Currently based on mono, but we'll be switching to .NET Core as soon as it's available for FreeBSD. Keep an eye on: https://github.com/dotnet/corefx/issues/1626

Installation

  • Requires FreeNAS 11.1+, but 11.1 users will need to use the new web UI that FreeNAS occasionally prompts you about.
  • There's no one click button in the freenas web interface that we could find (hopefully that'll get added in the final release). But it's fairly easy to install anyway via the shell in the web interface:
wget https://raw.githubusercontent.com/ma-karai/iocage-amd64/master/emby-server-stable.json
iocage fetch -P --name emby-server.json ip4_addr="vnet0|192.168.0.16/24" defaultrouter="192.168.0.1" vnet="on" allow_raw_sockets="1" boot="on"
  • Replace vtnet0 with your primary network interface (ifconfig will print them). vtnet0 should be set to a real network interface, like eth0. vtnet0 is just the name of the virtualized network interface in our test VM. 
  • Replace 192.168.122.3 and 24 with the IP and netmast you desire (should be different from that of your freenas box).  You can edit this afterwards in the jail configuration interface, but since the plugin needs internet access to install, the initial configuration should be valid.
  • After installation you can add mount points using the jail interface to access your media files.

Update 

  • Requires FreeNAS 11.1+, and at least Emby running
  • There's no one click button in the freenas web interface to update an existing emby installation but you can use the shell as well
  • Go to https://github.com/MediaBrowser/Emby.Releases/releases
  • Copy the link from the emby-server-freebsd package (check for *.txz)
  • Follow the steps below
iocage console emby-server
service emby-server stop
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.40/emby-server-freebsd_3.6.0.40_amd64.txz
service emby-server start

Optional

  • Change the User and Group of emby-server to have no file ownership issues (here e.g. needs to be UID=GID=1000)
iocage console emby-server
service emby-server stop
pw groupmod emby -n emby -g 1000
pw usermod emby -n emby -u 1000 -g 1000
chown -R emby:emby /var/db/emby(hit tab)
sysrc 'emby_server_user=emby'
service emby-server start
Edited by makarai
  • Like 2
Link to comment
Share on other sites

makarai

Emby 5.2.0.0?

 

Yeah, at the moment the update instruction will not work because some of the internal naming conventions are different (i.e. folder emby -> emby-server or so)

Link to comment
Share on other sites

I've replaced the 3.5.2 download with an update that makes the path change. Thanks.

Link to comment
Share on other sites

eraser8

Hi,

 

And what about the fact that when we use the pkg add -f command, we lose all current emby config? Is the a way to just update it without overwrite it with a new install?

 

Thanks

Link to comment
Share on other sites

By current config what are you referring to? Config from earlier versions of this package? Or from Josh4trunks package?

Link to comment
Share on other sites

eraser8

Hi Luke,
I'm talking about the whole emby configuration. It's just like we do a new installation. I already test that at post #24. Sorry, I'm not say that negatively, I just don't want to overwrite my emby server again.

And i talk about from this iocage plugin installation but when the version was 3.5.0.

 

Just to be more clearer, I already used this installation since 5 or 6  days ago but I got the 3.5.0 version

Now, I just want to update it with the latest version.

 

****UPDATE*****

I just retry it for fun to be able to give you exactly what I got and VOILÀ, it works now. So, I guess something have changed in the package from last time I tried it. Just for your information, this is what I got:

 

 

root@emby-server:~ # service emby-server stop
Stopping emby_server.
Waiting for PIDS: 24147, 24147.
[emby-server] Fetching emby-server-freebsd_3.5.2.0_amd64.txz: 100%   16 MiB 373.8kB/s    00:44
[emby-server] Installing emby-server-3.5.2.0_1...
Newer FreeBSD version for package emby-server:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1102000
- running kernel: 1101001
Allow missmatch now?[Y/n]:
 
So, by looking the number, I can deduce that the newer package require the 11.2 release? Is it correct to continue anyway? This is what I get when using "Y":
 
Allow missmatch now?[Y/n]: Y
package emby-server is already installed, forced install
===> Creating groups.
Using existing group 'emby'.
===> Creating users
Using existing user 'emby'.
[emby-server] Extracting emby-server-3.5.2.0_1: 100%
root@emby-server:~ # service emby-server start
Starting emby_server.
 
 
From that, I refresh my emby web page and currently I have everything just like before (thanks guys to fixed that). And when I go to check the version, I have 3.5.2.0.
 
Alright then!!
Sorry for that! 
Edited by eraser8
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...