# Source Code Management System is Not Configured Error

**URL:** <https://drone.discourse.group/t/source-code-management-system-is-not-configured-error/10907>\
**Category:** Drone Support\
**Created:** [January 29, 2019, 6:12pm UTC](https://drone.discourse.group/t/source-code-management-system-is-not-configured-error/10907 "2019-01-29T18:12:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![airsoftsoldrecn9](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/airsoftsoldrecn9/32/5292_2.png) [@airsoftsoldrecn9](https://drone.discourse.group/u/airsoftsoldrecn9)\
**Post date:** [January 29, 2019, 6:12pm UTC](https://drone.discourse.group/t/source-code-management-system-is-not-configured-error/10907/1 "2019-01-29T18:12:09Z")

</div>

I am attempting to start an instance of Drone; however, I am running into the following error:

**{"error":"Source code management system not configured","level":"fatal","msg":"main: source code management system is not configured","time":"2019-01-29T17:34:41Z"}**

The container continuously attempts to restart so no UI. Note this is an internal github. I realize I am obfuscating the information, but if something special should be considered for one or more of the arguments please let me know.

docker run --volume=/var/run/docker.sock:/var/run/docker.sock --volume=/var/lib/drone:/var/lib/drone --dns=\<dns\> --env=HTTP\_PROXY=\<proxy\> --env=HTTPS\_PROXY=\<proxy\> --env=DRONE\_GITHUB\_SERVER=https://github.qqq.com --env=DRONE\_GITHUB\_CLIENT=\<clientID\> --env=DRONE\_GITHUB\_SECRET=\<secret\> --env=DRONE\_RUNNER\_CAPACITY=8 --env=DRONE\_SERVER\_HOST=\<[http://invalidhostname](http://invalidhostname)\> --env=DRONE\_SERVER\_PROTO=http --env=DRONE\_GITHUB=true --env=DRONE\_TLS\_AUTOCERT=false --publish=8085:80 --restart=always --detach=false --name=Drone\_Master drone/drone:1.0.0-rc.5

Maybe I should consider using a different release (preferably one without a separate agent container)?

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [January 29, 2019, 6:32pm UTC](https://drone.discourse.group/t/source-code-management-system-is-not-configured-error/10907/2 "2019-01-29T18:32:25Z")

</div>

The variable names look incorrect, for example:

```diff
-DRONE_GITHUB_CLIENT=<clientID> 
-DRONE_GITHUB_SECRET=<secret> 
+DRONE_GITHUB_CLIENT_ID=<clientID>
+DRONE_GITHUB_CLIENT_SECRET=<secret>

```

I recommend double-checking your environment variables with the official 1.0 install instructions at [https://docs.drone.io/server/provider/github/](https://docs.drone.io/installation/github/single-machine/)

> Maybe I should consider using a different release (preferably one without a separate agent container)?

the official installation instructions provide a single-machine installation option that does not require an agent. [https://docs.drone.io/server/provider/github/](https://docs.drone.io/installation/github/single-machine/)

---

<div class="post-metadata">

**Author:** ![airsoftsoldrecn9](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/airsoftsoldrecn9/32/5292_2.png) [@airsoftsoldrecn9](https://drone.discourse.group/u/airsoftsoldrecn9)\
**Post date:** [January 29, 2019, 9:26pm UTC](https://drone.discourse.group/t/source-code-management-system-is-not-configured-error/10907/3 "2019-01-29T21:26:12Z")

</div>

Yes indeed, thank you. 🙂
