Another MUP failed deployed? Any

Meteor 1.4.1.1
OSX

x Verifying Deployment: FAILED
        
        -----------------------------------STDERR-----------------------------------
        dev-bundle@0.0.0 install: `node npm-rebuild.js`
        npm ERR! Exit status 1
        npm ERR! 
        npm ERR! Failed at the meteor-dev-bundle@0.0.0 install script 'node npm-rebuild.js'.
        npm ERR! Make sure you have the latest version of node.js and npm installed.
        npm ERR! If you do, this is most likely a problem with the meteor-dev-bundle package,
        npm ERR! not with npm itself.
        npm ERR! Tell the author that this fails on your system:
        npm ERR!     node npm-rebuild.js
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR!     npm bugs meteor-dev-bundle
        npm ERR! Or if that isn't available, you can get their info via:
        npm ERR!     npm owner ls meteor-dev-bundle
        npm ERR! There is likely additional logging output above.
        
        npm ERR! Please include the following file with any support request:
        npm ERR!     /bundle/bundle/programs/server/npm-debug.log
        
        > meteor-dev-bundle@0.0.0 install /bundle/bundle/programs/server
        > node npm-rebuild.js
        
         
        => Redeploying previous version of the app
         
        -----------------------------------STDOUT-----------------------------------
        
        To see more logs type 'mup logs --tail=50'
        
        ----------------------------------------------------------------------------

This is my sample myapp/.deploy/mup.js :slight_smile:

module.exports = {
  servers: {
    one: {
      host: '138.68.141.215',
      username: 'root',
      password: 'xxxxxxxxx!'
      //pem: "/Users/seb/.ssh/id_rsa"
    
      // or leave blank for authenticate from ssh-agent
    }
  },

  meteor: {
    nodeVersion: "4.4.7",
    name: 'spark2acs',
    path: '..',
    //path: '/Users/seb/spark2acs/',

    docker: {
    image: 'abernix/meteord:base'
    },

    servers: {
      one: {}
    },
    buildOptions: {
      serverOnly: true
    },
    env: {
      PORT: 63830,
      ROOT_URL: 'http://138.68.141.215:63830',
      MONGO_URL: 'mongodb://localhost/meteor'
    },

    //dockerImage: 'kadirahq/meteord'
    dockerImage: 'abernix/meteord:base',
    deployCheckWaitTime: 60
  },

  mongo: {
    oplog: true,
    port: 27017,
    servers: {
      one: {},
    },
  },
};

Solved by:

Mup is great for this magic deploy process, but all these errors with new meteor releases and not really easy to maintain and config your server process brought me to the phusion passenger. My recommendation is to spend one hour on reading docs and move to dead simple and clear deploy with passenger https://www.phusionpassenger.com/library/walkthroughs/deploy/meteor/

Sorry for the offtopic :zipper_mouth:

1 Like