Reputation: 806
I'm looking to get Redmine integration with Gitlab 6.0 working.
gitlab.yml:
issues_tracker:
redmine:
project_url: "http://issues.myserver.com/projects/:issues_tracker_id"
issues_url: "http://issues.myserver.com/issues/:id"
new_issue_url: "http://issues.myserver.com/projects/:issues_tracker_id/issues/new"
However, I run into problems and get the following below:
We're sorry, but something went wrong
message in the browserproduction.log
only has the message Connecting to database specified by database.yml
If I comment out issues_url
and new_issue_url
, Gitlab works, but the Gitlab continues to use the "base" issue tracker.
In gitlab.yml, redmine:
has no effect.
Any suggestions?
Upvotes: 2
Views: 9863
Reputation: 144
I've met this situation, too. I guess you have set something related to issue system before correcting your config file. Fixing configuration file doesn't fix everything, u need to fix mysql, too.
use gitlab;
update projects set issues_tracker="gitlab" where issues_tracker != "gitlab";
that should work.
Upvotes: 0
Reputation: 96
It's correct configuration:
## External issues trackers
issues_tracker:
redmine:
project_url: "http://domain.com/projects/:issues_tracker_id"
issues_url: "http://domain.com/issues/:id"
new_issue_url: "http://domain.com/projects/:issues_tracker_id/issues/new"
If you show a copy-paste code part from your config - I can imagine that you misjudge the gaps (not erased once before redmine:)
Upvotes: 1