-
Notifications
You must be signed in to change notification settings - Fork 30
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
Can not enable project #27
Comments
You could take a look at https://github.com/Glavin001/GitLab-Pages/blob/master/routes/projects.js#L9-L43 and debug from there. Basically, it gets the SSH key as the deploy key, adds the deploy key to the project, and checks to make sure the deploy key was added successfully. You should be able to see the deploy key if you log into GitLab and look under that project's settings. The code is pretty straightforward so debugging should not be hard to do -- maybe there was a problem with your SSH key so it failed there. Maybe the GitLab API has changed and that is causing problems. Let me know how debugging goes. It would be good to add in some additional error checking. I am no longer using GitLab so my development has slowed and I do not have a server to test on. I hope you can figure out how to make it work for you. |
Hey Glavin thanks for the reply. Is it correct, that the webhook is handled by the gitlab-pages service too or do I have to create manually a file |
I followed your guid in the Readme.md file and after starting the server, I'm able to see my projects. But when I click on the enable button nothing happens. Output from npm start on the commanlind:
Any ideas how to start debugging? Also I can not see any Deploy Keys or Wehooks for the project I enabled, do they have to appear "normal" in the project settings view?
I'm using a selfhosted gitlab server if that matters.
Thanks for helping,
Flo
The text was updated successfully, but these errors were encountered: