Jump to content

Update to 4.0.0.2 on FreeNAS


makarai

Recommended Posts

makarai

Hello,

 

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 3.6.0.0 to 3.6.0.56  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/

DONE.

 

# Updated a Beta server running 3.6.0.56

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/4.0.0.2/emby-server-freebsd_4.0.0.2_amd64.txz
service emby-server start

Restart the jail

 

DONE

 

# Updated a Beta server running 3.6.0.75

 

log into the shell of the jail and

service emby-server stop
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.0.0.2/emby-server-freebsd_4.0.0.2_amd64.txz
service emby-server start
Edited by makarai
  • Like 3
Link to comment
Share on other sites

PhilWhite

I updated from 3.6.0.76 to 4.0.0.1 (with the plugin updates and repeat library scan and switch to Emby TV guide) a few days ago and then to 4.0.0.2 yesterday...quick process, all working well.

Link to comment
Share on other sites

gbarone123

I updated from 3.6.0.79 and so far all seems great. Pages and videos are quick to load. No playback issues to report from any clients on LAN or WAN. Library scans complete MUCH faster. Great work guys!

Link to comment
Share on other sites

Thanks for the feedback !

 

FYI - we should have 4.0 stable submitted to FreeBSD ports by the weekend.

Link to comment
Share on other sites

makarai

Do i need the libraw install on .73?

should already be installed. Just update the pkg if you get an error message at the end stating you need libraw, install libraw and then repeat. :D

  • Like 1
Link to comment
Share on other sites

should already be installed. Just update the pkg if you get an error message at the end stating you need libraw, install libraw and then repeat. :D

 

Thanks, steps for # Updated a Beta server running 3.6.0.75 worked perfectly!

  • Like 1
Link to comment
Share on other sites

 

# Updated a Beta server running 3.6.0.75

 

log into the shell of the jail and

service emby-server stop
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.0.0.2/emby-server-freebsd_4.0.0.2_amd64.txz
service emby-server start

3.6.0.86 > 4.0.0.2 is as simple as this. Thanks @@makarai

Link to comment
Share on other sites

gbarone123

Luke, any chance you guys can bring back the number count of how many movies there are in the movies tab on the next release?

Link to comment
Share on other sites

FreeBSD is more complicated than the other platforms. Occasionally it can run a little bit behind. Thank you for your patience.

  • Like 1
Link to comment
Share on other sites

Upgraded to 4.0.1.0 today using the following (from 4.0.0.2):

service emby-server stop
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.0.1.0/emby-server-freebsd_4.0.1.0_amd64.txz
service emby-server start
Edited by Kent
  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...

Upgraded to 4.1.0.8 (beta) today using the following (from 4.0.1.0):

service emby-server stop
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.1.0.8/emby-server-freebsd_4.1.0.8_amd64.txz
service emby-server start
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Good day

 

I have now try severl times to install new emby server but it just do not activate. LIB does not install and jail show the fix ip but if I ping it no IP is allocated.This work before but now all is causing problems

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...