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.

6.10 and NCHAN

Featured Replies

Hi @bonienl

 

As per your post on memory leak thread:

 

Starting with Unraid version 6.10 the traditional polling mechanism is replaced by a websocket event driven model using Nchan.

 

Will there be a guide for the new process so devs can make changes to their plugins where they have dashboard pages?

The ability to use Nchan anywhere (including the dashboard) has existed since 6.7.  It's only the OS dashboard that is now completely moving away from using polling.

 

To maintain backwards compatibility down to 6.7, you have to use the "legacy" method like FCP does (fixproblems.page lines 179-199, 265  helpers.php lines 448-461, scan.php line 188)

 

Main difference between how 6.9 handles it vs previous versions is that you can simply write an appropriate file and get rid of the curl commands and 6.10 simplifies it even more (and probably also has the ability to automatically stop the background process if nothing is listening anymore - which doesn't matter for FCP or diagnostics on 6.9+) (which is why the dashboard didn't originally use it since there was no real way to stop the process running in the background if nothing was listening)

 

I'm sure bonienl will pipe in though at some point...

 

 

  • Author
1 hour ago, Squid said:

I'm sure bonienl will pipe in though at some point

Thanks for your feedback Squid

The use of Nchan is indeed already included since several Unraid versions ago and was limited to the status updates in the footer and the CPU load on the dashboard.

 

Unraid 6.10 introduces a new functionality to start and stop Nchan publishers (background processes) on demand. As soon as the GUI requires it a publisher is started and can optionally keep running or be stopped when the GUI does not require it anymore.

 

Nchan is beneficial when continuous updates are required on a GUI page. This happens on the Dashboard page and the Main page, which now use Nchan subscribers to listen to a publisher and update accordingly.

 

A guide will be made available for devs, which explains how to make use of this new functionality in 6.10, but keep in mind any backward compatibility requirements when a plugin is installed on an "older" version of Unraid (this is up to the plugin developer).

 

 

  • 9 months later...

image.thumb.png.12dd5f8d3bf58946aba45dd39cfaaa58.png

can someone explain this? or how to stop it form popping up every 5 seconds when connecting remotely form outside  network?
just happened after installing rc3

Edited by TRusselo

There's an issue with some browsers.  The fix will be in RC4.  I use Chrome and have zero issues.

Just now, Squid said:

I use Chrome and have zero issues.

Likewise for me with Chrome; no Nchan errors or slowness in the GUI.  On Firefox I have lots of Nchan errors and slowness in loading the Main tab and opening a terminal session from the GUI.  For now, I am using Chrome for the unRAID GUI.

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.