You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Create an application
Choose Dockerfile as Build Pack (I've also tried Nixpacks)
Deploy
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
The text was updated successfully, but these errors were encountered:
Right, I've figured it out. For those who are having the same problem, you need to make sure that the URL for your submodules are relative, and not absolute. For some reason (something to do with authentication I suppose), the submodules will only clone when using the SSH protocol.
These are the changes I made to my .gitmodules file.
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)
Exception or Error
Version
v4.0.0-beta.306
The text was updated successfully, but these errors were encountered: