# Drone FAQ

**URL:** https://drone.discourse.group/c/faq/16.md

[Latest](https://drone.discourse.group/latest.md) · [Categories](https://drone.discourse.group/categories.md) · [Tags](https://drone.discourse.group/tags.md)

---

## [About the Drone FAQ category](https://drone.discourse.group/t/about-the-drone-faq-category/5523)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [December 19, 2018, 5:59pm UTC](https://drone.discourse.group/t/about-the-drone-faq-category/5523 "2018-12-19T17:59:32Z")

</div>

Answers to frequently asked questions.

---

## [Harness Community is Moving! - Drone FAQ](https://drone.discourse.group/t/harness-community-is-moving-drone-faq/14105)

<div class="topic-metadata">

**Author:** [@ravi.lachhman](https://drone.discourse.group/u/ravi.lachhman)\
**Replies:** 0\
**Last updated:** [May 19, 2023, 2:45pm UTC](https://drone.discourse.group/t/harness-community-is-moving-drone-faq/14105 "2023-05-19T14:45:17Z")

</div>

Hey Harness Community! Over the past several years, we have really enjoyed all collaboration, relationships, and joint learning everyone has provided. To take this to the next level, we are moving community.harness.io t…

---

## [Vault extension configuration for Drone v1.1](https://drone.discourse.group/t/vault-extension-configuration-for-drone-v1-1/11352)

<div class="topic-metadata">

**Author:** [@ecray](https://drone.discourse.group/u/ecray)\
**Replies:** 2\
**Last updated:** [April 21, 2023, 7:22pm UTC](https://drone.discourse.group/t/vault-extension-configuration-for-drone-v1-1/11352 "2023-04-21T19:22:56Z")

</div>

Using Vault Approle to access secrets for Drone This quick doc tries to help further understanding on connecting Vault and Drone for secrets. This doesn’t implement best practices for security, as it depends on your or…

---

## [How to use Global Webhooks](https://drone.discourse.group/t/how-to-use-global-webhooks/9403)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 8\
**Last updated:** [January 20, 2023, 9:19pm UTC](https://drone.discourse.group/t/how-to-use-global-webhooks/9403 "2023-01-20T21:19:53Z")

</div>

Global webhooks can be used to send an http webhook to a designated endpoint every time a system event occurs. Webhooks are currently triggered for the following system events: User is created User is deleted Repositor…

---

## [Secret with different value per target/environment?](https://drone.discourse.group/t/secret-with-different-value-per-target-environment/13149)

<div class="topic-metadata">

**Author:** [@ecmchow](https://drone.discourse.group/u/ecmchow)\
**Replies:** 0\
**Last updated:** [January 12, 2023, 4:16pm UTC](https://drone.discourse.group/t/secret-with-different-value-per-target-environment/13149 "2023-01-12T16:16:22Z")

</div>

Currently I just create a new secret for each target like (PROD\_SERVER\_IP, DEV\_SERVER\_IP…). Is there a way I can define my secrets with the same name (like SERVER\_IP) but different value when running in different target,…

---

## [Drone Default Visibility](https://drone.discourse.group/t/drone-default-visibility/10233)

<div class="topic-metadata">

**Author:** [@mneil](https://drone.discourse.group/u/mneil)\
**Replies:** 2\
**Last updated:** [December 2, 2022, 7:32am UTC](https://drone.discourse.group/t/drone-default-visibility/10233 "2022-12-02T07:32:53Z")

</div>

We wanted to change our default visibility to private or internal. After receiving some report and doing tests on our own this is what we found. I’m posting here in case anyone else is searching for help on this topic. D…

---

## [Why is it advised to use a docker runner when running drone plugins?](https://drone.discourse.group/t/why-is-it-advised-to-use-a-docker-runner-when-running-drone-plugins/12701)

<div class="topic-metadata">

**Author:** [@Shruthikini](https://drone.discourse.group/u/Shruthikini)\
**Replies:** 0\
**Last updated:** [October 28, 2022, 12:02pm UTC](https://drone.discourse.group/t/why-is-it-advised-to-use-a-docker-runner-when-running-drone-plugins/12701 "2022-10-28T12:02:22Z")

</div>

Problem Can we run drone plugins on ssh runner? What is the recommended runner for a drone plugin? Here comes a problem with ssh-plugin. the script seems not running in the remote server. Can you suggest? Summary …

---

## [Diagnosing database issues](https://drone.discourse.group/t/diagnosing-database-issues/9467)

<div class="topic-metadata">

**Author:** [@TP\_Honey](https://drone.discourse.group/u/TP_Honey)\
**Replies:** 1\
**Last updated:** [October 26, 2022, 10:41pm UTC](https://drone.discourse.group/t/diagnosing-database-issues/9467 "2022-10-26T22:41:48Z")

</div>

Sometimes databases can misbehave and this in turn can affect Drone. Bellow are some common scenarios and their causes. “Optimistic Lock Error” - sometimes this shows up in drone logs, but it is 100% normal, this is a …

---

## [whether the server side of drone supports not specifying any PROVIDER？](https://drone.discourse.group/t/whether-the-server-side-of-drone-supports-not-specifying-any-provider/12581)

<div class="topic-metadata">

**Author:** [@flylan](https://drone.discourse.group/u/flylan)\
**Replies:** 1\
**Last updated:** [October 4, 2022, 6:40pm UTC](https://drone.discourse.group/t/whether-the-server-side-of-drone-supports-not-specifying-any-provider/12581 "2022-10-04T18:40:22Z")

</div>

Ask whether the server side of drone supports not specifying any PROVIDER. I think the document must specify a Source Control Management provider. It’s a little different from Jenkins. I hope SCM is just a place to stor…

---

## [Drone-runner-kube network issue on EKS](https://drone.discourse.group/t/drone-runner-kube-network-issue-on-eks/11975)

<div class="topic-metadata">

**Author:** [@marcos.gabriel](https://drone.discourse.group/u/marcos.gabriel)\
**Replies:** 0\
**Last updated:** [May 4, 2022, 1:12am UTC](https://drone.discourse.group/t/drone-runner-kube-network-issue-on-eks/11975 "2022-05-04T01:12:02Z")

</div>

A bug known by AWS refers to that can affect Drone-runner-kube in build, generating network error and need to rerun the job. Here below is an AWS explanation of this known behavior. From AWS support: In order to provid…

---

## [I want to rerun a step instead of running the whole build](https://drone.discourse.group/t/i-want-to-rerun-a-step-instead-of-running-the-whole-build/11872)

<div class="topic-metadata">

**Author:** [@TP\_Honey](https://drone.discourse.group/u/TP_Honey)\
**Replies:** 0\
**Last updated:** [April 1, 2022, 10:35am UTC](https://drone.discourse.group/t/i-want-to-rerun-a-step-instead-of-running-the-whole-build/11872 "2022-04-01T10:35:51Z")

</div>

“I want to re-run a step without re-running the entire pipeline” Drone is designed so that pipeline steps are run inside ephemeral containers that are destroyed when the pipeline completes. This means files that are clo…

---

## [Drone CONVERT\_DRONE\_CONVERT\_MULTI](https://drone.discourse.group/t/drone-convert-drone-convert-multi/11819)

<div class="topic-metadata">

**Author:** [@marcos.gabriel](https://drone.discourse.group/u/marcos.gabriel)\
**Replies:** 0\
**Last updated:** [March 18, 2022, 7:29pm UTC](https://drone.discourse.group/t/drone-convert-drone-convert-multi/11819 "2022-03-18T19:29:48Z")

</div>

There was a Drone update with the latest tag from March 18, 2022, it\`s necessary to add the Flag to the Drone Env: DRONE\_CONVERT\_MULTI=( true or false) Without this Flag, you may see the following error in the Drone Se…

---

## [Migrating SQLite db to Postgre using pgloader](https://drone.discourse.group/t/migrating-sqlite-db-to-postgre-using-pgloader/10768)

<div class="topic-metadata">

**Author:** [@csgitharness](https://drone.discourse.group/u/csgitharness)\
**Replies:** 1\
**Last updated:** [February 26, 2022, 2:02pm UTC](https://drone.discourse.group/t/migrating-sqlite-db-to-postgre-using-pgloader/10768 "2022-02-26T14:02:36Z")

</div>

By default drone uses sqlite db to store data, so this article will guide you through if you want to migrate your sqlite db to postgres. We are using pgloader Pgloader Tutorial — pgloader 3.4.1 documentation By defau…

---

## [Troubleshooting the Autoscaler](https://drone.discourse.group/t/troubleshooting-the-autoscaler/3926)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [January 12, 2022, 1:37am UTC](https://drone.discourse.group/t/troubleshooting-the-autoscaler/3926 "2022-01-12T01:37:18Z")

</div>

This section will help triage common autoscaler issues. Whenever we encounter autoscaler issues they are generally related to configuration. The autoscaler is also very temperamental which means it can require a good am…

---

## [How to pull private images with 1.0](https://drone.discourse.group/t/how-to-pull-private-images-with-1-0/11329)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 47\
**Last updated:** [January 4, 2022, 11:02pm UTC](https://drone.discourse.group/t/how-to-pull-private-images-with-1-0/11329 "2022-01-04T23:02:31Z")

</div>

I have not had time to document this yet, so I figured I would write a quick post. If you are coming from Drone 0.8 you may be wondering how to configure credentials required to pull private images defined in your yaml, …

---

## [How to Upgrade Drone](https://drone.discourse.group/t/how-to-upgrade-drone/9752)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 3:06pm UTC](https://drone.discourse.group/t/how-to-upgrade-drone/9752 "2021-11-05T15:06:31Z")

</div>

Upgrading Drone is as simple as pulling the latest docker image, stopping your container, and then restarting using the newer image. # pull a newer version of the image. # (drone/drone:2 is shorthand for the latest 2.x.…

---

## [How to route a pipeline to a specific runner?](https://drone.discourse.group/t/how-to-route-a-pipeline-to-a-specific-runner/11009)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 4:54pm UTC](https://drone.discourse.group/t/how-to-route-a-pipeline-to-a-specific-runner/11009 "2021-07-14T16:54:49Z")

</div>

It is possible to route pipelines to execute on a specific group or runners as described here. The typical use case is you want to route pipelines to machines with gpus or additional memory or compute. However, we are s…

---

## [How to limit build concurrency per project](https://drone.discourse.group/t/how-to-limit-build-concurrency-per-project/10421)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 13\
**Last updated:** [June 2, 2021, 7:09am UTC](https://drone.discourse.group/t/how-to-limit-build-concurrency-per-project/10421 "2021-06-02T07:09:50Z")

</div>

In some cases you may want to prevent a repository from running multiple builds at the same time, or you may even want to prevent certain branches or events from executing at the same time. You can set concurrency limit…

---

## [Error cannot find yaml](https://drone.discourse.group/t/error-cannot-find-yaml/10221)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [May 6, 2021, 4:56pm UTC](https://drone.discourse.group/t/error-cannot-find-yaml/10221 "2021-05-06T16:56:46Z")

</div>

When Drone receives a webhook from your source control manage system (e.g. GitHub) it attempts to retrieve the Yaml. This thread will discuss potential root causes for failure to retrieve the Yaml, which can be identifi…

---

## [Where to Find Personal Token](https://drone.discourse.group/t/where-to-find-personal-token/8708)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [February 10, 2021, 7:26pm UTC](https://drone.discourse.group/t/where-to-find-personal-token/8708 "2021-02-10T19:26:29Z")

</div>

You can find your personal token by navigating to your account profile page in Drone. See the below screenshot for reference: Some API operations require system admin privileges. If you require system admin privileg…

---

## [Forking Plugins](https://drone.discourse.group/t/forking-plugins/4696)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [February 4, 2021, 2:40pm UTC](https://drone.discourse.group/t/forking-plugins/4696 "2021-02-04T14:40:07Z")

</div>

In the Drone community we highly encourage forking and modifying a plugin to better meet your teams needs. When you fork and modify a plugin, you can publish your fork to your DockerHub account and configure your pipelin…

---

## [How to prevent DockerHub pull rate limit errors](https://drone.discourse.group/t/how-to-prevent-dockerhub-pull-rate-limit-errors/10633)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [November 10, 2020, 10:11pm UTC](https://drone.discourse.group/t/how-to-prevent-dockerhub-pull-rate-limit-errors/10633 "2020-11-10T22:11:19Z")

</div>

DockerHub recently implement rate limits that may cause pipeline to fail when Docker attempts to pull images. This failure can be identified by the following error message: Error response from daemon: toomanyrequests: …

---

## [\[SOLVED\] Missing Drone logs](https://drone.discourse.group/t/solved-missing-drone-logs/10868)

<div class="topic-metadata">

**Author:** [@Grant\_Sheehan](https://drone.discourse.group/u/Grant_Sheehan)\
**Replies:** 3\
**Last updated:** [September 28, 2020, 5:13pm UTC](https://drone.discourse.group/t/solved-missing-drone-logs/10868 "2020-09-28T17:13:32Z")

</div>

Looks like one of my builds isn’t saving build output logs to postgres. When I watch the build in real time, I see the logs coming through just fine, but when I go back to a completed build, the logs for the clone step a…

---

## [Error response from daemon: client version is too new](https://drone.discourse.group/t/error-response-from-daemon-client-version-is-too-new/9689)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 12:39pm UTC](https://drone.discourse.group/t/error-response-from-daemon-client-version-is-too-new/9689 "2020-08-14T12:39:32Z")

</div>

If you receive the following error: Error response from daemon: client version 1.40 is too new. Maximum supported API version is 1.39 It indicates the Drone runner uses a newer version of the Docker Client API than yo…

---

## [Logs empty after build completes](https://drone.discourse.group/t/logs-empty-after-build-completes/6230)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 0\
**Last updated:** [August 7, 2020, 3:41pm UTC](https://drone.discourse.group/t/logs-empty-after-build-completes/6230 "2020-08-07T15:41:34Z")

</div>

The most common root cause we see for this is when there some networking layer (nginx, load balancer, etc) that limits the http request body (e.g. 1MB request limit). This prevents the runner from being able to upload th…

---

## [Organization secrets work for users, too!](https://drone.discourse.group/t/organization-secrets-work-for-users-too/8752)

<div class="topic-metadata">

**Author:** [@bjj](https://drone.discourse.group/u/bjj)\
**Replies:** 0\
**Last updated:** [June 16, 2020, 1:10pm UTC](https://drone.discourse.group/t/organization-secrets-work-for-users-too/8752 "2020-06-16T13:10:23Z")

</div>

Whatever string appears in the Owner field of drone repo info ... is the namespace used to look up organization secrets. That will be the user for user-owned repos and the organization for org-owned repos. So drone orgse…

---

## [How to reduce Yaml boilerplate](https://drone.discourse.group/t/how-to-reduce-yaml-boilerplate/10534)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 5\
**Last updated:** [June 11, 2020, 5:48pm UTC](https://drone.discourse.group/t/how-to-reduce-yaml-boilerplate/10534 "2020-06-11T17:48:01Z")

</div>

As your configuration files become more complex, you may find they become more difficult to manage and update. Drone provides command-line support and plugin support for Jsonnet, a data templating language, which can hel…

---

## [Which runner processed my pipeline?](https://drone.discourse.group/t/which-runner-processed-my-pipeline/11294)

<div class="topic-metadata">

**Author:** [@yourpropertyexpert](https://drone.discourse.group/u/yourpropertyexpert)\
**Replies:** 2\
**Last updated:** [June 8, 2020, 9:55pm UTC](https://drone.discourse.group/t/which-runner-processed-my-pipeline/11294 "2020-06-08T21:55:07Z")

</div>

This question seems to come up on the official gitter quite frequently. Day to day, you don’t need to know which machine ran a particular pipeline, but it’s useful from time to time. I tend to use it when one of the mac…

---

## [How to share files between Pipeline steps](https://drone.discourse.group/t/how-to-share-files-between-pipeline-steps/10666)

<div class="topic-metadata">

**Author:** [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Replies:** 3\
**Last updated:** [May 29, 2020, 12:27pm UTC](https://drone.discourse.group/t/how-to-share-files-between-pipeline-steps/10666 "2020-05-29T12:27:10Z")

</div>

Drone automatically creates a shared volume for each Pipeline that is mounted to every Step at /drone/src. This shared volume is known as the Workspace. The Workspace is the working directory of every Step and the locati…

---

## [Which runners and environments are supported on Drone Cloud?](https://drone.discourse.group/t/which-runners-and-environments-are-supported-on-drone-cloud/9839)

<div class="topic-metadata">

**Author:** [@ShadowJonathan](https://drone.discourse.group/u/ShadowJonathan)\
**Replies:** 8\
**Last updated:** [May 25, 2020, 5:32pm UTC](https://drone.discourse.group/t/which-runners-and-environments-are-supported-on-drone-cloud/9839 "2020-05-25T17:32:11Z")

</div>

I’m currently working to make cibuildwheel work on drone, and to validate that on a constant basis in a cloud runner (while also supporting the same self-hosted pipelines), I need to know how flexible the cloud runner of…

[Next page](https://drone.discourse.group/c/faq/16.md?page=1)
