meanjs app does not load on a 1gig droplet

So here’s my setup:

  • Digital Ocean 1gig droplet
  • Ubuntu 14.04x64
  • Dokku 1-click installer
  • MongoDB attached to Dokku via Verified. I can connect to it via robomongo
  • domain registered in DNS records in my DigitalOcean dashboard (
  • website is accessible (verified via tailed app-access.log)
  • the basic meanjs app via their yo generator
  • only modified connection to mongodb server in Dokku.
  • push to Dokku is successful, no push errors
  • DigitalOcean swapfile create (1gig), no memory warnings according to dokku logs app
  • properly set Dokku env variables verified via dokku config app
  • properly set VHOST file to

My issue is everytime I visit the site, assets load (up until favicon.ico, along with /lib/bootstrap/dist/css/bootstrap.min.css and many others from that directory), but it stops there. The site doesn’t load anything after that. The favicon shows up then nothing.

I checked the nginx logs, nothing. This is a practice website so I will be posting the nginx.conf:

server {
  listen      [::]:80;
  listen      80;
  server_name ;
  access_log  /var/log/nginx/mean-access.log;
  error_log   /var/log/nginx/mean-error.log;

  location    / {
    proxy_pass  http://mean;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection upgrade;
    proxy_set_header Host $http_host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header X-Forwarded-Port $server_port;
    proxy_set_header X-Request-Start $msec;
  include /home/dokku/mean/nginx.conf.d/*.conf;
upstream mean { 

I checked nginx logs, dokku logs, I got nothing. What could be wrong?


This comment has been deleted

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

A little more googling and I found that I should issue a grunt build before I push my code to Dokku residing in Digital Ocean.

here’s the discussion in meanjs issues: