Skip to content

Instantly share code, notes, and snippets.

@Corben78
Created August 31, 2016 09:32
Show Gist options
  • Select an option

  • Save Corben78/ea37a4dfa8b36828670d8afa05f25339 to your computer and use it in GitHub Desktop.

Select an option

Save Corben78/ea37a4dfa8b36828670d8afa05f25339 to your computer and use it in GitHub Desktop.
gogs panic
host# sudo -u wwwrun /opt/gogs/gogs web
2016/08/31 11:25:36 [T] Custom path: /opt/gogs/custom
2016/08/31 11:25:36 [T] Log path: /var/log/gogs
2016/08/31 11:25:36 [I] marco git service 0.9.71.0809
2016/08/31 11:25:36 [I] Log Mode: File(Info)
2016/08/31 11:25:36 [I] Cache Service Enabled
2016/08/31 11:25:36 [I] Session Service Enabled
2016/08/31 11:25:36 [I] Git Version: 2.8.0
2016/08/31 11:25:36 [I] SQLite3 Supported
2016/08/31 11:25:36 [I] Run Mode: Production
2016/08/31 11:25:36 [T] Doing: CheckRepoStats
2016/08/31 11:25:36 [I] Listen: http://0.0.0.0:3000
[Macaron] 2016-08-31 11:25:44: Started GET / for <ip-adress>
[Macaron] PANIC: session(start): mkdir data: permission denied
/usr/local/go/src/runtime/panic.go:443 (0x807961d)
/home/vagrant/gopath/src/github.com/go-macaron/session/session.go:156 (0x836921f)
/usr/local/go/src/runtime/asm_386.s:488 (0x80a150a)
/usr/local/go/src/reflect/value.go:435 (0x812fb3b)
/usr/local/go/src/reflect/value.go:303 (0x812eb5c)
/home/vagrant/gopath/src/github.com/go-macaron/inject/inject.go:177 (0x8752d31)
/home/vagrant/gopath/src/github.com/go-macaron/inject/inject.go:137 (0x87526e3)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/context.go:113 (0x8409c74)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/context.go:104 (0x8409b88)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/recovery.go:161 (0x841bc3b)
/usr/local/go/src/runtime/asm_386.s:488 (0x80a150a)
/usr/local/go/src/reflect/value.go:435 (0x812fb3b)
/usr/local/go/src/reflect/value.go:303 (0x812eb5c)
/home/vagrant/gopath/src/github.com/go-macaron/inject/inject.go:177 (0x8752d31)
/home/vagrant/gopath/src/github.com/go-macaron/inject/inject.go:137 (0x87526e3)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/context.go:113 (0x8409c74)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/context.go:104 (0x8409b88)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/logger.go:43 (0x841ab24)
/usr/local/go/src/runtime/asm_386.s:488 (0x80a150a)
/usr/local/go/src/reflect/value.go:435 (0x812fb3b)
/usr/local/go/src/reflect/value.go:303 (0x812eb5c)
/home/vagrant/gopath/src/github.com/go-macaron/inject/inject.go:177 (0x8752d31)
/home/vagrant/gopath/src/github.com/go-macaron/inject/inject.go:137 (0x87526e3)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/context.go:113 (0x8409c74)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/router.go:184 (0x841d0e2)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/router.go:286 (0x84155ed)
/home/vagrant/gopath/src/gopkg.in/macaron.v1/macaron.go:177 (0x840e2ff)
/usr/local/go/src/net/http/server.go:2081 (0x831f786)
/usr/local/go/src/net/http/server.go:1472 (0x831cb88)
/usr/local/go/src/runtime/asm_386.s:1585 (0x80a3361)
[Macaron] 2016-08-31 11:25:44: Completed / 500 Internal Server Error in 1.060143ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment