# Gitea Push does nothing

**URL:** <https://drone.discourse.group/t/gitea-push-does-nothing/11492>\
**Category:** Drone Support\
**Created:** [February 13, 2020, 10:25am UTC](https://drone.discourse.group/t/gitea-push-does-nothing/11492 "2020-02-13T10:25:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![timia2109](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/timia2109/32/4276_2.png) [@timia2109](https://drone.discourse.group/u/timia2109)\
**Post date:** [February 13, 2020, 10:25am UTC](https://drone.discourse.group/t/gitea-push-does-nothing/11492/1 "2020-02-13T10:25:24Z")

</div>

Hello,

I’m unable to use Drone.

I setup a Drone Server (at home) with this Docker-Compose File

```
version: '2'

services:
  drone-server:
    image: drone/drone:1
    volumes:
      - ./data:/var/lib/drone/
    restart: always
    ports:
      - 8001:80
    environment:
      - DRONE_AGENTS_ENABLED=true
      - DRONE_GITEA_SERVER=https://{{URLTOGITEA}}/git/
      - DRONE_GITEA_CLIENT_ID={{VALID_ID}}
      - DRONE_GITEA_CLIENT_SECRET={{VALID_SECRET}}
      - DRONE_RPC_SECRET=7cdfe91fb9e5c80decd1e99b148cfed3
      - DRONE_SERVER_HOST={{MYDYNDNS}}.ddns.net:8001
      - DRONE_SERVER_PROTO=http
      - DRONE_USER_CREATE=username:timia2109,admin:true

  drone-runner1:
    image: drone/drone-runner-docker:1
    restart: always
    depends_on: [drone-server]
    ports:
      - 3000:3000
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DRONE_RPC_HOST={{MYDYNDNS}}.ddns.net:8001
      - DRONE_RPC_PROTO=http
      - DRONE_RPC_SECRET=7cdfe91fb9e5c80decd1e99b148cfed3
      - DRONE_RUNNER_CAPACITY=2
      - DRONE_RUNNER_NAME=drone-runner1

```

The Gitea Server is on a VPS (Public).

I’m able to login and to activate repositorys, but they never get build.

I was trying to build a docker image and push it to a Azure repository with this .drone.yaml (the repo is not owned by me, its owned by an organisation where I’m a member)

```
kind: pipeline
type: docker
name: default

steps:
  - name: docker  
    image: plugins/docker
    settings:
      username: 
        from_secret: username
      password: 
        from_secret: password
      repo: {{repo}}.azurecr.io/test
      tags: latest

```

Gitea show me an error on the WebHook:

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/testdrone/original/2X/6/6c5454bb54b1041bb4de4ce4be8eaed4b552e6ba.png)

I copied the headers and the body from the Gitea request, retry it with Postman and get an 400: { “message”: “Invalid Webhook signature” }

It is possible to reach my home server from the cloud server.

I was trying to trigger a build from the cli but there I get that error (where test/test is the real repo name)

```
> drone build promote test/test 1 production
< client error 404: { "message": "sql: no rows in result set" }

```

Can you help me?`

Thank you,  
Tim

---

<div class="post-metadata">

**Author:** ![ashwilliams1](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/ashwilliams1/32/5549_2.png) [@ashwilliams1](https://drone.discourse.group/u/ashwilliams1)\
**Post date:** [February 13, 2020, 3:14pm UTC](https://drone.discourse.group/t/gitea-push-does-nothing/11492/2 "2020-02-13T15:14:43Z")

</div>

can you please use our official installation documentation to ensure you are using the correct images and environment variables? I see a number of problems in your docker-compose file that would lead me to believe you did not use the official documentation. I recommend starting from scratch and following the instructions at [docs.drone.io](https://docs.drone.io).

---

<div class="post-metadata">

**Author:** ![timia2109](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/timia2109/32/4276_2.png) [@timia2109](https://drone.discourse.group/u/timia2109)\
**Post date:** [February 14, 2020, 7:50am UTC](https://drone.discourse.group/t/gitea-push-does-nothing/11492/3 "2020-02-14T07:50:08Z")

</div>

Sorry,

I changed my Docker-Compose file (see first Post), but I got still the same result.

---

<div class="post-metadata">

**Author:** ![ashwilliams1](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/ashwilliams1/32/5549_2.png) [@ashwilliams1](https://drone.discourse.group/u/ashwilliams1)\
**Post date:** [February 14, 2020, 3:14pm UTC](https://drone.discourse.group/t/gitea-push-does-nothing/11492/4 "2020-02-14T15:14:43Z")

</div>

this issue comes up pretty frequently so you should be able to find existing threads in the forum that discuss this issue. We also have a detailed FAQ that outlines every known reason that “nothing happens” when you push code.

> [@ENV: get source branch](http://discuss.harness.io/t/nothing-happens-when-i-push-code-no-builds-or-builds-stuck-in-pending/3424):
>
> Hello, for using [https://github.com/tir38/android-lint-entropy-reducer](https://github.com/tir38/android-lint-entropy-reducer), I need the source branch to push the result of “android lint” (code quality scanner) to the same branch. I do only get the target branch (which is in my case ‘master’), but I would need the source branch of the pull request on github (e.g. ‘testLint’). Would it be possible to add this? Or is there another way to get this information? According to the script this is done in travis with ENV[‘TRAVIS\_BRANCH’] Thank you for …
