Hi all,
I am trying to setup Drone 1 with Gitea 1.8, all running in Docker.
I have gitea.domain.com for my Gitea server and drone.domain.com for my Drone, and they both work. I configured everything correctly as far as I can tell. However, I cannot login to Drone and have no idea what the default credentials should be. I tried creating an admin user with the environment variable DRONE_USER_CREATE=username:quentin,admin:true
but what would be the password? I have also tried with my Gitea credentials but I still get Login Failed. Forbidden
The debug log is:
{"level":"info","msg":"main: internal scheduler enabled","time":"2019-05-09T18:31:37Z"}
{"build.limit":0,"expires":"0001-01-01T00:00:00Z","kind":"trial","level":"debug","msg":"main: license loaded","repo.limit":0,"time":"2019-05-09T18:31:37Z","user.limit":0}
{"admin":true,"level":"debug","login":"quentin","machine":false,"msg":"bootstrap: create account","time":"2019-05-09T18:31:37Z","token":""}
{"admin":true,"level":"debug","login":"quentin","machine":false,"msg":"bootstrap: updating account","time":"2019-05-09T18:31:37Z","token":""}
{"admin":true,"level":"debug","login":"quentin","machine":false,"msg":"bootstrap: account already up-to-date","time":"2019-05-09T18:31:37Z","token":""}
{"level":"info","msg":"main: starting the local build runner","threads":2,"time":"2019-05-09T18:31:37Z"}
{"arch":"amd64","level":"debug","machine":"48b9347464f8","msg":"runner: polling queue","os":"linux","time":"2019-05-09T18:31:37Z"}
{"arch":"amd64","level":"debug","machine":"48b9347464f8","msg":"runner: polling queue","os":"linux","time":"2019-05-09T18:31:37Z"}
{"arch":"amd64","kernel":"","level":"debug","msg":"manager: request queue item","os":"linux","time":"2019-05-09T18:31:37Z","variant":""}
{"acme":false,"host":"drone.domain.com","level":"info","msg":"starting the http server","port":":80","proto":"http","time":"2019-05-09T18:31:37Z","url":"http://drone.domain.com"}
{"arch":"amd64","kernel":"","level":"debug","msg":"manager: request queue item","os":"linux","time":"2019-05-09T18:31:37Z","variant":""}
{"interval":"30m0s","level":"info","msg":"starting the cron scheduler","time":"2019-05-09T18:31:37Z"}
{"level":"debug","msg":"events: stream opened","request-id":"1L0YtqoKMqXSdi5ttPa47udJ6ZI","time":"2019-05-09T18:31:39Z"}
{"fields.time":"2019-05-09T18:31:42Z","latency":82003,"level":"debug","method":"POST","msg":"","remote":"10.0.0.2:37830","request":"/login","request-id":"1L0YuEo7MIogdwgpMMkXhSMk08e","time":"2019-05-09T18:31:42Z"}
{"fields.time":"2019-05-09T18:31:42Z","latency":24296,"level":"debug","method":"GET","msg":"","remote":"10.0.0.2:37830","request":"/login/form","request-id":"1L0YuDq7AbgWD5lbbhcGm14NnWC","time":"2019-05-09T18:31:42Z"}
{"level":"debug","msg":"events: stream cancelled","request-id":"1L0YtqoKMqXSdi5ttPa47udJ6ZI","time":"2019-05-09T18:31:42Z"}
{"level":"debug","msg":"events: stream closed","request-id":"1L0YtqoKMqXSdi5ttPa47udJ6ZI","time":"2019-05-09T18:31:42Z"}
{"level":"debug","msg":"api: guest access","request-id":"1L0YtqoKMqXSdi5ttPa47udJ6ZI","time":"2019-05-09T18:31:42Z"}
{"fields.time":"2019-05-09T18:31:42Z","latency":3224501104,"level":"debug","method":"GET","msg":"","remote":"10.0.0.2:37762","request":"/api/stream","request-id":"1L0YtqoKMqXSdi5ttPa47udJ6ZI","time":"2019-05-09T18:31:42Z"}
{"level":"debug","msg":"api: authentication required","request-id":"1L0YuIrKn2O039Tvs8Gjb0D2EDN","time":"2019-05-09T18:31:42Z"}
{"level":"debug","msg":"api: guest access","request-id":"1L0YuIrKn2O039Tvs8Gjb0D2EDN","time":"2019-05-09T18:31:42Z"}
{"fields.time":"2019-05-09T18:31:42Z","latency":156904,"level":"debug","method":"GET","msg":"","remote":"10.0.0.2:37830","request":"/api/user","request-id":"1L0YuIrKn2O039Tvs8Gjb0D2EDN","time":"2019-05-09T18:31:42Z"}
{"level":"debug","msg":"events: stream opened","request-id":"1L0YuK2MBqikdYlSP6GtODeRDTV","time":"2019-05-09T18:31:42Z"}
Any suggestion would be greatly appreciated.
Thanks !