Git Repository throws 500
Added by Steffen Kißlinger about 6 years ago
Environment:
Redmine version 3.4.3.stable
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.10
Git 2.1.4
Filesystem
Redmine plugins:
clipboard_image_paste 1.12
recurring_tasks 2.0.0-pre
redmine_agile 1.4.5
redmine_checklists 3.1.10
redmine_ckeditor 1.1.5
redmine_contacts 4.1.1
redmine_contacts_helpdesk 3.0.9
redmine_editauthor 0.11.0
redmine_lightbox2 0.4.3
redmine_people 1.3.2
redmine_spent_time_in_issue_description 2.8.0
redmine_theme_changer 0.3.1
Hi,
we have integrated some Gitlab-Repos in Redmine and it works perfectly except of one Repository.
I checked the log which says:
ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8):
8: :locals => { :path => @path, :kind => 'dir', :revision => @rev } ></h2>
9:
10: < if !@entries.nil? && authorize_for('repositories', 'browse') >
11: <= render :partial => 'dir_list' >
12: < end >
13:
14: <= render_properties(@properties) %>
app/views/repositories/show.html.erb:11:in `_app_views_repositories_show_html_erb___59976074369501736_69906913055520'
app/controllers/repositories_controller.rb:97:in `show'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
I checked the whole Repo, if there are any files and folders containing uncommon characters but didnt find any.
What should we do to make that Repository also work?
Thank you for your help
Replies (3)
RE: Git Repository throws 500 - Added by Go MAEDA about 6 years ago
Maybe this is the same issue with #16881?
RE: Git Repository throws 500 - Added by Steffen Kißlinger about 6 years ago
No its not exactly the same issue. I tried the Patch, but didnt work for me. I think its not branches and tags who are bugging out. I think there are files and/or folders in the Repo who are not encoded as they should.
RE: Git Repository throws 500 - Added by Dimitar (RedmineUP) about 2 years ago
Dear Steffen,
This is Dimitar from the RedmineUP Support Team.
I see that you have some of our plugins on your list:
redmine_agile 1.4.5 redmine_checklists 3.1.10 redmine_contacts 4.1.1 redmine_contacts_helpdesk 3.0.9 redmine_people 1.3.2
So, could you please contact our support team at support@redmineup.com? And our support engineers will help you investigate the situation.
We look forward to hearing from you.
Best Regards,
Dimitar from the RedmineUP Support Team
Steffen Kißlinger wrote:
Environment:
Redmine version 3.4.3.stable
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.10
Git 2.1.4
Filesystem
Redmine plugins:
clipboard_image_paste 1.12
recurring_tasks 2.0.0-pre
redmine_agile 1.4.5
redmine_checklists 3.1.10
redmine_ckeditor 1.1.5
redmine_contacts 4.1.1
redmine_contacts_helpdesk 3.0.9
redmine_editauthor 0.11.0
redmine_lightbox2 0.4.3
redmine_people 1.3.2
redmine_spent_time_in_issue_description 2.8.0
redmine_theme_changer 0.3.1Hi,
we have integrated some Gitlab-Repos in Redmine and it works perfectly except of one Repository.
I checked the log which says:ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8):
8: :locals => { :path => @path, :kind => 'dir', :revision => @rev } ></h2>
9:
10: < if !@entries.nil? && authorize_for('repositories', 'browse') >
11: <= render :partial => 'dir_list' >
12: < end >
13:
14: <= render_properties(@properties) %>
app/views/repositories/show.html.erb:11:in `_app_views_repositories_show_html_erb___59976074369501736_69906913055520'
app/controllers/repositories_controller.rb:97:in `show'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'I checked the whole Repo, if there are any files and folders containing uncommon characters but didnt find any.
What should we do to make that Repository also work?Thank you for your help