Skip to content
Discussion options

You must be logged in to vote

Your addon is probably fine. The default woodpeckerci/woodpecker-server:v3 image is built FROM scratch and has no /tmp (Dockerfile). go-plugin creates the addon's unix socket with os.CreateTemp("", "plugin"), which means $TMPDIR or /tmp (server.go L579). That fails, so plugin.Serve logs plugin init error and returns before it prints the handshake line (L284-L288). The server then reads an empty stdout and gives you exactly that message.

Give the addon a writable socket directory. It inherits the server's environment (client.go L656), so on the server container:

    environment:
      - WOODPECKER_ADDON_FORGE=/mnt/gitolite
      - PLUGIN_UNIX_SOCKET_DIR=/var/lib/woodpecker

Or give the cont…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@6543
Comment options

6543 Oct 30, 2026
Maintainer

@dgesteves
Comment options

@dgesteves
Comment options

Answer selected by markfqs
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants