Redmine:500 Internal Server Error
Redmineでリポジトリの画面を表示したら、「 500 Internal Server Error 」が表示されたと連絡がきました。その他のプロジェクトのリポジトリのページは問題なく表示される状況でした。
■ Redmineのログの場所
/opt/alminium/log/production.log
■ エラー内容
Started GET "/projects/***/repository" for ***** at 2016-10-03 09:54:59 +0900
Processing by RepositoriesController#show as HTML
Parameters: {"id"=>"***"}
Current user: ***
:
Completed 500 Internal Server Error in 821ms
ActionView::Template::Error (incompatible character encodings: UTF-8 and ASCII-8BIT):
<% end -%>
<% if !@repository.tags.nil? && @repository.tags.length > 0 -%>
<省略>
タグに日本語が含まれてるとエラーが発生するようです。
タグ名を置換することで問題なくページが表示されました。