octoblu / issues

The place to report Octoblu issues
3 stars 2 forks source link

Gateblu on RaspberryPi keeps shutting down #237

Open brianehlert opened 8 years ago

brianehlert commented 8 years ago

It appears that it is getting a message telling it to shut down.

gateblu.txt

brianehlert commented 8 years ago

Tried again yesterday, booted it and it came up then shutdown.

gateblu.txt

brianehlert commented 8 years ago

Performed a global NPM update and the shutdown issue stopped. sudo npm update -g this updated: node-gyp@3.2.0 node-pre-gyp@0.6.17 npm@3.5.1

brianehlert commented 8 years ago

This has started happening again. Gateblu 5.0.5 - just the service (gateblu-forever)

peterdemartini commented 8 years ago

@brianehlert can you send us the most recent logs?

brianehlert commented 8 years ago

Sorry for the delay. The log ends with: "Gateblu shutdown"

gateblu.txt

iamruinous commented 8 years ago

It looks like there is a timeout happening that is then triggering the uncaughtException handling. I added some logging and hopefully captured that particular exception. Try v5.0.9 and see if that works better.

brianehlert commented 8 years ago

gateblu.txt

24+ hours later.. Not responding again.

peterdemartini commented 8 years ago

@brianehlert I fixed that error in v6.0.5, can you try it again?

brianehlert commented 8 years ago

@peterdemartini I am guessing that the NPM was not updated? Since npm update for gateblu-forever is not doing anything this go about. (it worked just peachy with Jade's last change to update to 5.0.9)

brianehlert commented 8 years ago

Seems that update doesn't work, (I must be remembering incorrectly) but running install again does pull the latest.

peterdemartini commented 8 years ago

@brianehlert can you explain more about the problem with the 6.0.5 version?.

brianehlert commented 8 years ago

It was just me expecting npm update to work. Once I did npm install the new version was pulled. version 6.0.5 has now been running for two days. Looks promising. I will keep it running over the weekend before closing this.

brianehlert commented 8 years ago

Still working. Closing.

brianehlert commented 8 years ago

Did it again over the weekend. It shut down. Cleanly noted in the log. gateblu.txt

sqrtofsaturn commented 8 years ago

@brianehlert I think I fixed that specific error, can you try version 6.0.7?

brianehlert commented 8 years ago

This is still happening. This time Gateblu 6.3.1 gateblu.txt

brianehlert commented 8 years ago

This persists. Is it possible to move this issue over to Gateblu-forever? Since this happens on Linux as well, when using Gateblu-forever. gateblu.txt

peterdemartini commented 8 years ago

@brianehlert I am deploying v6.4.3 with a fix for the meshblu reconnects.

Next time you run into this issue, create the issue in gateblu-forever. I don't think there is a way to transfer it.