-
Notifications
You must be signed in to change notification settings - Fork 73
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
TypeError (Project 'DSMES' ('dsmes') has no repository or repository not found with identifier ''): #41
Comments
@robinhli try out release v0.2.2 and please read the new documentation under Installation -> 3. and -> 4. There are some changes. |
I Have upated the code 0.2.2(even though the redmine page still show 0.2.1)
It seems redmine can get the POST URL from gitlab, but I still not see the git updated at redmine. below is the log from httpd(redmine was configured under httpd)
Could you please help, thanks!
App 20855 output: "#<Repository::Git id: 3, project_id: 1, url: \"/home/redmine/redmine-3.4.5/gitrepo/dsmes\", login: \"\", password: \"\", root_url: \"/home/redmine/redmine-3.4.5/gitrepo/dsmes\", type: \"Repository::Git\", path_encoding: \"UTF-8\", log_encoding: nil, extra_info: {\"extra_report_last_commit\"=>\"0\", \"heads\"=>[\"941118779f26104b8e270e7635c5089301d07dd7\", \"a253463d08dba0e38030ddd0c4be427d0ed44f66\", \"92fbc2e1990d64762534ab6e9fdf224cca330b5c\"], \"db_consistent\"=>{\"ordering\"=>1}}, identifier: \"root_dsmes\", is_default: true, created_on: \"2018-05-15 12:17:09\">"
App 20372 output: "#<Repository::Git id: 3, project_id: 1, url: \"/home/redmine/redmine-3.4.5/gitrepo/dsmes\", login: \"\", password: \"\", root_url: \"/home/redmine/redmine-3.4.5/gitrepo/dsmes\", type: \"Repository::Git\", path_encoding: \"UTF-8\", log_encoding: nil, extra_info: {\"extra_report_last_commit\"=>\"0\", \"heads\"=>[\"941118779f26104b8e270e7635c5089301d07dd7\", \"a253463d08dba0e38030ddd0c4be427d0ed44f66\", \"92fbc2e1990d64762534ab6e9fdf224cca330b5c\"], \"db_consistent\"=>{\"ordering\"=>1}}, identifier: \"root_dsmes\", is_default: true, created_on: \"2018-05-15 12:17:09\">"
…________________________________
From: Phlegx Systems OG <notifications@github.com>
Sent: Wednesday, May 16, 2018 5:06 PM
To: phlegx/redmine_gitlab_hook
Cc: robinhli; Mention
Subject: Re: [phlegx/redmine_gitlab_hook] TypeError (Project 'DSMES' ('dsmes') has no repository or repository not found with identifier ''): (#41)
@robinhli<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Frobinhli&data=02%7C01%7C%7C09a23b248cd844cf446d08d5bb4f694b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636620872097321977&sdata=uP2AvdCYBz%2B%2BCrL1jmkSSBRf7Kz%2BIPq1aS0XPxoxzJI%3D&reserved=0> try out release v0.2.2 and please read the new documentation under Installation -> 3. and -> 4. There are some changes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fphlegx%2Fredmine_gitlab_hook%2Fissues%2F41%23issuecomment-389594224&data=02%7C01%7C%7C09a23b248cd844cf446d08d5bb4f694b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636620872097321977&sdata=N9Z%2FHgJi0Y%2FBobJWqoLumC97DuyObkCQ4N%2BV8%2BVg7LY%3D&reserved=0>, or mute the thread<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.luolix.top%2Fnotifications%2Funsubscribe-auth%2FAg6o6c376kUSrdRpUqiD8jRO1j21xp_Pks5tzFyngaJpZM4T_dfA&data=02%7C01%7C%7C09a23b248cd844cf446d08d5bb4f694b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636620872097321977&sdata=ZcX%2FPbVEYogK%2FdxkFyIu5zsBb9rbZQOzXQvU1vkU2M4%3D&reserved=0>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Redmine project Name: DSMES, identifier: dsmes.
Rep dir: /home/redmine/redmine-3.4.5/gitrepo/dsmes
rep identifier: dsmes
Environment:
Redmine version 3.4.5.stable
Ruby version 2.0.0-p648 (2015-12-16) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
redmine_gitlab_hook 0.2.1
production.log:
same as #38?
Started POST "/gitlab_hook?project_id=dsmes&key=cH59MpLdvdCy2Yfk1dIF" for 192.168.31.83 at 2018-05-15 20:17:44 +0800
Processing by GitlabHookController#index as HTML
Parameters: {"project_id"=>"dsmes", "key"=>"cH59MpLdvdCy2Yfk1dIF"}
Completed 500 Internal Server Error in 53ms (ActiveRecord: 6.9ms)
TypeError (Project 'DSMES' ('dsmes') has no repository or repository not found with identifier ''):
plugins/redmine_gitlab_hook/app/controllers/gitlab_hook_controller.rb:131:in
find_repository' plugins/redmine_gitlab_hook/app/controllers/gitlab_hook_controller.rb:11:in
index'The text was updated successfully, but these errors were encountered: