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
2
votes
0 answers

LibGit2Sharp SSH, Unable to exchange encryption keys

Trying to put together a sample project cloning a repository (hosted in GOGS) using SSH and am getting the following error: Failed to start SSH session: Unable to exchange encryption keys I'm on windows, the keys are generated using ssh-keygen,…
2
votes
1 answer

drone "Insufficient privileges to use privileged mode"

i had write a .drone.yml in my gogs git repository. but when i push the git change , drone web tell me Insufficient privileges to use privileged mode. how can i fix it? this is my .drone.yml: pipeline: build: image:…
2
votes
1 answer

Gogs installation Error

Environment OS : Centos7 Panel : VestaCP (Nginx). Domain : my.exgitrepo.com(locally) IP : 192.168.1.13(locally) User: admin In my /home/admin/my.exgitrepo.com/public_html/ i downloaded gogs binary, unzip it and run ./gogs web Filled up forms on…
Rahul Sharma
  • 779
  • 2
  • 12
  • 27
2
votes
1 answer

Renew Gogs SSH Key via file replace?

I'm running the docker version of gogs. It is currently working with my SSH key and I want to refresh this key. Is it possible for me to copy the new key I generated into the docker data volume that is supporting the docker configuration files…
Ole
  • 41,793
  • 59
  • 191
  • 359
2
votes
0 answers

Too many redirects while setting up gogs with nginx

I am setting up gogs on nginx server.I also have cpanel/apache hosted on the same server.I am redirecting my gogs call using .htaccess from cpanel.My nginx configuration is server { listen 9800; server_name ; proxy_set_header…
Atul Agrawal
  • 1,474
  • 5
  • 22
  • 41
2
votes
0 answers

How to import data from LDAP to gogs

I was trying to integrate LDAP server to our gogs. I followed instructions from here and here. But what next? How to import data from LDAP to gogs? I am unable to find anyway of importing data. And without importing data, the integration of no use.…
Prashant Prabhakar Singh
  • 1,120
  • 4
  • 15
  • 33
2
votes
1 answer

Netbeans 8.2 Git Push

Note: I am using Go Gits application to host my repositories IDE: NetBeans 8.2 I am trying to push my local commits to my upstream branch, it returns a message box called "Git Command Failed " with the following…
D. Foley
  • 1,034
  • 1
  • 9
  • 23
2
votes
0 answers

Getting Gogs/Github to auto-deploy to Dokku/Heroku on commit

I'm building the following setup for our team's app: A Heroku-like VM with Dokku running on it (and as a result git and Docker) I'm using another Docker container on the same machine to host the repo (via Gogs, but it really could be any…
Alexander Tsepkov
  • 3,946
  • 3
  • 35
  • 59
2
votes
1 answer

Gogs + Drone getsockopt: connection refused

In the Gogs/webhooks interface when i click the test delivery button i got this error; Delivery: Post…
2
votes
1 answer

How can I make use of this git repository folder?

I am rescuing a disk that has a Gogs installation. There's a folder with all the git repos stores, they individually look like this: drwxr-xr-x. 2 sardaukar 4.0K Jul 29 21:51 branches/ -rw-r--r--. 1 sardaukar 66 Jul 29 21:51 config -rw-r--r--. 1…
Bruno Antunes
  • 2,241
  • 4
  • 21
  • 35
2
votes
2 answers

GOGS secret key

I'm trying to integrate the Drone CI server with the GOGS Git server. There's a pretty clear document on how to do so here: http://readme.drone.io/setup/config/gogs/ ...which indicates I need the following configuration: [gogs] url =…
Ben
  • 54,723
  • 49
  • 178
  • 224
2
votes
2 answers

Why is Drone failing to read my username?

I'm setting up a self-hosted Drone CI server that integrates with a self-hosted Gogs server. I've set up a test repository with the following structure: test/ | *- add.go *- add_test.go *- .drone.yml The contents of my .drone.yml file is as…
Louis Thibault
  • 20,240
  • 25
  • 83
  • 152
1
vote
1 answer

git clone fails due to lack of memory on server side

I am trying to clone a git repository from a GOGS server which is located on a Raspberry Pi 3. It fails with the following complaint: git clone git@192.168.0.62:axelle/prog.git Cloning into 'prog'... remote: Enumerating objects: 3008, done. remote:…
user369353
  • 11
  • 3
1
vote
1 answer

Do I need to Clone repository for adding a custom branch

I have downloaded a Zip folder of Master branch from a gogs repository and after initializing git in that folder, I have added my own branch and made my own changes. Now my question is, do I have to CLONE the project in order for adding a new branch…
user16333885
1
vote
1 answer

Can't get known from /var/lib/docker with 'gogs docker image'. Where is the repository path of Docker on raspberry pi?

My raspberry pi runs a 'git repo docker image' as a server and the docker image is commonly known as 'gogs docker'. I use this command line to check a folder which has been uploaded via git push root@raspberrypi:/var/lib/docker# tree | grep
jefferyear
  • 117
  • 7