Deployed, but no data shown and console.log() quiet


#1

Good day,
I am trying to deploy my first app on digital ocean (https://46.101.4.145/). I have followed this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx

On my local machine the app works. Data is rendered and console.log prints out on the client and the server.

The same app, when deployed, only shows the html, without the data. Console.log() does not print to the client or on the server. I can see the collections on the client though (eg ModelCollection). I can edit the collections (insecure and autopublish packages are present) and the results are reflected server side.

My feeling is that the PORT and/or MONGO_URL and/or ROOT_URL is incorrectly specified. The client reports the error: The connection to wss://46.101.4.145/sockjs/453/pbtn1jp_/websocket was interrupted while the page was loading.

I am using meteor 1.2, Node 0.10.40.
Any advice to this newbie will be greatly appreciated in how to fix/debug this.