Forem Creators and Builders 🌱

Jephthah Okpukoro
Jephthah Okpukoro

Posted on

Error with Build and How to Setup Buildkite

I was using to build and update my site with a forked repo until recently that the build process no longer successful. After reading this post, I realized I wasn't alone.

So I decided to try Buildkite:

I've succeeded in setting up the agent using Ubuntu provider on Buildkite (after creating a new Droplet on DO with 4gb RAM). Now I'm finding it difficult to set up the Pipeline.

Please how do I set up the pipeline to build successfully? Below is the error I got when I ran build at Buildkite after setting up a Pipeline:

Preparing plugins
# Plugin "" already checked out (e3eaec8)
Preparing working directory
$ cd /var/lib/buildkite-agent/builds/ubuntu-1/jedafe/forem
# Host "" already in list of known hosts at "/var/lib/buildkite-agent/.ssh/known_hosts"
$ git clean -ffxdq
# Fetch and checkout remote branch HEAD commit
$ git fetch -v --prune -- origin main
 * branch                main       -> FETCH_HEAD
 = [up to date]          main       -> origin/main
$ git checkout -f FETCH_HEAD
HEAD is now at 9ca8b4117 Update _footer.html.erb
# Cleaning again to catch any post-checkout changes
$ git clean -ffxdq
# Checking to see if Git data needs to be sent to Buildkite
$ buildkite-agent meta-data exists buildkite:git:commit
# Sending Git commit information back to Buildkite
$ buildkite-agent meta-data set buildkite:git:commit < /dev/stdin
2023-12-06 20:41:08 INFO   Reading meta-data value from STDIN
Running plugin docker-login pre-command hook
$ /etc/buildkite-agent/plugins/github-com-buildkite-plugins-docker-login-buildkite-plugin-v2-0-1/hooks/pre-command
:docker: Logging into docker registry
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/auth": dial unix /var/run/docker.sock: connect: permission denied
🚨 Error: The plugin docker-login pre-command hook exited with status 1
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

jumpdo profile image

No one is responding in this community. I think self-hosting and support for Forem might be inactive. I also made a post at, but it's been 6 days without a response.