Deploy Symfony with deployer to uberspace Server via SSH failed with Exit Code: 128 (Invalid exit argument)

I use the deployer bundle

to deploy my symfony app to an Centos Server via SSH.
The connection is fine in the deploy path I see the folders "releases" and "release" amongst other things,
but the Task "deploy:unlock" will always failed with this exeception:

Executing task deploy:unlock

In Client.php line 103:

  The command "export SYMFONY_ENV='prod'; cd /var/www/virtual/uberspaceuser/system/
  && (/usr/bin/git clone   --recursive  ssh://[email protected]/home/
  uberspaceuser/company/ /var/www/virtual/uberspaceuser/system//releas
  es/1 2>&1)" failed.

  Exit Code: 128 (Invalid exit argument)

  Host Name:

  Warning: Permanently added ',2a00:d0c0:200:0:a88f:85ff:fe
  87:1061' (ED25519) to the list of known hosts.

In my deploy.php

I have the ssh_multiplexing set to false and git_tty to false (I deploy from windows 10 to centos)

// [Optional] Allocate tty for git clone. Default value is false.
set('git_tty', false);

set('ssh_multiplexing', false);

And I try to run the command with GIT Bash dep deploy and also try with dep deploy -o ssh_multiplexing=false

Anyone an idea?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *