I would like to help, but this post lacks a clear description of the problem, logs, sample configurations and relevant steps to reproduce. These details are required in order to effectively provide support.
Which two files? I am having difficulty understanding this.
When a build is pending forever it almost always means you have not configured your agent correctly. Did you install drone per the documentation? Do you see anything in your server or agent logs indicating there is a problem?
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
drone-agent_1 | rpc: error re-connecting: dial tcp: lookup drone-server on 8.8.8.8:53: no such host
The only detail i see is the docker logs… trying 8.8.8.8:53. Away from that i cant see anything weird…
This indicates the agent is failing to connect to your server. Because the agent cannot connect with the server, it cannot run any builds. This is why all builds sit in a pending state.
The error message lookup drone-server on 8.8.8.8:53: no such host indicates there are network issues and dns lookup issues in your docker environment. These issues indicate a problem with your docker installations and configuration or host machine configuration.
well i tested some configs and i cant repair this ( i used the default nginx conf, that the tutorial offers)
rpc: error re-connecting: dial tcp <my-External-Ip>:80: getsockopt: connection timed out
rpc: error re-connecting: dial tcp <my-External-Ip>:80: getsockopt: connection timed out
rpc: error re-connecting: dial tcp <my-External-Ip>:80: getsockopt: connection timed out
rpc: error re-connecting: dial tcp <my-External-Ip>:80: getsockopt: connection timed out
rpc: error re-connecting: dial tcp <my-External-Ip>:80: getsockopt: connection timed out
and if i use insted of drone-server my local ip
pipeline: request next execution
pipeline: received next execution: 1
rpc: error making call: jsonrpc2: code 0 message: sql: no rows in result set
pipeline: error signaling pipeline init: 1: jsonrpc2: code 0 message: sql: no rows in result set
rpc: error making call: jsonrpc2: code 0 message: sql: no rows in result set
Pipeine: error updating pipeline step status: 1: clone: jsonrpc2: code 0 message: sql: no rows in result set