coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Failed to clone Git submodule

Open marinofranz opened this issue 8 months ago • 2 comments

Description

Hi,

I've just created an application on Coolify that pulls from a private GitHub repository. Said repository has a submodule, and Coolify doesn't seem to clone it correctly. I've made sure that Submodules are turned on under Advanced settings for the application. Is there something permission wise that needs to be addressed on the GitHub App itself, or is this a bug?

There are 2 other issues that report the same problem, which have been closed, but with no resolution: #795 #1050

Happy to provide more information if needed 🙂

Minimal Reproduction (if possible, example repository)

  1. Create an application
  2. Choose Dockerfile as Build Pack (I've also tried Nixpacks)
  3. Deploy
  4. An error occurs and is displayed in the deployment log

Exception or Error

Cloning into '/artifacts/q88kow8'...
Submodule 'prisma' (https://github.com/???/prisma.git) registered for path 'prisma'
Cloning into '/artifacts/q88kow8/prisma'...
fatal: could not read Username for '[https://github.com':](https://github.com'/) No such device or address
fatal: clone of 'https://github.com/???/prisma.git' into submodule path '/artifacts/q88kow8/prisma' failed
Failed to clone 'prisma'. Retry scheduled

Organization name has been redacted from the logs.

Version

v4.0.0-beta.306

marinofranz avatar Jul 01 '24 04:07 marinofranz