What do I have to take care of when updating to version 7? #2271
Unanswered
Tchiller
asked this question in
Help needed
Replies: 2 comments 11 replies
-
UPGRADE.md docs soon will be done. For now, here is what correct definition: host('beta')
->setHostname('server.domain.com')
->setRemoteUser('deploy')
->set('deploy_path', '/var/www/beta')
->set('cachetool', '/var/run/php7-fpm-beta.sock'); So migration is this:
|
Beta Was this translation helpful? Give feedback.
11 replies
-
Thanks! This changes works for us:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have updated to version 7 today but we have encountered problems.
What we managed so far was to replace the abandoned
deployer/recipes
package by calls to e.g.contrib/cachetools.php
Then we have changed all occurrences from
hostname
toalias
in ourdeploy.php
. This would look likeand we obtain a "successful" deploy (speaking of CI logging), which does not actually deploy but yields a warning
Call to undefined method Deployer\Host\Host::alias()
Maybe the Upgrade.md is not clear enough or I am just not getting something. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions