INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Updates on a Server  (Read 1161 times)

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Updates on a Server
« on: February 07, 2024, 10:18:53 am »

i have a small wish. i would like an other option in the update channel (i wished before :) ).
when i wake up i turn on only my computer and music installation on an other floor. then use jremote to startup some music to wake up and drink my coffee. when mc downloads an update it wants to install it after startingup the computer and the startup of the mc server stalls waiting for me to wonder why jremote is not working, climb the stairs etc finding that the computer waits for me to say that it is ok to do the update.
so i always disable the automatic updates (not recommended).
it would be nice if there is an option to let mc just start up and give an notification that there is an update downloaded and ready to install.... yes / maybe later.

thanks
 8)
gab
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Updates on a Server
« Reply #1 on: February 07, 2024, 11:36:53 am »

Hi gappie.  Next build we'll try this:
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it.

Thanks.
Logged
Matt Ashland, JRiver Media Center

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2567
Re: Updates on a Server
« Reply #2 on: February 07, 2024, 11:56:52 am »

Won't that be bad for headless servers? Some people want auto-updates to happen, maybe it should be an option.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Updates on a Server
« Reply #3 on: February 07, 2024, 12:04:28 pm »

Won't that be bad for headless servers? Some people want auto-updates to happen, maybe it should be an option.

Little revision!
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it (times out and continues in 30 seconds for headless servers).
Logged
Matt Ashland, JRiver Media Center

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4195
Re: Updates on a Server
« Reply #4 on: February 07, 2024, 12:43:12 pm »

I have wanted this feature for ages so +1 to that, 30s is not really good to cut it though as that is like that auto import feature which I think you eventually got rid of. I think you either want it immediately or you want to confirm with no timeout.
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Updates on a Server
« Reply #5 on: February 07, 2024, 01:59:18 pm »

Hi gappie.  Next build we'll try this:
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it.

Thanks.
Thank you very much!
Hi gappie.  Next build we'll try this:
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it.

Thanks.
but that would take the whole purpose away. im like a headless server in the morning and would like the change  ;D
I have wanted this feature for ages so +1 to that, 30s is not really good to cut it though as that is like that auto import feature which I think you eventually got rid of. I think you either want it immediately or you want to confirm with no timeout.
exactly, and ofcource i know im old school, i turn off my computers at the end of the day. a boomer thing someone told me recently. ;D

thanks
 8)
gab
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Updates on a Server
« Reply #6 on: February 07, 2024, 02:34:07 pm »

I made it continue if you let it timeout.  This way it will work the same except for the delay.
Logged
Matt Ashland, JRiver Media Center

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Updates on a Server
« Reply #7 on: February 07, 2024, 02:48:14 pm »

I made it continue if you let it timeout.  This way it will work the same except for the delay.
but why, who cares for the 30 seconds time out. not the headless server people nor me, or as i understand, mattkahn.
when it would stop the update after the timeout (or set the timeout in the hours range).. that would be solving the problem

 8)
gab
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Updates on a Server
« Reply #8 on: February 07, 2024, 02:50:35 pm »

Want timeout to not update?
Logged
Matt Ashland, JRiver Media Center

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72377
  • Where did I put my teeth?
Re: Updates on a Server
« Reply #9 on: February 07, 2024, 02:59:18 pm »

Maybe a 10 second timeout would be reasonable?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Updates on a Server
« Reply #10 on: February 07, 2024, 03:00:12 pm »

Maybe a 10 second timeout would be reasonable?

And what answer on timeout?
Logged
Matt Ashland, JRiver Media Center

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Updates on a Server
« Reply #11 on: February 07, 2024, 03:05:06 pm »

Want timeout to not update?
yes? so i can update when im behind the machine and can say yes when asked. and jremote keeps working. but that would not help the headless server people, are there any around to say something, because i think the way i use it is as a headless server.
for instance reaper audio, the other software i use a lot (and which does not have a server to start up) always tells that there is an update and asks if i want to download and install the update. and i do that when it does not break the work (in case of mc, morning) flow. i do it when i find it convenient.

hope that cleares it up a bit, what i want to say.
  :P
gab
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Updates on a Server
« Reply #12 on: February 07, 2024, 03:07:24 pm »

Alright, next build:
Changed: When you launch the program and an updated is pending, it will ask if you want to install the update instead of just doing it (times out and cancels in 30 seconds for headless servers).
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Updates on a Server
« Reply #13 on: February 07, 2024, 03:09:14 pm »

We can make it an option if it's enough of a sticking point.  Hopefully it won't be.
Logged
Matt Ashland, JRiver Media Center

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Updates on a Server
« Reply #14 on: February 07, 2024, 03:13:02 pm »

sounds great to me Matt. lets see
thanks a lot.
 8)
gab

PS: i enabled the automatic update in anticipation.  ;D
Logged

DJLegba

  • Citizen of the Universe
  • *****
  • Posts: 995
Re: Updates on a Server
« Reply #15 on: February 07, 2024, 03:27:47 pm »

Doesn't the timeout just make headless servers operate as if "Disable automatic updates" is always selected? Seems like that option is already available just by selecting "Disable automatic updates".
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Updates on a Server
« Reply #16 on: February 07, 2024, 03:46:15 pm »

Doesn't the timeout just make headless servers operate as if "Disable automatic updates" is always selected? Seems like that option is already available just by selecting "Disable automatic updates".
yes it would. just no time out and an notification would be ideal, and that is what the first post of this new thread is about.
 8)
peace
gab
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7771
  • Autumn shade...
Re: Updates on a Server
« Reply #17 on: February 07, 2024, 04:28:18 pm »

We can make it an option if it's enough of a sticking point.  Hopefully it won't be.

It probably will be once it's in a public build, to someone at least. :P

Personally if I'm honest I kinda wish MC could self-update itself completely without any user intervention. Yeah, I know on Windows it prompts for UAC, but there's ways to work around that and there are times I kinda wish it'd just automatically update itself at certain times (e.g. 2AM or something) without any user intervention at all.

The only downside to that is MC would start in the foreground and I like to keep my MC server minimized into the taskbar. Yeah, using Media Server would workaround this, but I want the full MC window up and running, just minimized to the taskbar on start. But that's a whole different thing altogether.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72377
  • Where did I put my teeth?
Re: Updates on a Server
« Reply #18 on: February 08, 2024, 12:50:45 am »

It probably will be once it's in a public build, to someone at least. :P

Personally if I'm honest I kinda wish MC could self-update itself completely without any user intervention. Yeah, I know on Windows it prompts for UAC, but there's ways to work around that and there are times I kinda wish it'd just automatically update itself at certain times (e.g. 2AM or something) without any user intervention at all.
I was thinking the same thing.  Just update. 
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Updates on a Server
« Reply #19 on: February 08, 2024, 01:16:31 am »

I was thinking the same thing.  Just update.
i will not turn of the uac when not neccesary, now i have the automatic update turned of (not recommended), because it not update automatically, it just stalls until im at the machine again, and when it would update automatically i would not know, and i really think it is nice when one gets a notification that there is a new version of the software installed or about to install, so one can check out what changed and how that could help or influences the way i use it.

 8)
gab
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7771
  • Autumn shade...
Re: Updates on a Server
« Reply #20 on: February 08, 2024, 06:55:50 am »

You don't need to disable UAC. There's ways to update apps without UAC prompts that some other apps do, e.g. allowing installs in the %APPDATA% (user profile) directory like apps like Chrome do, having an elevated process running in the background at startup which handles auto updates without UAC prompts, etc.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2567
Re: Updates on a Server
« Reply #21 on: February 08, 2024, 09:08:32 am »

MC installs a service which runs as System; it can be used to start the installer with elevated permissions, bypassing UAC. Only the first-time install would need to be run as Administrator (or request permission) in order to install that same service.

Sounds like an Auto-Update mode setting is needed. Here's a design proposal for the options:
  • Disabled: no automatic check for updates
  • Ask: show a notification popup with no timeout, with UpdateNow / RemindMeLater(cancel) / SkipThisVersion buttons. Same for a manual check for updates. User must accept or dismiss the popup, but MC is already running in the background.
  • Automatic: show an action-panel notification with 30 second timeout, then install the update. Optionally offer the same options as "ask" (default to UpdateNow after 30 seconds)

The Automatic mode should use a Scheduler Task to determine when to check and perform the updates. That way the user can control when they want it to happen.
Logged

gappie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4580
Re: Updates on a Server
« Reply #22 on: February 08, 2024, 09:31:05 am »

MC installs a service which runs as System; it can be used to start the installer with elevated permissions, bypassing UAC. Only the first-time install would need to be run as Administrator (or request permission) in order to install that same service.

Sounds like an Auto-Update mode setting is needed. Here's a design proposal for the options:
  • Disabled: no automatic check for updates
  • Ask: show a notification popup with no timeout, with UpdateNow / RemindMeLater(cancel) / SkipThisVersion buttons. Same for a manual check for updates. User must accept or dismiss the popup, but MC is already running in the background.
  • Automatic: show an action-panel notification with 30 second timeout, then install the update. Optionally offer the same options as "ask" (default to UpdateNow after 30 seconds)

The Automatic mode should use a Scheduler Task to determine when to check and perform the updates. That way the user can control when they want it to happen.
That would work for me

 8)
gab
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7771
  • Autumn shade...
Re: Updates on a Server
« Reply #23 on: February 08, 2024, 10:54:33 am »

MC installs a service which runs as System; it can be used to start the installer with elevated permissions, bypassing UAC. Only the first-time install would need to be run as Administrator (or request permission) in order to install that same service.

Sounds like an Auto-Update mode setting is needed. Here's a design proposal for the options:
  • Disabled: no automatic check for updates
  • Ask: show a notification popup with no timeout, with UpdateNow / RemindMeLater(cancel) / SkipThisVersion buttons. Same for a manual check for updates. User must accept or dismiss the popup, but MC is already running in the background.
  • Automatic: show an action-panel notification with 30 second timeout, then install the update. Optionally offer the same options as "ask" (default to UpdateNow after 30 seconds)

The Automatic mode should use a Scheduler Task to determine when to check and perform the updates. That way the user can control when they want it to happen.


I like the way you think. :D
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9124
Re: Updates on a Server
« Reply #24 on: February 08, 2024, 11:18:16 am »

So, our HTPC has no keyboard or mouse, just a remote. One of the keys on that remote causes an immediate reboot which happens very quickly indeed.

The MC client there, is set to startup in theater view. When there's an update sitting, it's auto-installed at launch time. There's no UAC prompt, which, IIRC, could be down to me sliding the setting down one notch.

The reboot and MC update is done in less than 30 seconds. How will this proposal affect us here?

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2567
Re: Updates on a Server
« Reply #25 on: February 08, 2024, 12:29:45 pm »

Setting it to "automatic" would do the same. If a Scheduler task is added you would be able to control the update time.
Logged

rec head

  • Citizen of the Universe
  • *****
  • Posts: 1008
Re: Updates on a Server
« Reply #26 on: February 10, 2024, 07:17:38 am »

...
Sounds like an Auto-Update mode setting is needed. Here's a design proposal for the options:
  • Disabled: no automatic check for updates
  • Ask: show a notification popup with no timeout, with UpdateNow / RemindMeLater(cancel) / SkipThisVersion buttons. Same for a manual check for updates. User must accept or dismiss the popup, but MC is already running in the background.
  • Automatic: show an action-panel notification with 30 second timeout, then install the update. Optionally offer the same options as "ask" (default to UpdateNow after 30 seconds)
...

I asked about this years ago but probably didn't have as good as a solution as this in mind. To solve the OP's problem I turn off auto-update and do it manually .
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Updates on a Server
« Reply #27 on: February 10, 2024, 08:33:19 am »

The build we just posted can optionally ask for confirmation before installing.  Thanks for the help.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up