more G-Labs products

Author Topic: HG Script Locks UP - What would YOU do?  (Read 751 times)

January 05, 2016, 03:03:50 PM
Read 751 times

kevinvinv

  • ****
  • Information
  • Sr. Member
  • Posts: 196
Hello,

I leave the HG "webpage" up showing my dashboard-   in a few hours time I get a message from firefox that a "Script has stopped responding" and firefox essentially indeed... won't respond at all anymore.   Have to kill the application externally --  this is on a Ubuntu 15 install.

Just looking for some advice on how you might go about troubleshooting this.

Thanks!!

January 05, 2016, 03:40:05 PM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
Step 1 is always to post a log file.

For Linux either:
  • Launch HG from the prompt and redirect output to a file
  • Modify the /usr/local/bin/HomeGenie/startup.sh file to redirect output from /dev/null to a file
I use the second approach but it constantly writes to disk so this is not ideal for RPi installations as a permanent solution.

January 06, 2016, 04:09:35 AM
Reply #2

kevinvinv

  • ****
  • Information
  • Sr. Member
  • Posts: 196
OK Thanks.

Should I expect my scheduled events to continue even if Firefox and the "GUI" lock up or does that need to be up and running for things to happen?

January 06, 2016, 07:59:39 PM
Reply #3

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
HG is a server and will run autonomously.  If you connect to it, you can control things locally as you want.  If you are not connected, it works like any other HA software and works as you expect in the background.  You do not need to be connected for it to function.