Failed to create repository via gitlab-shell -
i installed gitlab via omnibus package on centos 7.
when try create new project web interface got following error :
the form contains following error: failed create repository via gitlab-shell
in logs :
gitlab-rails
processing projectscontroller#create html parameters: {"utf8"=>"✓", "authenticity_token"=>"[filtered]", "project"=>{"namespace_id"=>"1", "path"=>"extrapack-monfatec", "import_url"=>"[filtered]", "description"=>"", "visibility_level"=>"0"}} unable save project. error: failed create repository completed 200 ok in 1049ms (views: 157.3ms | activerecord: 21.0ms)
gitlab-shell
i, [2016-07-11t13:40:42.549484 #31319] info -- : adding project root/extrapack-monfatec.git @ </var/opt/gitlab/git-data/repositories/root/extrapack-monfatec.git>.
gitlab:check
checking gitlab shell ... gitlab shell version >= 3.0.0 ? ... ok (3.0.0) repo base directory exists? ... yes repo base directory symlink? ... no repo base owned git:git? ... yes repo base access drwxrws---? ... yes hooks directories in repos links: ... can't check, have no projects running /opt/gitlab/embedded/service/gitlab-shell/bin/check check gitlab api access: ok check directories , files: /var/opt/gitlab/git-data/repositories: ok /var/opt/gitlab/.ssh/authorized_keys: ok send ping redis server: gitlab-shell self-check successful checking gitlab shell ... finished checking sidekiq ... running? ... yes number of sidekiq processes ... 1 checking sidekiq ... finished checking reply email ... reply email disabled in config/gitlab.yml checking reply email ... finished checking ldap ... ldap disabled in config/gitlab.yml checking ldap ... finished checking gitlab ... git configured autocrlf=input? ... yes database config exists? ... yes migrations up? ... yes database contains orphaned groupmembers? ... no gitlab config exists? ... yes gitlab config outdated? ... no log directory writable? ... yes tmp directory writable? ... yes uploads directory setup correctly? ... skipped (no tmp uploads folder yet) init script exists? ... skipped (omnibus-gitlab has no init script) init script up-to-date? ... skipped (omnibus-gitlab has no init script) projects have namespace: ... can't check, have no projects redis version >= 2.8.0? ... yes ruby version >= 2.1.0 ? ... yes (2.1.8) git bin path "/opt/gitlab/embedded/bin/git" git version >= 2.7.3 ? ... yes (2.7.4) active users: 1 checking gitlab ... finished
i don't know what's going on ... have idea ? have checked every related subjects in forum, didn't see solutions.
thank !
best regards,
i know it's not best solution, restored previous gitlab backup via:
bundle exec rake gitlab:backup:restore rails_env=production backup=timestamp_of_your_backup
doing reverted whatever setting messed up, , allowed me create project via web interface.
i'm running gitlab 2.9 (installed source) on rhel 7.3.
Comments
Post a Comment