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

Closed
Open
Created Oct 24, 2013 by Administrator@rootOwner

500 Error when trying to view a commit that changed sql files

Created by: invisiblek

When viewing the file (blob) works fine, as does an initial commit, but when I attempt to view a commit that changed a .sql file, I get a 500 error.

Scenario: started a new, test repo. Commited some sql files in various folders as an initial commit. Push to gitlab server. I can view this commit just fine. Moved some of the files around to different folders (without changing anything in the files), commited, pushed, get a 500 error when attempting to view in gitlab.

Related in my production.log:

Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):

Also, if when viewing the blob, I chose the blame view, I get all sorts of Chinese characters.

Quite an odd issue. I can view other commits that don't involve an sql script just fine.

Gitlab 6.1.0 b5955039 nginix/1.2.1

Assignee
Assign to
Time tracking