個人設定がInternal errorが出て表示されない

6,013 views
Skip to first unread message

鈴木弥

unread,
Oct 19, 2014, 8:57:11 AM10/19/14
to redmine-...@googlegroups.com

お世話になります。redmine2.5.2にバージョンアップしたところ下記のエラーが出て、個人設定に入れません。

バージョンアップ中になにかしたのでしょうか?


OSはCentOS5.11

DBはMySQL5.5

です。

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.


Kenichi Kosugi

unread,
Oct 19, 2014, 9:22:43 AM10/19/14
to redmine-...@googlegroups.com
 こんばんは。

(2014/10/19 21:57), 鈴木弥 wrote:

> お世話になります。redmine2.5.2にバージョンアップしたところ下記のエラー
> が出て、個人設定に入れません。
>
> バージョンアップ中になにかしたのでしょうか?

 「何をしたか」はわかりませんが、

> If you are the Redmine administrator, check your log files for details
> about the error.

Web サーバーのエラーログファイルに情報が有りそうですね。アクセス時に、ど
んなログが書き出されるでしょうか?



前田 剛

unread,
Oct 19, 2014, 10:02:54 AM10/19/14
to redmine-...@googlegroups.com
前田といいます。


2014年10月19日 21:57 鈴木弥 <hisa.m...@gmail.com>:
> お世話になります。redmine2.5.2にバージョンアップしたところ下記のエラーが出て、個人設定に入れません。
>
> バージョンアップ中になにかしたのでしょうか?


Redmineのインストールディレクトリで以下を実行してみてください。

bundle exec rake tmp:clear


以前同様の現象を見たことがあって、そのときは tmp/cache 以下にある
旧バージョンのテンポラリファイルを読み込もうとしてエラーになって
いました。



--
// 前田 剛 <ma...@farend.jp>
// ファーエンドテクノロジー株式会社 http://www.farend.co.jp/
//
// 〒690-0003 島根県松江市朝日町498番地 松江センタービル
// phone: 0852-21-0460 fax: 0852-33-7275

鈴木弥

unread,
Oct 19, 2014, 7:32:12 PM10/19/14
to redmine-...@googlegroups.com
けん様
前田様

返信ありがとうございます。
まず、前田様のご指摘のコマンドをやってみましたが、ダメでした。

エラーログには以下のようになっています。

App 23489 stderr: ActionView::Template::Error (Permission denied - /var/lib/redmine-2.5.2/tmp/cache/900):
App 23489 stderr: 17: <p><%= f.text_field :lastname, :required => true %></p>
App 23489 stderr: 18: <p><%= f.text_field :mail, :required => true %></p>
App 23489 stderr: 19: <% unless @user.force_default_language? %>
App 23489 stderr: 20: <p><%= f.select :language, lang_options_for_select %></p>
App 23489 stderr: 21: <% end %>
App 23489 stderr: 22: <% if Setting.openid? %>
App 23489 stderr: 23: <p><%= f.text_field :identity_url %></p>
App 23489 stderr: lib/redmine/i18n.rb:95:in `languages_options'
App 23489 stderr: app/helpers/application_helper.rb:1028:in `lang_options_for_select'
App 23489 stderr: app/views/my/account.html.erb:20:in `block in _app_views_my_account_html_erb__960329808_105940190'
App 23489 stderr: app/helpers/application_helper.rb:1043:in `labelled_form_for'
App 23489 stderr: app/views/my/account.html.erb:9:in `_app_views_my_account_html_erb__960329808_105940190'
App 23489 stderr:
App 23489 stderr:

調べたところ、バージョンアップ前の2.5.1でもみれないようです。
これもバージョンアップをしていますので、どこの段階で見れなくなったのかは不明です。

よろしくお願いします。

鈴木弥

unread,
Oct 19, 2014, 9:06:47 PM10/19/14
to redmine-...@googlegroups.com
自己レスです。

エラーログを見ていて、パーミッションエラーと出ていたので、redmineのディレクトリの所有権を確認したら1000になっていましたので、これをapache:apacheに変更しました。

そしてhttpdを再起動したらアクセスできるようになりました。
ありがとうございました。

Reply all
Reply to author
Forward
0 new messages