Skip to content

503 error on repository pages: #352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
anarcat opened this issue Feb 4, 2015 · 1 comment
Closed

503 error on repository pages: #352

anarcat opened this issue Feb 4, 2015 · 1 comment
Assignees
Labels

Comments

@anarcat
Copy link

anarcat commented Feb 4, 2015

we have been having those errors for a while, probably after the squeeze to wheezy upgrade on this machine, which moved from gitolite 1.x to 2.x:

Started GET "/projects/X/repository" for Y at 2015-02-04 17:37:01 -0500
Processing by RepositoriesController#show as HTML
  Parameters: {"id"=>"puppet-network"}
  Current user: Z (id=3)
git: error during get default branch: undefined method `[]' for nil:NilClass
The revision 'LICENSE' has a wrong format
The revision 'README' has a wrong format
The revision 'manifests' has a wrong format
The revision 'templates' has a wrong format
Completed 500 Internal Server Error in 411.0ms

TypeError (can't convert nil into String):
  lib/redmine/scm/adapters/git_adapter.rb:237:in `block (2 levels) in revisions'
  lib/redmine/scm/adapters/git_adapter.rb:226:in `block in revisions'
  lib/redmine/scm/adapters/git_adapter.rb:218:in `revisions'
  app/models/repository/git.rb:242:in `latest_changesets'
  app/controllers/repositories_controller.rb:122:in `show'
@anarcat
Copy link
Author

anarcat commented Feb 4, 2015

it turns out this is because of spurious output in the ssh connexion. some banner is being printed by the server and making the scripts freak out. this is resolved the same way as #351 so i'll close and follow up there.

@anarcat anarcat closed this as completed Feb 4, 2015
@n-rodriguez n-rodriguez self-assigned this Feb 5, 2015
@n-rodriguez n-rodriguez added the bug label Feb 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants