Replies: 3 comments 2 replies
-
This issue is likely not specific to Serverpilot since a similar MOTD could exist on any server. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
What worked for me was setShell('bash -norc -noprofile -ls') |
Beta Was this translation helpful? Give feedback.
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.sh
Beta Was this translation helpful? Give feedback.
All reactions