Mup Setup and Deploy fail - All configured authentication methods failed

Hey! I’ve spent almost 2 days now trying to deploy my app to my DigitalOcean Droplet. I keep getting this error:

Started TaskList: Setup Docker
[138.197.207.118] - Setup Docker
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: All configured authentication methods failed
    at tryNextAuth (/usr/local/lib/node_modules/mup/node_modules/nodemiral/node_modules/ssh2/lib/client.js:290:17)
    at SSH2Stream.onUSERAUTH_FAILURE (/usr/local/lib/node_modules/mup/node_modules/nodemiral/node_modules/ssh2/lib/client.js:469:5)
    at emitTwo (events.js:126:13)
    at SSH2Stream.emit (events.js:214:7)
    at parsePacket (/usr/local/lib/node_modules/mup/node_modules/ssh2-streams/lib/ssh.js:3647:10)
    at SSH2Stream._transform (/usr/local/lib/node_modules/mup/node_modules/ssh2-streams/lib/ssh.js:551:13)
    at SSH2Stream.Transform._read (_stream_transform.js:186:10)
    at SSH2Stream._read (/usr/local/lib/node_modules/mup/node_modules/ssh2-streams/lib/ssh.js:212:15)
    at SSH2Stream.Transform._write (_stream_transform.js:174:12)
    at doWrite (_stream_writable.js:387:12)
    at writeOrBuffer (_stream_writable.js:373:5)
    at SSH2Stream.Writable.write (_stream_writable.js:290:11)
    at Socket.ondata (_stream_readable.js:639:20)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
\W$ 

I have found the same question here: https://github.com/zodern/meteor-up/issues/974 but unfortunately not the answers I need :frowning: nothing works…

This is my mup file:
module.exports = {
servers: {
one: {
// TODO: set host address, username, and authentication method
host: ‘my server ip number’,
username: ‘root@my server ip number’,
password: ‘my password
}
},

app: {
// TODO: change app name and path
name: ‘appname’,
path: ‘./root/map’,

servers: {
  one: {},
},

buildOptions: {
  serverOnly: true,
},

env: {
  // TODO: Change to your app's url
  // If you are using ssl, it needs to start with https://
  ROOT_URL: 'https://www.website.co',
  MONGO_URL: 'extern url for database',
},

// Show progress bar while uploading bundle to server
// You might need to disable it on CI servers
enableUploadProgressBar: true

},
// }
};

Anyone know what to do?
My droplet is Ubuntu 16.04.6 x64

Please advice, any help is welcome!

In the server config:

servers: {
one: {
  // TODO: set host address, username, and authentication method
host: ‘my server ip number’,
username: ‘root@my server ip number’,
password: ‘my password’
}
},

The username probably should just be root. To make sure the options are correct, you can try using the same values with ssh: ssh <username>@<host> and then type in the password when it asks for it.

@Zodern! Thanks very much, it worked! I’m gonna save this! :slight_smile: