coolify icon indicating copy to clipboard operation
coolify copied to clipboard

Error in git URL

Open hannaxd opened this issue 4 years ago • 1 comments

Using Selfhosted GitLab and a almost fresh install of coolify. Aside of access to repositories on the own account not being possible trying to set up anything leads to the following:

20:03:21.711  GitLab importer started.
20:03:21.743  Cloning organization/website-template:main branch.
20:03:21.812  Failed to deploy!
20:03:21.814  Reason: Error: Command failed: git clone -q -b main [email protected]/:organization/website-template.git --config core.sshCommand="ssh -q -i /tmp/build-sources/organization/website-template/id.rsa -o StrictHostKeyChecking=no" /tmp/build-sources/organization/website-template/cl1pffir500100oqehg1p7y1a/ && cd /tmp/build-sources/organization/website-template/cl1pffir500100oqehg1p7y1a/ && git submodule update --init --recursive && git lfs pull && cd .. 
fatal: '[email protected]/:organization/website-template.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Thank you in advance and apologies if this is just wrong configuration from my side!

hannaxd avatar Apr 07 '22 20:04 hannaxd

It looks like you added a / to the end of the domain. gitlab.domain.eu/ but it should be gitlab.domain.eu.

I will add a fix to prevent such errors in the future and a possibility to change it on an already defined GitSource in the next version.

andrasbacsai avatar Apr 07 '22 22:04 andrasbacsai