Updating HG

Started by alzy, December 29, 2018, 06:53:31 PM

Previous topic - Next topic

alzy

So give me some instructions on how to do this. Not helpful to have updates but not know if they installed properly.

petera

Jeez could you do a little Google. It's all there  B:( and a little please wouldn't go amiss either  :)%

cd /usr/local/bin/homegenie
sudo mono HomeGenie.exe

alzy


alzy

Sorry I am not a linux person. Can some one generate the debug log so that this serious issue can get fixed!

alzy


petera

#20
Quote from: alzy on December 30, 2018, 09:37:48 PM
Please.....

How can I generate a log for you when I don't have the problem.........

Just follow these instructions exactly as they are laid out below

1. At the Terminal type sudo systemctl stop homegenie.service
2. At the Terminal type cd /usr/local/bin
3. At the Terminal type sudo mono HomeGenie.exe

At this stage you are now launching HG and can watch each individual component loading in the Terminal.

Next in your web browser enter in the address bar the ip address of HG and go about trying to carry out the update. All this activity can be seen in the Terminal. When the update wheel stars spinning keep an eye on the Terminal screen. You can scroll up and down the Terminal screen at any stage.

It will be obvious from the last 10 lines of the Terminal screen that the program has stalled. At that stage just press ctrl-c to exit HG. When that is complete just copy/paste the last 10 lines and post them here. Alternatively you can copy/past the entire log report from the Terminal screen and save the contents to a text file and attach it to your next post.

alzy

That helps! Thanks! I will give it a try.

alzy

I logged into the Pi and typed "sudo systemctrl stop homegenie.service" then enter

and get

sudo: systemctrl: command not found

Tuicemen

The command is systemctl no r (small typo)
Also path needs to be cd /usr/local/bin/homegenie
;)
Please Read Topic:
General Forum Etiquette
Before you post!

alzy

Should I do this for the double click/cm19a issue also?

Tuicemen

Probably worth a shot though I don't expect it to show anything for that.
Please Read Topic:
General Forum Etiquette
Before you post!

petera

Quote from: Tuicemen on December 31, 2018, 09:05:49 AM
The command is systemctl no r (small typo)
Also path needs to be cd /usr/local/bin/homegenie
;)

If your homegenie.service file has been set up correctly a symlink will have been created which means it will run from any folder so no need to add in a path when issuing the command

petera

Quote from: alzy on December 31, 2018, 09:10:35 AM
Should I do this for the double click/cm19a issue also?

Should you do WHAT for your double click cm19 issue

alzy


petera

Quote from: alzy on December 31, 2018, 09:33:30 AM
generate a log

Yes it allows you to monitor all activity in HG in real time. This is the correct procedure to use when troubleshooting HG. You press a switch on a module and you see exactly how HG handles the command.

Not much point posting issues you have, say with a browser, without providing explicit detail as to how HG is handling the issue. Makes life so much easier for those assisting you as it takes the guesswork out of the equation.

Have you run HG in debug yet.