Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy is successful but app not working on server #1137

Open
Sam-Olendi opened this issue Nov 15, 2016 · 0 comments
Open

Deploy is successful but app not working on server #1137

Sam-Olendi opened this issue Nov 15, 2016 · 0 comments

Comments

@Sam-Olendi
Copy link

I'm trying to upload my meteor app to Digital Ocean (Ubuntu 16.04.1 x64). I believe I have the settings right (unless I don't):

module.exports = {
  servers: {
    one: {
      host: '[the ip address]',
      username: 'root',
      password: '[my password]'
    }
  },

  meteor: {
    name: 'pichaprint-meteor',
    path: './',
    docker: {
      image:'kadirahq/meteord:base'
    },
    servers: {
      one: {}
    },
    buildOptions: {
      serverOnly: true,
      debug: true
    },
    env: {
      ROOT_URL: 'http://pichaprint.com'
    },
    deployCheckWaitTime: 60
  },
};

However, I get a silent fail when I try to run mup setup or mup deploy from the .deploy folder. The commands only work when I run them with the following flag:
mup setup --config .deploy/mup.js
mup deploy --config .deploy/mup.js

The final result is:

c:\wamp\www\pichaprint-app\pichaprint-meteor (master) (pichaprint-meteor@)
λ mup setup --config .deploy/mup.js

Started TaskList: Setup Docker
[139.59.181.127] - setup docker
[139.59.181.127] - setup docker: SUCCESS

Started TaskList: Setup Meteor
[139.59.181.127] - Setup Environment
[139.59.181.127] - Setup Environment: SUCCESS

And when I deploy, this is what I get:

c:\wamp\www\pichaprint-app\pichaprint-meteor (master) (pichaprint-meteor@)
λ mup deploy --config .deploy/mup.js
Building App Bundle Locally

Started TaskList: Pushing Meteor
[139.59.181.127] - Pushing Meteor App Bundle to The Server
[139.59.181.127] - Pushing Meteor App Bundle to The Server: SUCCESS
[139.59.181.127] - Pushing the Startup Script
[139.59.181.127] - Pushing the Startup Script: SUCCESS

But when I go to the URL, I get a 502 Bad Response error. What am I missing here?
PS, I'm new to this, so any help would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant