Emoncms broke after installing Chromium onto emonPi

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.


  1. Can I fix this so it just works?
  2. 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 :))?
  3. 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.

Update: the problem is expanding the SD filesystem. W/o expansion, installing the raspberrypi ui and chromium works fine and allows my emonPi to also display a dashboard at the same time.