Problem with BitBucket Server (v4.1.3) - runtime error: index out of range, on activate repository

Hi!
When i try activate repository i get error:
{“level”:“debug”,“msg”:“api: root access granted”,“name”:“fontanka”,“namespace”:“PORTAL”,“request-id”:“1KOn9TVMUpdUqrBYw2aBSBh51mt”,“time”:“2019-04-26T09:35:59Z”,“user.admin”:true,“user.login”:“v.matveev”},
{“level”:“debug”,“msg”:“api: root access granted”,“name”:“fontanka”,“namespace”:“PORTAL”,“request-id”:“1KOn9TVMUpdUqrBYw2aBSBh51mt”,“time”:“2019-04-26T09:35:59Z”,“user.admin”:true,“user.login”:“v.matveev”},
Panic: runtime error: index out of range,
goroutine 510 [running]:,
runtime/debug.Stack(0x29, 0x0, 0x0),
/usr/local/go/src/runtime/debug/stack.go:24 +0xa7,
ntime/debug.PrintStack(),
/usr/local/go/src/runtime/debug/stack.go:16 +0x22,
github._com/go-chi/chi/middleware.Recoverer.func1.1(0xc000804100, 0x1ba7940, 0xc0009e2000),
/go/pkg/mod/github.com/go-chi/[email protected]+incompatible/middleware/recoverer.go:28 +0x1b6,
panic(0x171a3a0, 0x2a6b400),
/usr/local/go/src/runtime/panic.go:513 +0x1b9,
github._com/drone/go-scm/scm/driver/stash.(*Error).Error(0xc0002789e0, 0xc00068c5d8, 0x1215b79),
/go/pkg/mod/github.com/drone/[email protected]/scm/driver/stash/stash.go:132 +0x3a,
github._com/drone/drone/handler/api/render.ErrorCode(0x1ba7940, 0xc0009e2000, 0x1b8d260, 0xc0002789e0, 0x1f4),
/drone/src/handler/api/render/render.go:55 +0x35,
github._com/drone/drone/handler/api/render.InternalError(0x1ba7940, 0xc0009e2000, 0x1b8d260, 0xc0002789e0),
/drone/src/handler/api/render/render.go:61 +0x52
I found a similar thread here: Problem with BitBucket Server - runtime error: index out of range, on event=push, but I did not find the answer.
All error report: https://pastebin.com/p9TX3dyM
Thanks!

Drone supports Bitbucket Server 5.11 and higher. The version of Bitbucket that you are using, 4.1.3, was released in January 2017 and is now end of life. So unfortunately we are not able to guarantee that Drone works with such an old version.

For reference, here is a link to all supported versions of Bitbucket Server and their planned end of life dates.
https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html#AtlassianSupportEndofLifePolicy-BitbucketServer

Thanks for the answer!
The topic is closed.