Push ends up with "(bad pack)"

Hello. My setup is quite odd but still.
Andriod → Termux → Debian → Gitea 1.22.3 arm64
Im able to install, login, use web ui, pull/clone/fetch.
But unable to push. Attempts from any client end up with

Pushing to http://some.host:3000/test/test.git
POST git-receive-pack (353 bytes)
To http://some.host:3000/test/test.git
 ! [remote rejected] master -> master (bad pack)
error: failed to push some refs to 'http://some.host:3000/test/test.git'

It seems to me that it is some unmet dependncy.