GitLab: "Remote branch null" when reloading domain
Everything was working fine when I was in the General section, but when I tried to reload services in the Domains configuration, I got an error saying that it can't pull the "null" branch.
Context:
I tried to deploy with GitLab Compose
I successfully deployed three applications with GitHub before this.
This issue only happens when interacting with Domains, not in General.
The repository is hosted on GitLab, and the correct branch is set in the configuration.
The GitLab Application have corect acces rights ( and i try with all rights )
Error:
Command exited with code 128. Stderr: Cloning into '/etc/dokploy/compose/cadessens-preprod-c3coachsportif-prfwnu/code'... warning: Could not find remote branch null to clone. fatal: Remote branch null not found in upstream origin , command: rm -rf /etc/dokploy/compose/cadessens-preprod-c3coachsportif-prfwnu/code; git clone --branch null --depth 1 --recurse-submodules [MY APP KEY] /etc/dokploy/compose/cadessens-preprod-c3coachsportif-prfwnu/code

4 Replies
the only workarround is to pull manualy on each change :
git clone --branch feat/dokploy --depth 1 --recurse-submodules [MY APP KEY] /etc/dokploy/compose/cadessens-preprod-c3coachsportif-prfwnu/code

hmm let me check!
@Siumauricio i tested it today and it's only on private gitlab repositories