LowPowerLab Forum
Software support => Pi Gateway => Topic started by: Nspector5 on October 01, 2019, 11:59:50 PM
-
I recently performed a clean install on my Raspberry Pi 2 with a MightyHat and the install seems to execute okay, but when I try to go to the IP address of the Pi, I get the error message ERR_CONNECTION_REFUSED. I have checked that gateway.js is running via ps aux | grep gateway. I have also tried stopping and restarting the gateway via the sysctrl commands. I have even tried re-running the install script, all to no avail. Any ideas what might be going on? I am on the same local network as the pi; I can SSH and SFTP into the Pi, but the gateway app does not seem to be getting served.
Thanks.
-
A Pi2 is pretty old, are you sure there were no errors during setup?
-
Well, I re-ran the install, and found an error:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Running "sudo dpkg --configure -a" did not fix the problem, so I ran:"sudo apt-get install -f", then "sudo dpkg --configure -a".
I was then able to re-run the install script with no problems, and now my gateway is operating as expected.
Thanks.
-
Thanks for the follow up and solution details.