Minikube Setup Failing

116 views
Skip to first unread message

SLK

unread,
Oct 6, 2016, 9:24:23 PM10/6/16
to fabric8
I'm trying to setup fabric8 on a Lubuntu-installed laptop. I've been following http://fabric8.io/guide/getStarted/minikube.html and got the fabric8 console to launch. However, gogs is failing to launch due to the following error:

mkdir: cannot create directory '/app/gogs/data/git': Permission denied
mkdir: cannot create directory '/app/gogs/data/ssh/': Permission denied
/opt/gogs/start.sh: line 24: cd: /app/gogs/data/ssh/: No such file or directory
panic: open gogs.rsa: permission denied
goroutine 1 [running]:
panic(0x519120, 0xc4200f1110)
/usr/local/go/src/runtime/panic.go:500 +0x1a1
main.main()
/home/jdyson/go/src/github.com/fabric8io/docker-gogs/cmds/ssh-hostkeygen/ssh-hostkeygen.go:41 +0x2c1
2016/10/07 01:15:41 Creating admin user: true
2016/10/07 01:15:41 [1;36m[T] Custom path: /opt/gogs/custom
2016/10/07 01:15:41 [1;36m[T] Log path: /app/gogs/data/logs
2016/10/07 01:15:41 [1;32m[I] Gogs: Go Git Service
2016/10/07 01:15:41 [1;31m[.../gogs/models/repo.go:121 NewRepoContext()] [E] Fail to set git user.name(exit status 255): error: could not lock config file /app/gogs/data/.gitconfig: Permission denied

Is there a workaround or fix that can be applied?
Reply all
Reply to author
Forward
0 new messages