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

Unable to mirror gitlab project #19

Open
thomas955 opened this issue Dec 11, 2019 · 1 comment
Open

Unable to mirror gitlab project #19

thomas955 opened this issue Dec 11, 2019 · 1 comment

Comments

@thomas955
Copy link

Hi,

currently im not able to mirror a project from my gitlab instance into redmine.

I always get "URL Permission denied, please try again." I read the realy short documentation and there is the section about private Repositories:
"At this moment only ssh access with redmine user ssh key is supported."

What does this mean? My repos in gitlab are accessible via ssh "git@gitlab" or https. Which key do i need to provide to gitlab?
I tried to clone the repo as redmine user and its ssh key and its working (Pubkey as deploykey in the gitlab project - repository).

How should i specify username and or key in the url?

Thank you in advance,
Thomas

@barzhomi
Copy link

In my case it starts working when I've put gitlab deploy key (private part) in .ssh folder in home folder for the user from which redmine has started and working. I'm using shared hosting and at first I've get the same error as you, but after a little of debugging I've realized that ruby environment (passanger in my case) started from another user, thus my administrative user's .ssh folder just was the wrong place for gitlab deploy key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants