I had the same erorr and I did use the full Jessie distribution. In my case “npm start” showed the same error but the problem was before at “npm install”.
I never really took the time to watch the entire npm install routine, because it took a while. I had my rasbperry connected via usb on my tv. And while running npm install it rebooted! So in my case it was caused by an inadequate power supply. Switched to a plug and everything worked fine.
Perhaps somebody runs into the same error like me.
Typing in 'pm2 logs' will display those specific logs in a nicely formatted display.
@ellercom, when you tied the default config, did you actually restart the MM process completely? You said you’re running it as a serveronly, so have you killed the process and restarted it? Does the default config also jst display ‘Loading…’?
I had the same problem as you, and after trying almost everything I found where was the problem.
To add your user PI to GPIO group, in the module page says to run:
sudo useradd -g pi gpio
My RPI always replay me that GPIO group already exists… so nothing happend
I solve it by running:
sudo usermod -a -G gpio pi
In this case pi user is added to gpio group
I just restarted and it worked.
Now using the following command:
I can see how the Inputs and Outputs change
I hope it works also for you
@chenz0 I am having the same issue with the compliments and newsfeed not going to the bottom, I am also running this on a B+. Could you explain in a little more detail what you changed? Changing calc(100%-120px) to 100% just makes everything go off the right of the screen (and those are the only uses of the calc function I could find in main.css). I am very new to CSS.
Glad that’s working. It still doesn’t solve the fact that it’s dying on you, but at least it will restart it automatically for you. I think my process dies at least once a week or so … totally random, with the pi doing nothing.
Thanks for the reply, I used the same command to install mm2 as per your detailed tutorial. Though some commands after installed mm2 were different so shall retry the whole thing.
I have had my MM running for about 2 months now and everything was working fine till about 10 days ago. The Current Conditions stopped updating. If I reboot or open the site in my desktop browser the weather conditions will populate correctly with the current conditions but not update. i have look to see if the network is dropping the connection and it is not. Any thoughts?