Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Notification & Automatic Updates #30

Open
anthonylavado opened this issue Jun 18, 2020 · 8 comments
Open

Update Notification & Automatic Updates #30

anthonylavado opened this issue Jun 18, 2020 · 8 comments
Labels
enhancement New feature or request

Comments

@anthonylavado
Copy link
Member

To better serve our Windows users, we should notify them when an update is available, and offer to install it for them.

(Plans to be determined.)


This is part of a larger restructuring effort to improve the experience on Windows.

@anthonylavado anthonylavado added the enhancement New feature or request label Jun 18, 2020
@ghost
Copy link

ghost commented Nov 15, 2023

for the love of god, please someone let the server auto-update. it would be such a huge quality of life improvement!

@kurosh
Copy link

kurosh commented May 22, 2024

Is there any update on this long overdue feature? Even a notification in the dashboard / webhook plugin to notify the user the is an update they'd have to go and manually download and install would be something.

@purevertigo

This comment has been minimized.

@Danskudadev
Copy link

This would be great as newer clients dont alyways work with the server and it's a bit annoying having to manually update servers.

@habeebtc
Copy link

I have a first draft at a powershell-based auto-updater, which is intended to be registered as a windows scheduled task.

https://github.com/habeebtc/JellyfinAutomation/blob/main/upgrade-jellyfinserver.ps1

There is some quality of life stuff to add, but the biggest thing seems to be I get an error about starting the Jellyfin windows service when doing a silent upgrade with package.exe /S. Starting the service programmatically after this seems fine, but it hangs the silent upgrade installer. Possibly installer bug, or possibly dumb WinAPI behavior (I haven't had a chance to dig into it yet).

@habeebtc
Copy link

Did some further debugging and fixed a few things, and my own auto-upgrade script with the Windows installer is "pretty good" at this point. The big take-away seemed to be to let the installer handle all the server stop/start stuff via nssm.exe. I'm going to leave it running for a few months and see how it goes.

https://github.com/habeebtc/JellyfinAutomation/blob/main/upgrade-jellyfinserver.ps1

I found this gent who built something which works similarly, but using the zip file install method:

https://github.com/realies/jellyfin-autoupdate/blob/master/jellyfin-autoupdate.ps1

You might find that one preferable to your install. Hope this helps someone!

@Danskudadev
Copy link

@habeebtc Finally, Will have to check out your project atleast looks nice on first glance and will save a lot of time. have starred it and will try it out when i have some time.

@wikid24
Copy link

wikid24 commented Oct 16, 2024

I just found out last week that my server version was out of date for the last 1.5 years lol. A small tag in the admin dashboard for users to compare their installed version vs the latest version would go a LONG way imho :)

small suggestion/mockup:
image

link to the version tag (copied directly from jellyfin.org website's source code):

<a href="https://github.com/jellyfin/jellyfin/releases/latest">
<img alt="Current Release" src="https://img.shields.io/github/release/jellyfin/jellyfin.svg">
</a>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants