I was jamming in the desktop and chromium on my emonpi and now, when viewing my data, locally or remotely (the goal was to have a screen w/emonpi driving it rather than yet another computer in the mix) I get this:
Can’tconnect to database, please verify credentials/configuration in settings.php
Error message: Connection refused
I admit I don’t know what I am doing and ended up doing a mix of:
sudo apt install raspberrypi-ui-mods
sudo apt upgrade
sudo apt install chromium-browser
to get my desktop.
Questions:
- Can I fix this so it just works?
- is there a tutoriual to add a browser to EmonPI so a single box can be used as an energy monitor (and maybe a kitchen recipe browser :))?
- Is there a way to restart the emoncms system from an SSH prompt? Otherwise the boot messages/errors scroll too fast to see where the failure occurs.