Skip to content

Instantly share code, notes, and snippets.

@randyesq
randyesq / gist:b5827b318ac6ce42f41668ef90040c65
Created September 27, 2019 15:53
gitea 1.9.3 auth error on git push
[Macaron] 2019-09-27 15:50:07: Started POST /cray/config-management.git/git-receive-pack for 10.32.0.1
2019/09/27 15:50:08 ...s/context/context.go:328:func1() [D] Session ID: 9671e7d088f7a57d
2019/09/27 15:50:08 ...s/context/context.go:329:func1() [D] CSRF Token: n0Bpe3z6c10VwHM3ZbiX25BDch46MTU2OTU5OTQwNzk5NTExMTc4Nw==
2019/09/27 15:50:08 ...s/repo_permission.go:154:func1() [T] Permission Loaded for 824689074640:crayvcs in 824689074720:cray/config-management:
Permissions: AccessMode: 824689075280:owner, 5 Units, 0 UnitsMode(s): [
Units[0]: ID: 824689074816 RepoID: 824689074848 Type: 824689075312:UnitTypeCode Config: {}
Units[1]: ID: 824689074912 RepoID: 824689074944 Type: 824689075344:UnitTypeIssues Config: {"EnableTimetracker":true,"AllowOnlyContributorsToTrackTime":true,"EnableDependencies":true}
Units[2]: ID: 824689075008 RepoID: 824689075040 Type: 824689075376:UnitTypePullRequests Config: {"IgnoreWhitespaceConflicts":false,"AllowMerge":true,"AllowRebase":true,"AllowRebaseMerge":true,"AllowSquash":true
@randyesq
randyesq / app.ini
Created February 6, 2019 17:52
gitea config ini file
; This file lists the default values used by Gitea
; Copy required sections to your own app.ini (default is custom/conf/app.ini)
; and modify as needed.
; see https://docs.gitea.io/en-us/config-cheat-sheet/ for additional documentation.
; App name that shows in every page title
APP_NAME = My VCS
; Change it if you run locally
RUN_USER = git
@randyesq
randyesq / gitea_error.out
Created February 6, 2019 17:42
Gitea Docker Error
Feb 6 17:38:53 syslogd started: BusyBox v1.28.4
Feb 6 17:38:53 sshd[15]: Server listening on :: port 22.
Feb 6 17:38:53 sshd[15]: Server listening on 0.0.0.0 port 22.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x974624]
goroutine 1 [running]:
code.gitea.io/gitea/vendor/gopkg.in/ini%2ev1.(*Key).transformValue(0xc000561bc0, 0xc00054fbf1, 0x28, 0xc000500e50, 0x4b5849)
/go/src/code.gitea.io/gitea/vendor/gopkg.in/ini.v1/key.go:123 +0xa4
code.gitea.io/gitea/vendor/gopkg.in/ini%2ev1.(*Key).String(0xc000561bc0, 0xc00055bca0, 0x15)