401 Unauthorized

Hi All,
I logon failed when using Drone:1.0.0.rc-5 with Gitlab 11.8.2
Docker-compose config works on Drone:1.0.0.rc-5 with Gitlab 9.4.4

Here are some information:
Drone page:

Login Failed. <small>invalid_grant: The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.</small>

Gitlab log:

Processing by Oauth::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"7b187055e25cdf442a1b37a2e9152950820bc4a8949c0e187c8bc8b533a79547", "redirect_uri"=>"", "response_type"=>"code", "state"=>"365a858149c6e2d1"}
Completed 200 OK in 41ms (Views: 26.7ms | ActiveRecord: 6.2ms)
Started GET "/oauth/undefined" for at 2019-03-25 12:53:24 +0800
Processing by ApplicationController#route_not_found as HTML
  Parameters: {"unmatched_route"=>"oauth/undefined"}
Completed 404 Not Found in 17ms (Views: 2.4ms | ActiveRecord: 3.1ms)
Started POST "/oauth/authorize" for at 2019-03-25 12:53:26 +0800
Processing by Oauth::AuthorizationsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "client_id"=>"7b187055e25cdf442a1b37a2e9152950820bc4a8949c0e187c8bc8b533a79547", "redirect_uri"=>"", "state"=>"365a858149c6e2d1", "response_type"=>"code", "scope"=>"api", "nonce"=>""}
Redirected to
Completed 302 Found in 35ms (ActiveRecord: 23.7ms)
Started POST "/oauth/token" for at 2019-03-25 12:53:26 +0800
Processing by Doorkeeper::TokensController#create as JSON
  Parameters: {"client_id"=>"7b187055e25cdf442a1b37a2e9152950820bc4a8949c0e187c8bc8b533a79547", "client_secret"=>"[FILTERED]", "code"=>"[FILTERED]", "grant_type"=>"authorization_code", "redirect_uri"=>"", "state"=>"365a858149c6e2d1"}
Completed 401 Unauthorized in 5ms

I think is image problem.
I use official image [gitlab/gitlab-ce:11.8.3-ce.0] works with drone.
But [sameersbn/gitlab:11.8.3] doesn’t…

Here is my docker run command:

docker run --name gitlab_test -d \
--link gitlab-postgresql:postgresql \
--link gitlab-redis:redisio \
--publish 30003:22 --publish 30002:80 \
--env 'GITLAB_PORT=30002' --env 'GITLAB_SSH_PORT=30003' \
--env 'GITLAB_HOST=' \
--env 'GITLAB_SECRETS_DB_KEY_BASE=gpnLWjJPFr39f3NLwsLXsFnkV7RKXjVC3qWWVJd9f9xJHkXkjbv3nT7LwnbVmKrs' \
--env 'GITLAB_SECRETS_SECRET_KEY_BASE=XJMdsknXH3JppptbvqNpvtNLjRsLrsR4zPTpLcdkcgMMggTWLF7nMpMsfrcRkLxx' \
--env 'GITLAB_SECRETS_OTP_KEY_BASE=PwbjRLCRjNMK44jzdhzTM7KqTgCJjKzHJJ7ptqXdgq7xnkpWTjsNXfqnPhmJLmhW' \
--env 'DEBUG=true' \
-v /etc/localtime:/etc/localtime:ro \
-v /usr/local/docker/gitlab/gitlab:/home/git/data:z \

Never mind.
That’s gitlab problem of upgrading db schema.
And 401 Unauthorized is caused by timezone.

After I changed db oauth’s table timestamp column without time zone,
It works.

So I think it caused by gitlab and db at different timezone.