Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can I check for updates via CLI (bash script)?

Featured Replies

I wrote a little bash script to interface with a MicroPython program on a Pi Pico with a 1602 LCD to display information, such as:
Unraid Version, Hostname/IP, UPS Status, Disk Space.

Video if interested (a link to my code is in the video description): 



I was wondering if there was a way to check for updates to Unraid via the CLI, so that I could incorporate a daily check into my script. 

17 hours ago, zefie said:

I was wondering if there was a way to check for updates to Unraid via the CLI, so that I could incorporate a daily check into my script. 

There you go:

wget -qO- https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/stable/releases.json | jq -r '.[0].name' | cut -d ' ' -f2

 

Of course make sure that you've go jq installed.

 

17 hours ago, zefie said:

I wrote a little bash script

I would also recommend that you link the bash script here, or even better post it here as a document. I don't know if everyone trusts links form a not know source.

  • Author
1 hour ago, ich777 said:

There you go:

wget -qO- https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/stable/releases.json | jq -r '.[0].name' | cut -d ' ' -f2

 

Of course make sure that you've go jq installed.

 

Thanks!
 

1 hour ago, ich777 said:

 

I would also recommend that you link the bash script here, or even better post it here as a document. I don't know if everyone trusts links form a not know source.


The bash script on its own is useless without the customized Pico MicroPython code (included in the rar).
The bash script just sends data over the USB Serial port exposed by the Pico, with custom formatting I made up to handle stuff like moving the cursor on the LCD, clearing the LCD, etc.

Plus, I could do better at documenting what each part of the script does, but I kinda threw the release (and video) together in 30 min just to post this thread😅

2 hours ago, zefie said:

The bash script on its own is useless without the customized Pico MicroPython code (included in the rar).

Then upload it here.

 

There for sure people over here that would appreciate it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.