femto-code/Raspberry-Pi-Dashboard

Data not showing

DottoreM opened this issue · 9 comments

In a new Raspberry Pi with Ubuntu server, I am getting missing information as per the below pic:

Screenshot 2021-03-12 at 19 20 01

Am I missing something?

Hi, thank you for creating this issue!
I am sorry for the error - I will immediately take a closer look on your case!

Please let us check the following:
1.) Did you install PHP? Which version? Does it run correctly?
2.) Could you post the output of browser console here please? You just need to open DevTools (F12).
3.) Also, what is the output if you call the following (helper) file of the dashboard via browser:
http://{address of your dashboard on RPI}/backend/sys_infos.php

Hope to be helpful!

Screenshot 2021-03-14 at 18 03 10

Screenshot 2021-03-14 at 18 04 00

Screenshot 2021-03-14 at 18 05 01

I hope this helps

Thank you - yes, it helped absolutely!

I just pushed a bugfix commit (commit link). Please run git pull in a terminal from the root folder of your local dashboard instance.
Next, check if the dashboard loads correctly now.

Yes I can confirm it works beautifully

voltage still doesnt show anything though. im guessing its normal ?

Okay, nice to hear, you can see dashboard data now.

I thought I added constructions on the dashboard in case no voltage is visible. So, can you share a screenshot from your voltage output? Is it just empty?

For the quick explanation of this voltage issue, please head over to #12 where you can find the straight forward solution.

Thanks for helping!

Following #12 fixes it indeed, but it should be pointed out that on ubuntu, one must first run
sudo apt install libraspberrypi-bin

I'm guessing its fine now at least
Screenshot 2021-03-14 at 20 08 24

Thanks for sharing instructions! On Ubuntu the additional installation of the lib is required to get the hardware analysis tools (included in RPi distro by default).

I will publish a new release with bufixes included and an updated readme with help on this.

Closing this issue if solved in the first place and in case you don't need any further advice.