Added dependency on the database to the web app instance
Now logging to a file to see why failing on first run...