FAQ

1. Command not found [SSH action]

Error:

Command not found

Solution:

If you’re sure the execution command is correct, check the {.bashrc} file on the server. The file allows you to ignore commands executed in non-interactive mode. Make sure to remove or comment the config for non-interactive executions. It is usually preceeded with a line like this:

# If not running interactively, don't do anything

The config may look different depending on the system, for example:

# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac

or

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

2. Host key verification failed

Error:

Host key verification failed.

Solution:

Run the following line before the command:

ssh-keyscan <host> >> /root/.ssh/known_hosts

3. Base64: not found

If you want to run commands as a script, you need to install base64 on your server. Otherwise, please uncheck the option ‘Run as a script’.

4. Branches not getting synchronized in Buddy

If new commits to your external repository are not appearing in Buddy anymore, you can try to refresh the project. This will refresh all webhooks in the repository and fetch the current repository version, provided you still have permissions to do so.

  1. Go to the Code tab of the project
  2. Click Refresh in the right column

Location of Refresh button

5. Error while loading shared libraries

Error message example:

error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Solution Install the following packages in 'Customize Environment' tab:

apt-get update && apt-get install -y build-essential libpng-dev autoconf automake g++ libtool make nasm

Once done, run the pipeline with the 'Clear Cache' option selected.