Jump to content
theone

Server Layout Plugin for unRAID v6

301 posts in this topic Last Reply

Recommended Posts

On 3/6/2017 at 3:27 PM, Pauven said:

If theone is taking feature requests, I still have the one I listed above, to color code the drives according to temperature to create a heat map:

 

https://forums.lime-technology.com/topic/38543-server-layout-plugin-for-unraid-v6/?do=findComment&comment=485756

 

Otherwise, I love this plugin as is, thanks!

Awesome idea, but you might want to revisit your images from the original post, they're not working now.

Share this post


Link to post

Having a small problem with the app. The UNRAID Boot Disk is a 16GB SanDisk Cruzer, but the app is showing the model as a DVDRAM Model GH24NSB0. This just happens to be the same model as the actual DVD drive in the tower, which is an LG GH24NSB0.

 

In addition, the DVD drive does not always get detected. When it does, and I assign it a spot, the configuration gets blown away and defaults back to 4 columns of 6 rows instead of the 2 columns of 10 rows I had set.

 

This is very strange, and it appears to have begun when I upgraded to UNRAID version 6.3.3.

 

Does anyone have any idea what might cause this?

 

Thanks 

Share this post


Link to post

Is it possible to get the layout like this ?

1  13

2  14

3  15

4  16

5  17

6  18

7  19

8  20

9  21

10   22

11  23

12  24

 

?

 

I have my disk in two towers with the sata and power cable between them,

 

 

Edited by Falcon

Share this post


Link to post

Yes, then it is

 

1   2    3    4   5   6  7   8   9  10 11 12

13 14 15 16 17 18 19 20 21 22 23 24

 

 

 

Share this post


Link to post

i think you entered 2 Rows and 12 Columns

Try again with 12 rows and 2 columns.

 

I get:

 

1   2

3   4

5   6

7   8

9   10

.

.

.

Edited by theone

Share this post


Link to post

Good morning,

Taking UnRaid for a test drive, and found your plug-in along the way, but i'm having a bit of an issue with the configuration getting lost. I set things up and save it and it seems to work fine for a while, but periodically it will show the following error and i have to set everything up again:

 

Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 126

Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165

 

The errors repeat multiple times (maybe for each drive?)

 

System setup:

SuperMicro xeon d soc

ESXi 6u2 (kplop)

2 proc

8 gb

(2) dell h300 flashed to it mode

(3) WD red 3tb (two for parity)

(1) Seagate 3tb

(2) sandisk 960

 

Any help wound be appreciated.

 

 

Edited by Fortressbeast

Share this post


Link to post

I am having the same problem that Fortressbeast is describing above. This also seems related to the problem I posted about above on May 6. 

Share this post


Link to post

Great plugin! Just discovered, can finally remove my old google sheet!  So far I haven't seen any problems, like those described above..

 

A few feature requests:

  1. The main page is very slow to load - feels like it's trying to load all available data from smart reports and stuff before it starts.  Could it be AJAXED up, so that the page and static data is displayed instantly, then update in stuff like load cycle count that changes?
  2. Maybe an option for a newline after some elements? The data on the label is a bit hard to read; would be nice to pick which things get their own line
  3. Huge +1 to the colored heatmap idea!

 

Share this post


Link to post

Not sure what just happened, but the layout tab spits this error out at me now:

 

Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 126 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 126 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 126 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165

 

And the data tab's historical table is empty and all the assignments are lost.

Share this post


Link to post
1 minute ago, chaosratt said:

Not sure what just happened, but the layout tab spits this error out at me now:

What versions do you have, both for unRAID and for this plugin?

Share this post


Link to post
4 hours ago, chaosratt said:

Unraid is 6.3.5, plugin is 2017.03.03

Just noticed the same thing on my server, running identical versions.

Share this post


Link to post

I am running unRAID 6.3.5 without any issues (plugin version 2017.03.03)

 

Share this post


Link to post
On 5/10/2017 at 4:51 AM, Falcon said:

Is it possible to get the layout like this ?

1  13

...

12  24

 

?

 

I have my disk in two towers with the sata and power cable between them,

 

 

 

I think you're looking to be able to number the drives from "top to bottom" instead of the default "left to right", am I right?

 

I'm actually wandering the same thing...

 

I have 3 columns of 5 drives each, and they're numbered as such:

 

1     6       11

2     7       12

3     8       13

4     9       14

5     10     15

 

The way the plugin numbers them is:

 

1       2       3

4       5       6

7       8       9

10    11    12

13    14    15

 

If there's a way to change the default numbering scheme that'd be awesome, but I haven't found one.

Share this post


Link to post

The numbers are for reference only so you know what bay you are assigning too, I could have used letters/symbols/words instead.

 

They have (should have) no other meaning.

 

Share this post


Link to post

good afternoon. 

 

unraid version 6.4.0 rc6
server layout version 2017.03.03 

 

here is the issue i am having. any thoughts would be appreciated

 

Warning: Illegal string offset 'Z840YXEB' in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 213

Warning: array_key_exists() expects parameter 2 to be array, string given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 227

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 171016456840 bytes) in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 213

Share this post


Link to post

Running unraid v6.3.5, and serverlayout plugin v2017.03.03.  Running the plugin results in:

 

Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 126 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 126 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 126 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165 Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/local/emhttp/plugins/serverlayout/php/serverlayout_constants.php on line 165

 

In addition to this, seeing this in the unraid system log:

 

Jul 9 19:13:57 hydra rc.diskinfo[7805]: PHP Warning: Missing argument 2 for force_reload() in /etc/rc.d/rc.diskinfo on line 684
Jul 9 19:13:57 hydra rc.diskinfo[7805]: SIGHUP received, forcing refresh of disks info.

 

Tried assigning disks to slots on the Data tab, but the plugin will not Save Data.

 

Let me know if there's anything else I can provide you to assist.

 

Share this post


Link to post
On 7/9/2017 at 7:16 PM, mst3kroqs said:

In addition to this, seeing this in the unraid system log:

 

Jul 9 19:13:57 hydra rc.diskinfo[7805]: PHP Warning: Missing argument 2 for force_reload() in /etc/rc.d/rc.diskinfo on line 684
Jul 9 19:13:57 hydra rc.diskinfo[7805]: SIGHUP received, forcing refresh of disks info.

 

I have this in my syslog as well, and I do not have this plugin. 

Share this post


Link to post
1 hour ago, DarkKnight said:

 

I have this in my syslog as well, and I do not have this plugin. 

Then maybe you have a problem with a different plugin and should report it on that thread.

 

Have you ever used this plugin? Are all your other plugins up-to-date? Did this start recently? If you recently upgraded unRAID, have you tried clearing your browser cache?

Share this post


Link to post
1 hour ago, DarkKnight said:

I have this in my syslog as well, and I do not have this plugin. 

This is from the preclear plugin (the rc.diskinfo issues)

Edited by Squid

Share this post


Link to post

Any update on the [array_key_exists() expects parameter 2 to be array] issue?  I experience this as well.  The plugin will work for a while and then I randomly get that error and my entire configuration is lost.

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.