Questions tagged [gogs]

Gogs is a self-hosted git service written in go.

The goal of the Gogs project is to make the easiest, fastest and most painless way to set up a self-hosted Git service. With Go, this can be done in independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, and Windows.

Features:

  1. Activity timeline
  2. SSH and HTTP/HTTPS protocols
  3. SMTP/LDAP/Reverse proxy authentication
  4. Reverse proxy with sub-path
  5. Account/Organization/Repository management
  6. Add/Remove repository collaborators
  7. Repository/Organization webhooks (including Slack and Discord)
  8. Repository Git hooks/deploy keys
  9. Repository issues, pull requests, wiki and protected branches
  10. Migrate and mirror repository and its wiki
  11. Web editor for repository files and wiki
  12. Jupyter Notebook
  13. Two-factor authentication
  14. Gravatar and Federated avatar with custom source
  15. Mail service
  16. Administration panel
  17. Supports MySQL, PostgreSQL, SQLite3, MSSQL and TiDB (via MySQL protocol)
  18. Multi-language support (25 languages)
118 questions
0
votes
1 answer

Nginx Reverse Proxy not redirecting?

Update The details in this question are getting long, but I think it narrows down to this: For some reason the host name matters to Nginx when it's trying to figure out whether to proxy the request. If the host name is set to git.example.com the…
Ole
  • 41,793
  • 59
  • 191
  • 359
0
votes
1 answer

Could not resolve host: git

I've seen Gogs + Drone getsockopt: connection refused but I wonder whether something has changed. My docker-compose.yml git: image: gogs/gogs ports: - '8300:3000' - '443:443' - '8322:22' volumes: -…
miiimooo
  • 91
  • 1
  • 5
0
votes
1 answer

Jenkins' response is "Only push event can be accepted."

I want to start a Jenkins as soon as a tag is pushed on Gogs. What I have already done: I installed Gogs Webhook plugin on Jenkins and configured the secret I configured webhook in Gogs to invoke Jenkins job This works if I use push event, but…
adev
  • 367
  • 1
  • 3
  • 20
0
votes
1 answer

Docker compose not mounting volume?

If I run this command the volume mounts and the container starts as expected with initialized state: docker run --name gogs --net mk1net --ip 203.0.113.3 -v gogs-data:/data -d gogs/gogs However if I run the corresponding docker-compose script the…
Ole
  • 41,793
  • 59
  • 191
  • 359
0
votes
1 answer

Gogs.io running on subdomain with port

I'm trying to run Gogs.io on an apache webserver along with a standard website, and I'm trying to have Gogs.io used on a subdomain rather than using my standard domain with a port. Gogs.io runs on port 3000, and I want the url to be…
Gman0064
  • 107
  • 3
  • 13
0
votes
2 answers

"error: pathspec '....' did not match any file(s) known to git" on bare repository

Set up Local normal repository (git init), git version 2.17.0.windows.1 Bare repository (git init --bare) on a separate server git version 2.7.4 Gogs as a UI to the bare repository Problem This has been working fine for a couple of years, few…
Algy Taylor
  • 814
  • 13
  • 29
0
votes
0 answers

Gogs access repository files to use lftp in an hook

I'm using gogs as a git server on a Raspberry. I'd like to create a post-receive git hook to upload changes on my remote server (which I can access only via FTP). I think I can use lftp but the thing is that I don't know how to find my php files on…
Thombou
  • 367
  • 2
  • 15
0
votes
1 answer

Error while trying to connect MySQL and Gogs containers with docker

On this screens you can see the error that I have screen1 screen2 This is my docker-compose.yml version: '3' services: mysql: image: mysql:latest restart: always ports: - 3306:3306 volumes: -…
Mahmoud
  • 1
  • 6
0
votes
0 answers

Gogs on Nginx in subdomain is not working

I have some Problems with gogs and nginx in my local-Network. everytime i write "domainname" i mean the hostname of the server I have little Server running with Openmediavault on it (for NAS) and i also will run some Stuff like gogs. It is running,…
0
votes
0 answers

401 error on push to Gogs Git with public repository

a Push to a remote will throw exception if repository is public. Same code will work if repository is private. The second call will also throw 401 error. Push with commandline or Sourcetree is possible. How will push work with ligbit2sharp with…
0
votes
1 answer

Gogs error - Public key content has been used

I'm unable to add the public key in my gogs account. only one user of my team could add the key and for him all functionalities are working fine. Anyone else is unable to add key, we have tried to add many putty key pairs but but each time we're…
Shiv
  • 1
  • 1
  • 2
0
votes
1 answer

Jenkins: Get playload from gogs webhook

I have a generic job that build docker image. And I want to call him with webhook with all my docker repositories. I'm using Gogs plugin. But I can't figured out how to gather the playload send by gogs :/
Guillaume LUNIK
  • 169
  • 1
  • 2
  • 13
0
votes
1 answer

Trigger Jenkins from gogs webhook with param

I have a webook url http://jenskinsserver/gogs-webhook/?job=build which will trigger the jenkins job on any event from gogs. Now i want to trigger a parameterized job and i want the param to be sent via webhook url. How to add params in gogs webhook…
Vignesh P
  • 9
  • 2
  • 8
0
votes
2 answers

Docker gogs connection is refused by mysql container

I have some trouble with setting my local git repository. I am new to docker, so the problem may be naive but I still can't find it. So my idea is: I wanted to create a container with gogs (gogs/gogs image) and connect it to mysql container. To…
0
votes
1 answer

Tagging in gogs not triggering build with drone.io

I'm using drone 0.8.1 with gogs. When I commit to master a build is triggered. When I tag the repo in gogs, no build is triggered and no docker image built like I would expect. Here is my .drone.yml file: pipeline: docker: image:…
monty0
  • 1,759
  • 1
  • 14
  • 22