Skip to content

FATAL: Ident authentication failed for user "name" #52

@kathgironpe

Description

@kathgironpe

Need help debugging some issue. I have this config for a Rails 3.2.8 app:

require 'mina/bundler'
require 'mina/rails'
require 'mina/git'

set :user, 'user'
set :domain, 'somedomain.com'
set :deploy_to, "/home/#{user}/public_html/#{domain}"
set :repository,""

desc "Deploys the current version to the server."
task :deploy do
  deploy do
    # Put things that will set up an empty directory into a fully set-up
    # instance of your project.
    invoke :'git:clone'
    invoke :'bundle:install'
    invoke :'rails:db_migrate'
    invoke :'rails:assets_precompile'

    to :launch do
      queue "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml"
      queue 'touch tmp/restart.txt'
    end
  end
end

Bundle install task is working.
rails:db_migrate and rails:assets_precompile give me this error:

FATAL:  Ident authentication failed for user "katherine"

Issue: My local user name is "katherine" but I specfically set :user to something else which is the username for the server
Why am I getting that error? I also don't have that username in any config file in the production server.

Other info: I do not use RVM. I have a capistrano config file that is working just fine with this line:

require 'bundler/capistrano'

Any help would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions