Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #10032

Closed
Open
Created Feb 13, 2016 by Administrator@rootOwner

update gitlab from 7.6 to 7.7.2 : ActionView::Template::Error (undefined method `developers_can_push'

Created by: vmintam

Dear guys,

current, i'm using GitLab Community Edition version 7.6 (with PostgreSQL DB). I have just upgrade to gitlab 7.7.2, but something error.

in web GUI, when i choose settings in projects, click to protected_branches --> 500 error. in git client, when i push to master branch, i catch error :

remote: GitLab: API is not accessible To [email protected]:my-projects/test.git ! [remote rejected] master -> master (pre-receive hook declined)

when i check log in my server, i see :

**Processing by Projects::ProtectedBranchesController#index as HTML Parameters: {"project_id"=>"vmsclients/vms_ott_android_v2"} Completed 500 Internal Server Error in 27ms

ActionView::Template::Error (undefined method `developers_can_push' for #ProtectedBranch:0x007f79f2a28b40): 27: Developers can push 28: .col-sm-10 29: .checkbox 30: = f.check_box :developers_can_push**

I have checked info and status, everything fine. bundle exec rake gitlab:check RAILS_ENV=production bundle exec rake db:migrate:status RAILS_ENV=production

thanks!

Assignee
Assign to
Time tracking