[solved] Getting started with drone

Hi,

I just started with drone installation.

I am running on Mac OS X version. Also I am behind a corporate proxy

      System Version: OS X 10.11.6 (15G31)
      Kernel Version: Darwin 15.6.0

And Docker for MAC

$ docker version   
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      linux/amd64
 Experimental: true

I am trying to start up drone with the docker compose file

version: '2'

services:
  drone-server:
    image: drone/drone:0.5
    ports:
      - "8000:8000"
    volumes:
      - /usr/local/var/lib/drone:/var/lib/drone/
    restart: always
    environment:
      - DRONE_SECRET="drone"

  drone-agent:
    image: drone/drone:0.5
    command: agent
    restart: always
    depends_on: [ drone-server ]
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DRONE_SERVER="ws://drone-server:8000/ws/broker"
      - DRONE_SECRET="drone"

I am getting this error. Would some kind soul help and correct obvious errors.

I am a complete newbie, just started with drone few minutes ago.

$ docker-compose up                              
Creating drone_drone-server_1
Creating drone_drone-agent_1
Attaching to drone_drone-server_1, drone_drone-agent_1
drone-server_1  | time="2017-02-10T19:44:37Z" level=fatal msg="version control system not configured" 
drone-agent_1   | 1:M 10 Feb 19:44:38.766 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8202040a0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201f93b0, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201f93b0, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201fa480)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201fa240, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone_drone-server_1 exited with code 1
drone_drone-agent_1 exited with code 2
drone-server_1  | time="2017-02-10T19:44:37Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:39Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:40Z" level=fatal msg="version control system not configured" 
drone-agent_1   | 1:M 10 Feb 19:44:38.766 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8202040a0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201f93b0, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201f93b0, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201fa480)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201fa240, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:40.098 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201e7470)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201e59b0, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201e59b0, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201f9d40)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201f9b00, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:41.551 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201b8cb0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201fb860, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201fb860, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc82020b8c0)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc82020b680, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone_drone-server_1 exited with code 1
drone-server_1  | time="2017-02-10T19:44:37Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:39Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:40Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:42Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:51Z" level=fatal msg="version control system not configured" 
drone_drone-agent_1 exited with code 2
drone-agent_1   | 1:M 10 Feb 19:44:38.766 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8202040a0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201f93b0, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201f93b0, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201fa480)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201fa240, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:40.098 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201e7470)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201e59b0, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201e59b0, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201f9d40)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201f9b00, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:41.551 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201b8cb0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201fb860, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201fb860, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc82020b8c0)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc82020b680, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:51.662 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201fc080)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201ef560, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201ef560, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201f17a0)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201f1560, 0xc82008e060, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:53.706 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201eb4a0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201e9a70, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201e9a70, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201fde60)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201fdc20, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone_drone-server_1 exited with code 1
drone-server_1  | time="2017-02-10T19:44:37Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:39Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:40Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:42Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:51Z" level=fatal msg="version control system not configured" 
drone-server_1  | time="2017-02-10T19:44:53Z" level=fatal msg="version control system not configured" 
drone_drone-agent_1 exited with code 2
drone-server_1  | time="2017-02-10T19:44:57Z" level=fatal msg="version control system not configured" 
drone-agent_1   | 1:M 10 Feb 19:44:38.766 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8202040a0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201f93b0, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201f93b0, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201fa480)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201fa240, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:40.098 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201e7470)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201e59b0, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201e59b0, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201f9d40)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201f9b00, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:41.551 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201b8cb0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201fb860, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201fb860, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc82020b8c0)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc82020b680, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:51.662 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201fc080)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201ef560, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201ef560, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201f17a0)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201f1560, 0xc82008e060, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:53.706 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201eb4a0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201e9a70, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201e9a70, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201fde60)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201fdc20, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:55.921 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201f80a0)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201ed560, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201ed560, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc8201e9d40)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8201e9b00, 0xc82008e060, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab
drone-agent_1   | 1:M 10 Feb 19:44:59.719 * connecting to server "ws://drone-server:8000/ws/broker"
drone-agent_1   | panic: stomp: invalid protocol
drone-agent_1   | 
drone-agent_1   | goroutine 1 [running]:
drone-agent_1   | panic(0xc436c0, 0xc8201ff410)
drone-agent_1   | 	/usr/local/go/src/runtime/panic.go:481 +0x3e6
drone-agent_1   | github.com/drone/mq/stomp/dialer.Dial(0xc8201f5830, 0x22, 0x0, 0x0, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/dialer/dialer.go:31 +0x257
drone-agent_1   | github.com/drone/mq/stomp.Dial(0xc8201f5830, 0x22, 0x7, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/mq/stomp/client.go:45 +0x4a
drone-agent_1   | github.com/drone/drone/drone/agent.start(0xc820201c20)
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/agent/agent.go:215 +0x660
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.Command.Run(0xe91b20, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf36930, 0x16, 0x0, ...)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/command.go:131 +0x1058
drone-agent_1   | github.com/drone/drone/vendor/github.com/codegangsta/cli.(*App).Run(0xc8202019e0, 0xc82000a120, 0x2, 0x2, 0x0, 0x0)
drone-agent_1   | 	/go/src/github.com/drone/drone/vendor/github.com/codegangsta/cli/app.go:175 +0xfd1
drone-agent_1   | main.main()
drone-agent_1   | 	/go/src/github.com/drone/drone/drone/main.go:49 +0x5ab

version control system not configured

This is because you attempted to start drone without configuring your version control system. You must setup a version control system such as GitHub / Bitbucket / GitLab / Stash / Gogs. Drone will not launch without one configured, and will exit immediately.

Please see the installation overview which describes how to setup GitHub:
http://readme.drone.io/admin/installation-guide/

The administration documentation includes guides for other version control systems:
http://readme.drone.io/admin/

Our company use stash as the repo. Our company does not use Oauth for stash authentication. However we do allow either ssh or user/password authentication for git access. Please let me know how I can use drone in this environment?

version: '2'

services:
  drone-server:
    image: drone/drone:0.5
    environment:
+     DRONE_STASH=true
+     DRONE_STASH_GIT_USERNAME=foo
+     DRONE_STASH_GIT_PASSWORD=bar
+     DRONE_STASH_CONSUMER_KEY=95c0282573633eb25e82
+     DRONE_STASH_CONSUMER_RSA=/etc/bitbucket/key.pem
+     DRONE_STASH_URL=http://stash.mycompany.com
    volumes:
+     - /path/to/key.pem:/path/to/key.pem

Oauth is just the passthrough for drone to use Stash to authenticate. You need to setup an incoming application link in Stash for this to work (you have to be an administrator to do this). Stash can use whatever auth it wants (ldap/ad, internal userdb or what not).

You do need to create the incoming link, there’s no way around that.

Note: The latest version you can use DRONE_STASH_CONSUMER_RSA_STRING as the private key value instead of having to mount a key in the volume, then you can ignore the DRONE_STASH_CONSUMER_RSA variable. That should make things a little easier. Unfortunately Stash is not the easiest to integrate with in general since you can’t use oauth tokens to clone repos(you needs a service account with clone access to the repo) and it’s based on Oauth1 instead of 2.