Issue with Web UI on Mac OS


I just installed Cayley on Mac OS and as I’m trying to access the web UI I’m getting the following:

$ cayley http
ERROR: logging before flag.Parse: E0204 17:44:45.280011   33048 cayley.go:142] The assets flag is deprecated as assets are provided as part of the binary.
I0204 17:44:45.280306   33048 command.go:805] Cayley version: 0.7.7 (dcf764f)
I0204 17:44:45.280727   33048 http.go:20] using backend "memstore"
I0204 17:44:45.280983   33048 command.go:826] listening on, web interface at
2020/02/04 17:45:15 http: panic serving runtime error: invalid memory address or nil pointer dereference
goroutine 28 [running]:
	/usr/local/Cellar/go/1.13.1/libexec/src/net/http/server.go:1767 +0x139
panic(0x508f7c0, 0x6093b90)
	/usr/local/Cellar/go/1.13.1/libexec/src/runtime/panic.go:679 +0x1b2
html/template.(*Template).lookupAndEscapeTemplate(0x0, 0xc00013a780, 0xa, 0x0, 0x0, 0x0)


Hello, and thank you for posting.
How did you install Cayley?
Thank you,


I used Homebrew, just following the Install instructions


The issue is reproducible on my machine.
While we’re fixing it you can use the UI from:
Or run Cayley through docker:
Or download the release and run the binary from here:


I am working on a solution here:


Couldn’t make the build pass. Would love some help with that.


Managed to make build pass. Waiting for approval.


The PR is merged. You can now reinstall Cayley from brew and the problem should be fixed