Open tonbo opened 6 years ago
It works in my Redmine 3.4.4 environment...
Please check that RAILS_ROOT/bitbucket_git_repositories
and RAILS_ROOT/bitbucket_git_repositories/<OWNER>_<REPO_NAME>.git
directories were created.
If you can find these directories, try minimal requests like
curl -XPOST "http://localhost:3000/bitbucketgit_hook" -d '{"repository": {"name":"<REPO_NAME>", "owner":"<OWNER>", "slag":"<REPO_NAME>"}}'
(Please replace REPO_NAME and OWNER)
Logs(logs/*.log) help you to find out what is wrong. You can find git commands were called like
git clone --mirror git@bitbucket.org:<OWNER>/<REPO_NAME>.git "<RAILS_ROOT>/bitbucket_git_repositories/<OWNER>-<REPO_NAME>.git"
Perhaps these git commands may have failed.
Hello. When I access to the repo page in Redmine project, [404 The entry or revision was not found in the repository.] error come out.
And when I tried to access to http://(my IP)/redmine/bitbucketgit_hook The error is coming out.
Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
I checked Bitbucket's Webhooks request, and there are 2 request and seem like all fine. So, I suppose, something wrong in plugin code or setting. Do you have any ideas?
I use redmine 3.4.4 in AWS ec2 env.