Skip to content

Wrong PHP binary path in "db:backup" task #38

Answered by kszymukowicz
einNicklas asked this question in Q&A
Discussion options

You must be logged in to vote

@einNicklas

I must admit I do not use driver_typo3cms so I did not face this bug ealier.

We have two problems here:

  1. We can not use "bin/php" as in deployer this variable by default requires connection to remote host so when you would be on moria it would try to connect with ssh to moria because moria is not defined as localhost. If you would redefine 'bin/php' in deploy.php as simple string then it would not connect but not all users define 'bin/php' in their deploy.php file - so for them it would fail. I suppose the long term solution here would be to dynamically redefine current hosts as localhosts, but that would require lot of refactor.

  2. This is why 'local/bin/php' has been introdu…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kszymukowicz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #37 on August 22, 2023 19:17.