Deploy succeed but app not accessible
See original GitHub issueHello !
I need some help here. I launch mup setup
and mup deploy
whithout any error but I cannot access to the app on the server… What am I doing wrong?
Thanks!
$ meteor --version
Meteor 1.5.2
$ node -v
v9.1.0
$ npm -v
5.5.1
$ mup deploy --verbose
Building App Bundle Locally
Started TaskList: Pushing Meteor App
[54.37.xx.xx] - Pushing Meteor App Bundle to The Server
[54.37.xx.xx] - Pushing Meteor App Bundle to The Server: SUCCESS
[54.37.xx.xx] - Prepare Bundle
base: Pulling from abernix/meteord
c20dc0c5afeb: Already exists
a3ed95caeb02: Already exists
a3ed95caeb02: Already exists
3858f3c461ce: Already exists
a3ed95caeb02: Already exists
a3ed95caeb02: Already exists
a3ed95caeb02: Already exists
94f04cfa6fe8: Already exists
0eb4eea50fdc: Already exists
2fd6c025a55b: Already exists
32823e805333: Already exists
a3ed95caeb02: Already exists
a3ed95caeb02: Already exists
Digest: sha256:512bea3d03802e0dc03a6172c862db67c3451d5172a04bfc53edf97e6cbf7014
Status: Image is up to date for abernix/meteord:base
quiz-des-copinoux
Sending build context to Docker daemon 110.3MB
Step 1/6 : FROM abernix/meteord:base
# Executing 1 build trigger
---> Using cache
---> e400392cf52c
Step 2/6 : RUN mkdir /built_app
---> Using cache
---> a95789123edc
Step 3/6 : COPY ./ /built_app
---> Using cache
---> 7ee29842df22
Step 4/6 : ENV ROOT_URL=https://domain.com
---> Using cache
---> 1a3c2e9949bb
Step 5/6 : ENV MONGO_URL=mongodb://mongodb:27017/quiz-des-copinoux
---> Using cache
---> 1c2429f4b552
Step 6/6 : RUN cd /built_app/programs/server && npm install --unsafe-perm
---> Using cache
---> 58fb90f98031
Successfully built 58fb90f98031
Successfully tagged mup-quiz-des-copinoux:build
quiz-des-copinoux
Total reclaimed space: 0B
[54.37.xx.xx] - Prepare Bundle: SUCCESS
Started TaskList: Configuring App
[54.37.xx.xx] - Pushing the Startup Script
[54.37.xx.xx] - Pushing the Startup Script: SUCCESS
[54.37.xx.xx] - Sending Environment Variables
[54.37.xx.xx] - Sending Environment Variables: SUCCESS
Started TaskList: Start Meteor
[54.37.xx.xx] - Start Meteor
using image
removing last
Image mup-quiz-des-copinoux:latest
Volume
Removing docker containers. Errors about nonexistent endpoints and containers are normal.
quiz-des-copinoux
Error response from daemon: endpoint quiz-des-copinoux not found
Error: No such container: quiz-des-copinoux-frontend
Error response from daemon: endpoint quiz-des-copinoux-frontend not found
quiz-des-copinoux-nginx-letsencrypt
Error response from daemon: endpoint quiz-des-copinoux-nginx-letsencrypt not found
quiz-des-copinoux-nginx-proxy
Error response from daemon: endpoint quiz-des-copinoux-nginx-proxy not found
Finished removing docker containers
2777e04aef35f42bb85bdb8d5b452b4e45623691395338e949035ed14581898a
Ran abernix/meteord:base
Running autogenerate
--2017-11-12 23:44:27-- https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.36.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.36.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11745 (11K) [text/plain]
Saving to: ‘/opt/quiz-des-copinoux/config/nginx.tmpl’
0K .......... . 100% 6.91M=0.002s
2017-11-12 23:44:27 (6.91 MB/s) - ‘/opt/quiz-des-copinoux/config/nginx.tmpl’ saved [11745/11745]
latest: Pulling from jrcs/letsencrypt-nginx-proxy-companion
Digest: sha256:5bb2e91c0503baf9357c3b5eee659a8b259cf65c49cbf86717fb1a4f2307c0ba
Status: Image is up to date for jrcs/letsencrypt-nginx-proxy-companion:latest
latest: Pulling from jwilder/nginx-proxy
Digest: sha256:c7ea3c006fc8cf36db714f2533e2f705732270fe83bcbf7f09ba76e4e260f86f
Status: Image is up to date for jwilder/nginx-proxy:latest
Pulled autogenerate images
754a8941620b9a7c66e7d00ac08e53a350604d97f81ec24966d3532a994d2205
Ran nginx-proxy
35e53a23644c5075832dc5c4fcbb5b34d3e454c18f2d9e030718235c8fd686e1
Ran jrcs/letsencrypt-nginx-proxy-companion
[54.37.xx.xx] - Start Meteor: SUCCESS
[54.37.xx.xx] - Verifying Deployment
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
[54.37.xx.xx] - Verifying Deployment: SUCCESS
And here is my mup.js
module.exports = {
servers: {
one: {
host: '54.37.xx.xx',
username: 'root',
// pem: './path/to/pem'
password: 'xxxxxx'
// or neither for authenticate from ssh-agent
}
},
app: {
name: 'quiz-des-copinoux',
path: '../',
servers: {
one: {},
},
buildOptions: {
serverOnly: true,
},
env: {
// If you are using ssl, it needs to start with https://
ROOT_URL: 'https://domain.com',
MONGO_URL: 'mongodb://localhost/meteor',
},
ssl: { // (optional)
// Enables let's encrypt (optional)
autogenerate: {
email: 'mymail@gmail.com',
// comma separated list of domains
domains: 'domain.com'
}
},
docker: {
// change to 'abernix/meteord:node-8.4.0-base' if your app is using Meteor > 1.5
image: 'abernix/meteord:base',
},
// Show progress bar while uploading bundle to server
// You might need to disable it on CI servers
enableUploadProgressBar: true
},
mongo: {
version: '3.4.1',
servers: {
one: {}
}
}
};
Issue Analytics
- State:
- Created 6 years ago
- Comments:30 (2 by maintainers)
Top Results From Across the Web
Deploy succeeded but android app is not launched in xamarin ...
Last week i was updated latest version of visual studio. there is no error in existing source. but app is only deployed, not...
Read more >Application Deployment Successful but Webpage displays Error
When I access the URL for the application, the page will only show the message "A problem occurred fetching a requested resource. See...
Read more >Troubleshooting App Deployment and Health
Common reasons deploying an app fails include: The app does not successfully bind to a service, such as a PostgreSQL or MongoDB.
Read more >Troubleshoot specific errors in ClickOnce deployments
This article describes common errors that can occur when you deploy a ClickOnce application and provides steps to resolve each problem.
Read more >Known issues with Android Studio and Android Gradle Plugin
This section describes known issues related to deploying your app to a connected device. [Mac OS only] Incremental updates are not applied due...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @edemaine ! Apparently it’s not registered…
Sorry I forgot that for my other app, I added an entry for the subdomain in my server client interface. I will check again to deploy with mup. Thanks @edemaine!! 😖
Just for info, it’s working! Thanks!