#8410·gogs

Building from source seems to not work anymore

Author: HattDroidCreated Aug 30, 2026Updated Sep 2, 2026
Labels💊 bug

Gogs version

0.14.3

Git version

  • Server: 2.43.0
  • Client: 2.43.0

Operating system

Linux

Database

SQLite 3

Describe the bug

Building from source used to be as easy as cloning gogs, entering its folder and running:

go build -o gogs

This doesn't seem to work anymore as the project structure changed. What is the right way to build from source on bare metal?

Trying to adapt to the new project structure creates a binary that seems missing modules

go build -o gogs ./cmd/gogs

To reproduce

As described above.

Expected behavior

That there is a proper documented way to build from source.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct