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.

unMENU fata division by 0

Featured Replies

Well I guess when it rains it pours.... here is another issue I'm having with unMENU not starting anymore:

 

root@vault:/boot/unmenu# uu

root@vault:/boot/unmenu# unmenu[2144]: awk: ./unmenu.awk:801: fatal: division by zero attempted

 

root@vault:/boot/unmenu# ps -ef | grep uu

root      2174  2089  0 02:00 pts/0    00:00:00 grep uu

root@vault:/boot/unmenu#

 

 

In unmenu.awk, at line 801, change it from

 

pct_complete = sprintf("%.1f", resync_pos/disk_size[rebuilding_disk]*100);

 

To this (adding the lines in blue to surround line 801):

 

if ( disk_size[rebuilding_disk] > 0 ) {

  pct_complete = sprintf("%.1f", resync_pos/disk_size[rebuilding_disk]*100);

} else {

  pct_complete = 0;

}

 

You are the first to report this bug...  You must have a disk reporting as zero in size??  (I did not expect that to ever occur).  Use an editor that does not add carriage returns to the ends of lines when you make the change.  (the editor in "mc" will work, or notepad2 as described in the wiki will also work fine)

 

Joe L.

Archived

This topic is now archived and is closed to further replies.

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.