Jump to content

Updating MBServer in Docker


Guest scokar

Recommended Posts

Guest scokar

What is the best way of updating MediaBrowser Server inside Docker?

 

from the forum's "Docker" thread,  I found:

 

"...

stop the container: docker stop mbserver

remove the container: docker rm mbserver

pull from repo: docker pull mediabrowser/mbserver

create container with original docker run command.

If whatever reason mediabrowser stops responding you can also do docker stop and docker start....

..."

 

Is this still the recommended way?   

 

From the stable builds, My server shows version Version 3.0.5424.1 installed, and that Version 3.0.5445.6 is available.

 

Going through the above process  still pulls the older Docker image.

 

Thanks.

 

Link to comment
Share on other sites

hurricanehrndz

Yes it is. I'm still in the process of getting docker updated. Sorry for the delay. I'm having a little bit of trouble getting some commits in. I'm trying to have a stable branch and dev branch for docker.

 

In the near future I can setup docker images do do nightly upgrades if that is something you might interested. I'm also thinking of going into the mediabrowser code and implementing an auto update feature such as the one found in nzbdrone or sonarr 

Edited by hurricanehernandez
Link to comment
Share on other sites

  • 4 months later...
kolbasz

Yes it is. I'm still in the process of getting docker updated. Sorry for the delay. I'm having a little bit of trouble getting some commits in. I'm trying to have a stable branch and dev branch for docker.

 

In the near future I can setup docker images do do nightly upgrades if that is something you might interested. I'm also thinking of going into the mediabrowser code and implementing an auto update feature such as the one found in nzbdrone or sonarr 

did these updating methods ever get implemented?  

Link to comment
Share on other sites

  • 1 month later...
kolbasz

Just today's to the latest, wanted to report that I noticed the startup to be way faster after update.

 

It used to take several minutes, up to fifteen maybe, but today after restart it was immediate. Some of the content still had to load, but the web gui was up right away which was nice

  • Like 1
Link to comment
Share on other sites

hurricanehrndz

did these updating methods ever get implemented?  

For now I have enabled an update method via cron and a script that will execute at 3 am every morning. Please see the docker registry on how to set the correct environment variable in order to enable auto updates.

Link to comment
Share on other sites

reluctantflux

Which registry is this on?  I'd really like to have auto-update.

 

I tried switching to emby/embyserver, but that kept breaking.  I switched to emby/embyserver-beta, and things have been smooth.  mediabrowser/mbserver no longer works for me.

 

Thanks!

Link to comment
Share on other sites

reluctantflux

Yeah, I've been using a self modded docker template for unraid. Can't seem to make my own using the Emby docker instructions. Is there a template repository I can use with Unraid?

Link to comment
Share on other sites

reluctantflux

Fantastic! I've switched over to the EmbyServer-Dev branch.  No issues at all. Not sure if it's the dev version, or some underlying way with the docker is setup, but Emby UI seems much faster now.  Maybe emby devs should put your template repository on the docker or NAS download pages?  

Edited by reluctantflux
Link to comment
Share on other sites

hurricanehrndz

Yeah maybe we will for unraid, I will mention it to Luke, it might get moved over if that's the case under the ownership of the mediabrowser github account. Both templates are fast now.

Link to comment
Share on other sites

hurricanehrndz

By the way squid, from the unraid forums has a plugin that list all the templates available. Mine are on the list, you should check the plugin out.

By the way don't use the reset button within the Gui, if you want to reset use the shutdown button. Did you enable the auto update?

Edited by hurricanehernandez
Link to comment
Share on other sites

reluctantflux

I'm not seeing where I can enable Auto-Update.  Checked the registry, and not seeing it.

Link to comment
Share on other sites

hurricanehrndz

I'm not seeing where I can enable Auto-Update. Checked the registry, and not seeing it.

You have to edit the container via Unraid's Gui and add the appropriate environment variable. Please visit the docker registry for the exact variable name and value. Edited by hurricanehernandez
Link to comment
Share on other sites

reluctantflux

Yeah, I know. Am I totally spacing out or an idiot? I checked all tabs and can't find anything.

post-8787-0-91935100-1433373016_thumb.png

Link to comment
Share on other sites

  • 2 weeks later...
reluctantflux

@

 

I don't think the auto update is working on my system.  Will the docker timer in Unraid be reset if it completes successfully? Because that is what I'm using to tell if it ran or not.  Will it run if no update is available?

 

Also, would you please update the dev docker?  I'm very interested in testing out the Live TV changes in 3.0.5641

 

Thanks! I'm loving this docker!

Link to comment
Share on other sites

hurricanehrndz

The docker container tries to update every morning at 3 am. It does this only once a day. If your are running the "emby-server" image then there hasn't been a release in 16 days. 

https://github.com/MediaBrowser/MediaBrowser/releases

 

In regards to the dev, for some reason github was not triggering the beta to build.  I think I have fixed the issue, so there should be a new version on the ppa. You can compare dev builds by using the git hash tag.

https://build.opensuse.org/package/show/home:emby/emby-server-beta

 

PS I have no clue what timer you are talking about.

Edited by hurricanehernandez
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...