Common Errors and Solutions
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 anythingcase $- 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
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’.
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.
- Go to the Code tab of the project
- Click Refresh in the right column