Jump to content

Emby Service Updater


hatharry

Recommended Posts

hatharry

@@Volfan6415, The PS download's the web installer, installs emby, kill's the foreground process then starts the service. The exe download's the offline zip and restarts emby.

The latest releases do not support updating when starting as a service.

Link to comment
Share on other sites

Volfan6415

@@Volfan6415, The PS download's the web installer, installs emby, kill's the foreground process then starts the service. The exe download's the offline zip and restarts emby.

The latest releases do not support updating when starting as a service.

So something in the latest builds doesn't let the auto server update exe work? What is the reason for disabling the update while running as service? I thought that was the whole point of the Emby server updated exe. Edited by Volfan6415
Link to comment
Share on other sites

Volfan6415

 

When trying to run the powershell script i am getting the following error Message 

 

Test-Path:Cannont Bind argument to parameter 'Path' because it is an empty string.  ..... at line 74 Char:23

if (Test-Path $this.location) {

Edited by Volfan6415
Link to comment
Share on other sites

Volfan6415

Script worked that time.  If i create a scheduled task will the task run and work is the user is not logged on?  I run emby on a windows server that normally does not have a user logged on.

Link to comment
Share on other sites

hatharry

Script worked that time.  If i create a scheduled task will the task run and work is the user is not logged on?  I run emby on a windows server that normally does not have a user logged on.

 

Scheduled Task should work fine. Make sure you check "run with highest privileges"

Link to comment
Share on other sites

JarvisTek

Update manually this go-round. Looks like there's another .Net dependency that probably prevents the auto-updater from being able to continue (accepting EULA, etc). Maybe this can get rolled in to the server build so that there's tighter integration with devs knowing when a random wrench in the works (like this) will be incoming.

Link to comment
Share on other sites

Volfan6415

Scheduled Task should work fine. Make sure you check "run with highest privileges"

 

 

Hey so i set up a scheduled task to run and checked the box "run with highest privileges" but it doesn't seem to be working.  If i login to the server and run with powershell the script works.  But from scheduled tasks it doesn't appear to work.  Also the task says "running" and i have to manually end the task.

 

Any ideas on where to look to see what is causing the issue.  Also want to note that this is running on a windows server where there are no accounts logged in to console at the time the task runs.

 

Thoughts?

Link to comment
Share on other sites

What Version? I haven't seen a Dev update for over a week now. Think they've gone to sleep ;) I'm on version 3.1.6235.2624 Dev

Link to comment
Share on other sites

3.1.4

I think beta is up to 3.1.5 so should work. I know hatharrys script works for me on win10 (manually) when an update is available. I have setup a task to run the script once a day, but won't know if that works until the next Dev update...

 

Sent from my HUAWEI MT7-L09 using Tapatalk

Link to comment
Share on other sites

Happy2Play

Windows Versions
Public: v3.1.5.0
Beta: v3.1.295.0
Dev: v3.1.6235.2624

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