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 tried to deploy OpenProject through this repo recommended by the developers, but got the error that the main branch could not be found when trying to load the compose file.
Since this repository doesn't include a main branch, I thought changing the branch in the Source settings would resolve this issue, but was still getting the same error, as it seems it still wants to pull from main.
I fixed the issue by forking the repo and creating a new main branch which worked for my use case. However, I could see this being a problem for people who want to deploy different environments on other branches which use different compose files.
Minimal Reproduction (if possible, example repository)
Create a new Resource using Public Repository
Insert https://github.com/opf/openproject-deploy as the Repository URL
Select Docker Compose as the Build Pack and add /compose for the Base Directory and press Continue
Go into the Source settings and change the branch. e.g. stable/14
Go back to General and Reload Compose File
Exception or Error
Info
Loading docker compose file.
Error
Cloning into '.'...
fatal: Remote branch main not found in upstream origin
Version
v4.0.0-beta.319
Cloud?
Yes
No
The text was updated successfully, but these errors were encountered:
I'm still encountering this error: "Cloning into '.'...
fatal: Remote branch main not found in upstream origin." I'm getting frustrated trying over and over again, and every attempt seems to be futile. Please fix this soon. Thanks.
Description
I tried to deploy OpenProject through this repo recommended by the developers, but got the error that the main branch could not be found when trying to load the compose file.
Since this repository doesn't include a main branch, I thought changing the branch in the Source settings would resolve this issue, but was still getting the same error, as it seems it still wants to pull from main.
I fixed the issue by forking the repo and creating a new main branch which worked for my use case. However, I could see this being a problem for people who want to deploy different environments on other branches which use different compose files.
Minimal Reproduction (if possible, example repository)
Public Repository
https://github.com/opf/openproject-deploy
as the Repository URLDocker Compose
as the Build Pack and add/compose
for the Base Directory and press Continuestable/14
Reload Compose File
Exception or Error
Version
v4.0.0-beta.319
Cloud?
The text was updated successfully, but these errors were encountered: