Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,25 @@ You can optionally dump 0.8 user API tokens for use with 1.0 as described [here]
```shell
$ docker run -e [...] drone/migrate dump-tokens
```

# Others

## Update database file path for sqlite3 (Optional)

Keep in mind, the default path in container for v0.8 is `/var/lib/drone/db/drone.sqlite`, v1 is `/data/database.sqlite`. If you are using default, don't set it wrong.

## Update provider's callback URL

Remember to update the authorization callback URL from [/authorize](https://0-8-0.docs.drone.io/install-for-github/) to [/login](https://docs.drone.io/server/provider/github/), or you can create a new one.

## Update provider's webhook token (Optional)

If the webhook is failing with error `signature is invalid`, you can manually re-enable the repo to update the token. See [issue]( https://discourse.drone.io/t/solved-gogs-webhook-to-drone-is-failing-with-http-400-errors/224/2)

1. Remove the hook from provider (Github, Gogs, ...)
2. Disable the repository in Drone
3. Re-enable the repository in Drone

## Start server and runners

See [official docs site](https://docs.drone.io/)