We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I created a new repository and then clicked the edit link and then I got this Internal Error: From production.log:
production.log
ActionView::Template::Error (undefined method `empty?' for nil:NilClass): 149: 150: <p> 151: <%= label_tag "", l(:label_repository_default_branch) %> 152: <% if [email protected]_record? && [email protected]? %> 153: <%= select_tag "extra[default_branch]", options_for_select(@repository.branches.collect{ |b| [b.to_s, b.to_s] }, :selected => @repository.branches.find{ |b| b.is_default}.to_s) %> 154: <% else %> 155: <span class="label label-info"><%= @repository.extra[:default_branch] %></span>
app/helpers/application_helper.rb:1056:in `labelled_form_for'
The relevant part from git_hosting.log:
git_hosting.log
2015-01-21 04:23:34 +0100 INFO [GitHosting] User 'jamasi' created a new repository 'foobar3' 2015-01-21 04:23:34 +0100 INFO [GitWorker] Using Gitolite configuration file : 'gitolite.conf' 2015-01-21 04:23:34 +0100 INFO [GitWorker] add_repository : repository 'foobar3' does not exist in Gitolite, create it ... 2015-01-21 04:23:34 +0100 INFO [GitWorker] add_repository : commiting to Gitolite... 2015-01-21 04:23:35 +0100 INFO [GitWorker] add_repository : let Gitolite create empty repository 'repositories/foobar3.git' 2015-01-21 04:23:35 +0100 INFO [GitWorker] add_repository : pushing to Gitolite... 2015-01-21 04:23:38 +0100 INFO [GitWorker] add_repository : done ! 2015-01-21 04:23:38 +0100 INFO [GitWorker] Create README file for repository 'foobar3' 2015-01-21 04:23:39 +0100 ERROR [GitWorker] Error while creating README file for repository 'foobar3' 2015-01-21 04:23:39 +0100 ERROR [GitWorker] Command output : '' 2015-01-21 04:23:39 +0100 WARN [GitCache] Cache is disabled : 'foobar3'
The text was updated successfully, but these errors were encountered:
Fix #329
6b13980
Can you do a git pull from the plugin directory and retry?
git pull
Sorry, something went wrong.
The internal error is gone now, but the repo is not initialised with any readme file, but that looks like another issue.
https://jbox-web.github.io/redmine_git_hosting/configuration/troubleshooting/#initialization-of-the-repo-with-readme-file-does-not-work
n-rodriguez
No branches or pull requests
I created a new repository and then clicked the edit link and then I got this Internal Error:
From
production.log
:app/helpers/application_helper.rb:1056:in `labelled_form_for'
The relevant part from
git_hosting.log
:The text was updated successfully, but these errors were encountered: