Redmine settings ignored
Closed
Redmine settings ignored
Created by: andrejkrajci
After enabling redmine configuration entries in config/gitlab.yml, nothing changes and Issues tracker stays the same (not linking to redmine). Tried service gitlab restart, even server reboot - without success.
config/gitlab.yml (comments removed)
production: &base
gitlab:
host: myserver.com
port: 80
https: false
email_from: email@myserver.com
support_email: support@myserver.com
default_projects_limit: 10
default_projects_features:
issues: true
merge_requests: true
wiki: true
wall: false
snippets: false
public: false
## External issues trackers
issues_tracker:
redmine:
title: "Redmine"
project_url: "http://redmine.myserver.com/projects/:issues_tracker_id"
issues_url: "http://redmine.myserver.com/issues/:id"
new_issue_url: "http://redmine.myserver.com/projects/:issues_tracker_id/issues/new"
gravatar:
enabled: true # Use user avatar image from Gravatar.com (default: true)
ldap:
enabled: false
host: '_your_ldap_server'
base: '_the_base_where_you_search_for_users'
port: 636
uid: 'sAMAccountName'
method: 'ssl' # "ssl" or "plain"
bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
password: '_the_password_of_the_bind_user'
allow_username_or_email_login: true
omniauth:
enabled: false
allow_single_sign_on: false
block_auto_created_users: true
providers:
satellites:
path: /home/git/gitlab-satellites/
backup:
path: "tmp/backups" # Relative paths are relative to Rails.root (default: tmp/backups/)
gitlab_shell:
repos_path: /home/git/repositories/
hooks_path: /home/git/gitlab-shell/hooks/
upload_pack: true
receive_pack: true
git:
bin_path: /usr/local/bin/git
max_size: 5242880 # 5.megabytes
timeout: 10
extra:
development:
<<: *base
test:
<<: *base
issues_tracker:
redmine:
title: "Redmine"
project_url: "http://redmine/projects/:issues_tracker_id"
issues_url: "http://redmine/:project_id/:issues_tracker_id/:id"
new_issue_url: "http://redmine/projects/:issues_tracker_id/issues/new"
staging:
<<: *base
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
System information
System: Ubuntu 12.04
Current User: git
Using RVM: no
Ruby Version: 2.0.0
Gem Version: 2.0.0.rc.2
Bundler Version:1.3.5
Rake Version: 10.1.0
GitLab information
Version: 6.3.0
Revision: 232e6b4
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://myserver.com
HTTP Clone URL: http://myserver.com/some-project.git
SSH Clone URL: git@myserver.com:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.7.9
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/local/bin/git
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.9 ? ... OK (1.7.9)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ...
... bunch of project, all ok ...
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/home/git/repositories: OK
/home/git/.ssh/authorized_keys: OK
/usr/bin/redis-cli: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
... bunch of project, all yes ...
Projects have satellites? ...
... bunch of projects, all good ...
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/local/bin/git"
Git version >= 1.7.10 ? ... yes (1.8.4)
Checking GitLab ... Finished
Created by: andrejkrajci
Figured this out by myself, after enabling Redmine in config you have to change project settings (in webadmin) as well. Redmine is now enabled as another available Issue tracker.
I think this feature should be documented somewhere (or maybe I'm just blind) to avoid further confusion.
By Administrator on 2013-11-26T09:34:11 (imported from GitLab project)