Unraid-Api starts twice on boot/reboot


Recommended Posts

Ive noticed that the Dashboard seems to report the Array as NaN since the lastest update of the plugin.

I did some testing and it will always happen on boot and reboot. The only way to get it to report correctly is by manually restarting the api after each boot.
Boot 1:
819481700_Boot1.thumb.PNG.5c01071f2c8b06d22ed1e9ebc17519ac.PNG

 

Manual restart of API-#1:975896058_APIRestart1.thumb.PNG.b16a2537924d5d467cb0cde9554c2a7c.PNG


Reboot 2:

1988867941_Boot2.thumb.PNG.f3c1eba82fd1b988bc062b060d855c28.PNG

Manual restart of API-#2:


1651544134_APIRestart2.thumb.PNG.d3b963b293f90a1b051085a8d3aeb56c.PNG

Installing the Plugin new works fine and as expected, until you restart the server.


Edit: 

Ive played around a bit more and found something more out. The double start is actually Unraid-Related and not the issue. 

Currently ive version 
2022.09.28.1258 installed. Worked absolutely fine on 11.0. Ive updated to 11.3 and now it shows the double start entries. However, the NaN bug doesnt appear with the mentioned version of 2022.09.28.1258

Edited by Mainfrezzer
Link to comment
On 11/18/2022 at 5:46 AM, ljm42 said:

Thanks, the double start wasn't a major problem, but it will be resolved in the next release.

 

The NAN will also be resolved in the next release. Until then please run `unraid-api restart` after a reboot to resolve it.

 

Thanks for reporting these!

Sorry to jump in...

I've reported a similar issue to my previous post a few days ago, but I met the same issue today as above, when I was looking into if there's anyone faces the same problem...

I've upgraded to the latest 6.11.5 then rebooted today, but still got 0 of 0 (NaN%) until I ran 'unraid-api restart'. Any ideas?

Edited by tomtsang
Link to comment