jeffmcfadden / PiThermostat

Build a Raspberry Pi Thermostat
MIT License
44 stars 1 forks source link

Hi Jeff #4

Open portion87 opened 7 years ago

portion87 commented 7 years ago

I went through your instructions as best i could but being a absolute nood i get a blank screen when i try to access the web server. Please help

jeffmcfadden commented 7 years ago

What's the URL you're trying to access?

portion87 commented 7 years ago

Hi Jeff

Thanks so much for the reply. I tried localhost:80 and also the pi's ip:80 and it says nginx was succesfully set up. But that is all. There is also nothing in the error log

On 16 May 2017 01:37, "Jeff McFadden" notifications@github.com wrote:

What's the URL you're trying to access?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jeffmcfadden/PiThermostat/issues/4#issuecomment-301634272, or mute the thread https://github.com/notifications/unsubscribe-auth/AbQJBv9Ppm-Z9CDZNVfaCbUo8vxbx888ks5r6OHOgaJpZM4NVzpA .

jeffmcfadden commented 7 years ago

Is unicorn running?

Try this:

cd /www/thermostat
bundle exec unicorn_rails -c config/unicorn.rb -E production -D

Then refresh.

portion87 commented 7 years ago

Hi Jeff

The command runs without any feedback or error but still the same

On 16 May 2017 18:15, "Jeff McFadden" notifications@github.com wrote:

Is unicorn running?

Try this:

cd /www/thermostat bundle exec unicorn_rails -c config/unicorn.rb -E production -D

Then refresh.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jeffmcfadden/PiThermostat/issues/4#issuecomment-301834145, or mute the thread https://github.com/notifications/unsubscribe-auth/AbQJBmsJj1eZdWNxuuW2ZEStH9Fb9whtks5r6culgaJpZM4NVzpA .

jeffmcfadden commented 7 years ago

Check the logs:

cd /www/thermostat/log
tail -n 1500 unicorn.log
tail -n 1500 production.log