Skip to content

There is a directory (not symlink) #3108

@vesnindev

Description

@vesnindev
  • Deployer version: v7.0.0-rc.4
  • Deployment OS: Debian 10

Hello. After update Deployer I have some problems:

  1. Deployer not see SSH Keys and Always Ask Password, but If I use command:

ssh root@host -p port

I connected to my server.

SSH Keys exist on my local and deploy server. Some line from deploy.php:

    ->set('labels', ['stage' => 'production'])
    ->set('http_user', 'www-data')
    ->set('remote_user', 'deployer')
    ->set('hostname', HOST)
    ->set('port', PORT)
    ->set('branch', 'master')
    ->set('config_file', '/home/aleksey/config')
    ->setIdentityFile('/home/aleksey/deployer_ssh')
    ->setForwardAgent(true)
    ->setSshArguments(['-o PasswordAuthentication=no'])
    ->setSshArguments(['-o StrictHostKeyChecking=no'])
    ->setSshArguments(['-o UserKnownHostsFile=/dev/null'])
    ->set('deploy_path', '/var/www/site.pro/public_html');
  1. Second Error:

when I use command:
php vendor/bin/dep -vvv deploy stage=production

I got exeption:

[site.pro]
[site.pro]   There is a directory (not symlink) at /home/deployer.
[site.pro]   Remove this directory so it can be replaced with a symlink for atomic deployments.

If i remove deployer folderm I got some error but only for root folder:

There is a directory (not symlink) at /.
[site.pro]   Remove this directory so it can be replaced with a symlink for atomic deployments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions