I am presently migrating my emonPI (emonSD-21Jul21) to the latest (emonSD-10Mar26) software.
In the meantime I did a full update to my old system which has been running well. Everything seemed to be fine until I went to the “admin” tab for system information. At this point I could only get a screen with the following titles but no details on System Information. The bottom showed “refresh error.” The other selections (update, components, etc…) under “admin” seem to be displaying the correct information. I have tried different browsers with the same error.
On my new RPI4 (emonSD-10Mar26) the admin tab displayed correctly even after a recent full update.
Any ideas on my problem? Thanks.
Cheers,
Bob
<details><summary>System Information</summary>
# System Information
</details>
<details><summary>Client Information</summary>
# Client Information
</details>
Pi Control
Hello @bgrattan this seems to be working fine for me. Could you check your browser console network tab to see if there are any errors in the system info api response, e.g:
Thanks for the reply. I have a screen shot of the working system info page 192.168.1.170 (latest SD) and the non displaying one on the earlier SD 192.168.1.174. Both are RPI4 systems. I have tried various browsers on several computers (iPad, ubuntu, win11) and all have same problem.
I hope you can read these ok. Cheers, Bob
Sorry, here are better pictures:
Thanks @bgrattan can you click on the systeminfo result there to see what it returns. Or actually maybe easier just try this directly http://192.168.1.174/admin/systeminfo
http://192.168.1.174/admin/systeminfo:
Fatal error: Uncaught TypeError: Argument 1 passed to SystemInfoModel::formatBytes() must be of the type int, float given, called in /var/www/emoncms/Modules/admin/info/SystemInfoModel.php on line 270 and defined in /var/www/emoncms/Modules/admin/info/SystemInfoModel.php:237 Stack trace: #0 /var/www/emoncms/Modules/admin/info/SystemInfoModel.php(270): SystemInfoModel->formatBytes(8282427392) #1 /var/www/emoncms/Modules/admin/info/SystemInfoModel.php(814): SystemInfoModel->getMemoryInfo() #2 /var/www/emoncms/Modules/admin/admin_controller.php(133): SystemInfoModel->getSystemInfo() #3 /var/www/emoncms/core.php(111): admin_controller() #4 /var/www/emoncms/index.php(249): controller('admin') #5 {main} thrown in /var/www/emoncms/Modules/admin/info/SystemInfoModel.php on line 237
Hello @bgrattan I’ve applied a fix in the latest version that should hopefully fix this.
Diolch yn fawr! That fixed it. Cheers, Bob