ni-c / heimcontrol.js

Home-Automation with node.js and Raspberry PI
MIT License
1.41k stars 297 forks source link

app doesn't start with current version of raspbian #74

Open tomas-kaspar opened 10 years ago

tomas-kaspar commented 10 years ago

Hi, I have a problem. Heimcontrol worked fine on raspberry pi. But then I update and upgrade system (run sudo apt-get update and sudo apt-get upgrade). Since then app doesn't start. It ends somewhere after

connect.multipart() will be removed in connect 3.0 visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives connect.limit() will be removed in connect 3.0

Somebody wrote, that he had a same issue and reinstalling of mongodb helped. I think its not my problem. I tried to install latest version of mongodb on windows and I have same problem. On raspi I use mongopi db. Any ideas?

awkwardterrain-com commented 9 years ago

I hope you didn't completely give up on heimcontrol just yet. It might just be, that MongoDB crashed somehow and didn't clean up after itself. Try running: sudo ps aux | grep mongod | grep -v grep and if that returns nothing run: sudo find / -type f -name "mongod.lock" If it finds:

``` /var/lib/mongodb/mongod.lock remove that file with the following command: sudo rm /var/lib/mongodb/mongod.lock now you should be able to start the MongoDB again by typing: sudo service mongodb start