Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Trying to load a docker compose git resource that has no main branch (but master) fails #3592

Closed
CryptoVaraan opened this issue Sep 26, 2024 · 5 comments
Labels
⏱︎ Stale Issues that are awaiting feedback but have not been answered.

Comments

@CryptoVaraan
Copy link

Error Message and Logs

Pop up message appears:
Cloning into '.'...
fatal: Remote branch main not found in upstream origin

Steps to Reproduce

  1. Add resource using public repository
  2. Click check repository
  3. Click continue

Example Repository URL

https://github.com/mailcow/mailcow-dockerized

Coolify Version

v4.0.0-beta.345

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04.1 LTS

Additional Information

No response

@CryptoVaraan CryptoVaraan added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Sep 26, 2024
@peaklabs-dev
Copy link
Member

peaklabs-dev commented Sep 26, 2024

The Mailcow remote branch is called master, not main, so the error message is correct: it cannot find main because you need to change the branch name to master. You have to input the right branch in the UI, did you do that?

@github-actions github-actions bot removed 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Sep 26, 2024
@peaklabs-dev peaklabs-dev added 🐛 Bug Reported issues that need to be reproduced by the team. 💤 Waiting for feedback Issues awaiting a response from the author. labels Sep 26, 2024
@peaklabs-dev peaklabs-dev reopened this Sep 26, 2024
@CryptoVaraan
Copy link
Author

The default branch can be called main OR master. My point is that the import function ASSUMES the existence of a branch called main. The text also says that you can change the branch AFTER the import, but you don't get that far when it works like this. Maybe there is a way to find out what the default branch is called?

@djsisson
Copy link
Contributor

add /tree/master onto the end of the url

Copy link

This issue will be automatically closed in a few days if no response is received. Please provide an update with the requested information.

@github-actions github-actions bot added the ⏱︎ Stale Issues that are awaiting feedback but have not been answered. label Oct 12, 2024
Copy link

This issue has been automatically closed due to inactivity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2024
@peaklabs-dev peaklabs-dev removed 🐛 Bug Reported issues that need to be reproduced by the team. 💤 Waiting for feedback Issues awaiting a response from the author. labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏱︎ Stale Issues that are awaiting feedback but have not been answered.
Projects
None yet
Development

No branches or pull requests

3 participants