Replies: 3 comments 2 replies
|
This issue is likely not specific to Serverpilot since a similar MOTD could exist on any server. |
2 replies
|
I have exactly the same error, i take some long time to understand than ssh motd is a main issue for all my deployement strategy with deployer in v7. The most weird behaviour is with the task update_code, i have an infinite loop start:
// Clone the repository to a bare repo.
run("[ -d $bare ] || mkdir -p $bare");
run("[ -f $bare/HEAD ] || $git clone --mirror $repository $bare 2>&1", ['env' => $env]);
cd($bare);
// If remote url changed, drop `.dep/repo` and reinstall.
if (run("$git config --get remote.origin.url") !== $repository) {
cd('{{deploy_path}}');
run("rm -rf $bare");
goto start;
}Because I think it's a good idea to "detect" the motd message & remove it from all run command. Max |
0 replies
|
What worked for me was setShell('bash -norc -noprofile -ls') |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
YAML
Here is the error
Here is the fix
/etc/profile.d/serverpilot-login-message.shAll reactions