this sudden error occur out of nowhere . .everything works fine for almost a week, and then suddenly + git submodule update --init --recursive fatal: No url found for submodule path in .gitmodules exit status 128 this happen in clone step. .
i’ve tried submodule_override pipeline and removing cached with git rm --cached but still no luck… im using drone with private gitea repository… i have another repository with the same credential that works fine. .
oh yea, and i dont think i even use submodule for this repository. .
and i manually create .gitmodules. .and i’am able to solve the issue,
Hmmm, this has never been required to use Drone. I have run thousands of builds using GitHub and Gogs and have never had to do this. We have also never had reports of this issue from anyone else (and there are a lot of active Drone installations). So are you sure there isn’t an issue with your repository or with Gitea? Are you sure you don’t have another repository cloned somewhere in a subdirectory of your project?
This occurs when the repository is using files cloned from another repository. but has had no mapping reference to the source repository created for it. The mapping needs to be entered into a .gitmodules file inside the repository you are using. 
maybe this question is better for Stackoverflow? This sounds like a Git issue (as opposed to a Drone issue) and there will definitely be experts in StackOverflow that can quickly help you triage git errors.
i found the problem. .turn out, ,there is sub-directory inside of main directory which is the same repository, some moron accidentally add this sub directory into the main project,… might have been me. .
i delete that sub directory and its working fine. .