Added error handling when redis is not available and moved checking of nodejs app in controller method for site.