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

Closed
Open
Created May 03, 2016 by Administrator@rootOwner

Creating wiki page triggers 500 error

Created by: klizas

I'm trying to create wiki page for repository, and I'm getting 500 error. Here is entry from production.log:

Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "wiki"=>{"title"=>"home", "format"=>"markdown", "content"=>"sdasd", "message"=>""}, "namespace_id"=>"kemdu", "project_id"=>"fotomuziejus"} Completed 500 Internal Server Error in 102ms (ActiveRecord: 10.6ms)

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

System information
System:     Debian 7.10
Current User:   git
Using RVM:  no
Ruby Version:   2.1.8p440
Gem Version:    2.5.1
Bundler Version:1.10.6
Rake Version:   10.5.0
Sidekiq Version:4.0.1

GitLab information
Version:    8.7.1
Revision:   93187cb
Directory:  /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL:        https://gitlab.kemdu.lt
HTTP Clone URL: https://gitlab.kemdu.lt/some-group/some-project.git
SSH Clone URL:  [email protected]:some-group/some-project.git
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version:    2.7.2
Repositories:   /var/opt/gitlab/git-data/repositories
Hooks:      /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git:        /opt/gitlab/embedded/bin/git
Assignee
Assign to
Time tracking