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
  • #10319

Closed
Open
Created May 03, 2016 by Administrator@rootOwner

500 error with gitlab 8.7 when saving wikis

Created by: ahunigel

I am trying to edit the home page, 500 error occured.

Started POST "/pet/oxygen/wikis" for 127.0.0.1 at 2016-05-03 15:29:33 +0800
Processing by Projects::WikisController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "wiki"=>{"title"=>"home", "format"=>"markdown", "content"=>"testnigel", "message"=>"add wiki "}, "namespace_id"=>"pet", "project_id"=>"oxygen"}
Completed 500 Internal Server Error in 70ms (ActiveRecord: 6.0ms)

NoMethodError (undefined method `username' for #<Group:0x0000000a083dd8>):
  app/models/project_wiki.rb:158:in `default_message'
  app/models/project_wiki.rb:152:in `commit_details'
  app/models/project_wiki.rb:91:in `create_page'
  app/models/wiki_page.rb:183:in `save'
  app/models/wiki_page.rb:143:in `create'
  app/services/wiki_pages/create_service.rb:6:in `execute'
  app/controllers/projects/wikis_controller.rb:58:in `create'
  lib/gitlab/middleware/go.rb:16:in `call'


==> /var/log/gitlab/gitlab-workhorse/current <==
2016-05-03_07:29:34.00274 2016/05/03 15:29:34 ErrorPage: serving predefined error page: 500
2016-05-03_07:29:34.00293 10.161.78.54 @ - - [2016-05-03 15:29:33.707783034 +0800 HKT] "POST /pet/oxygen/wikis HTTP/1.1" 500 2205 "http://10.161.78.54/pet/oxygen/wikis/home" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2716.0 Safari/537.36" 0.295113
Assignee
Assign to
Time tracking