Open hareldev opened 3 weeks ago
In the meantime I would recommend setting up a GitHub app source and re-creating the project resource with the app attached as the source, which holds its own key pair.
I have been encountering a few issues though with deploy keys as well in v4.0.0-beta.297
Thanks for the suggestion! I'm actually working with private GitLab repositories.
A solution that worked for me so far was:
/root/.ssh/id_rsa.pub
manuallyThis way, coolify will not overwrite it, keeping the files mismatched.
Description
When using Private repository in remote server, Coolify will replace your remote
/root/.ssh/id_rsa
file with the one configured in the admin panel. However, it will not update/root/.ssh/id_rsa.pub
, which cause any private repo to not load.Minimal Reproduction (if possible, example repository)
/root/.ssh/id_rsa
and/root/.ssh/id_rsa.pub
)Private Repository
/root/.ssh/id_rsa*
will show mismatching files:Notice the time differences.. When trying to
git clone
any private repo, error is:Please make sure you have the correct access rights and the repository exists.