EmonPi stopped working after unplug from power


I accidentally unplugged EmonPi form power and after powering on my Dashboard stopped working, no readings from temperature sensors and after logging out I can’t login.

Error in line 215

See pics.

Any ideas where should I start to bring my dashboard back to life?

How can I find factoryreset script?

Looks like there’s no folders at all…

Hello @Dmitry could you try:

cd /var/www/emoncms
git status
git pull origin master
cat version.json

It sounds like a broken update during startup but should be recoverable without factory reset

Thanks for your reply. I will try.

This didn’t work for me.

Please help me with correct command.

Great that’s really helpful. There does appear to be local changes not sure why that’s got messed up. Perhaps the reboot happened whilst it was in the middle of updating or something…

Can you try the following:

cd /var/www/emoncms
git fetch origin
git reset --hard origin/stable

Thanks that was helpful.
I restored all functionality

1 Like