Knowledge

Common Errors and Solutions [Reference List]

This article is a reference list with solutions to common application and console errors that you may encounter in Buddy. The list will be updated on-the-fly together with links added to the errors in the console.

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

Host key verification failed

Error:

Host key verification failed.

Solution:

Run the following line before the command:

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

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
Location of Refresh button

Get started now

14 days of unlimited trial. No credit card required.