Easy Gantt が起動しない

3,177 views
Skip to first unread message

Ishikawa

unread,
Jun 21, 2018, 5:20:33 AM6/21/18
to Redmine Users (japanese)
はじめまして。石川と申します。

Redmineを使用してみたいと思い、Windows7のPCにBitnamiをインストールしました。
プラグインとしてEasy Gantt が便利そうだと思い、インストールしてみました。
Redmineが起動しなくなったり色々とトラブルを乗り越えて何とかRedmineが起動する
様にはなったのですが、ガントチャートを選択すると「Internal error」と表示される様に
なってしまいました。
ログを見ると、下記の様に記載されています。

ActionView::Template::Error (Mysql2::Error: Table 'bitnami_redmine.easy_settings' doesn't exist: SHOW FULL FIELDS FROM `easy_settings`):
    30:             'dhtml_modif',
    31:             'dhtml_addons',
    32:             'dhtml_rewrite',
    33:             ('dhtml_relations' if EasySetting.value(:easy_gantt_fixed_delay)),
    34:             'background',
    35:             'pro_manager',
    36:             'storage',
  plugins/easy_gantt/app/views/easy_gantt/_includes.html.erb:33:in `block in _plugins_easy_gantt_app_views_easy_gantt__includes_html_erb__1073002024_78089520'
  plugins/easy_gantt/app/views/easy_gantt/_includes.html.erb:11:in `_plugins_easy_gantt_app_views_easy_gantt__includes_html_erb__1073002024_78089520'
  plugins/easy_gantt/app/views/easy_gantt/index.html.erb:100:in `_plugins_easy_gantt_app_views_easy_gantt_index_html_erb__206292190_77692644'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

あまり知識が無いので、ここからどうすれば良いのか判りません。
あきらめてBitnamiを再インストールするしか無いのでしょうか・・・

どなたかお知恵をお借りできますと幸いです。

TAKAHASHI,Toru

unread,
Jun 22, 2018, 1:26:39 PM6/22/18
to redmine-...@googlegroups.com
こんにちは、石川さん
高橋と申します。

Easy GanttプラグインのWebページ(次のURL)にある
Easy Ganttのインストール手順は実施されましたでしょうか?
https://www.easyredmine.com/redmine-gantt-plugin

("Installation & upgrades of Redmine Easy Gantt Plugins"
の節に記載されている手順です)

エラーメッセージには、データベース上にテーブルeasy_settingsが存在しない
とあるので、Easy Ganttプラグインをインストールする過程でデータベース上
にテーブルを生成する次の手順が正常に実行されていない可能性があります。

bundle exec rake db:migrate RAILS_ENV=production

手元の環境で、Easy Ganttをpluginディレクトリに展開し、db:migrateを実行
せずにRedmineを実行したところ、次のエラーを確認できました。
(WEBrick、SQLiteで実行しているのでエラーログの表現に違いがありますが
エラー箇所と内容は同じものが再現できたかと思います)

Completed 500 Internal Server Error in 213ms (ActiveRecord: 62.0ms)

ActionView::Template::Error (Could not find table 'easy_settings'):
30: 'dhtml_modif',
31: 'dhtml_addons',
32: 'dhtml_rewrite',
33: ('dhtml_relations' if
EasySetting.value(:easy_gantt_fixed_delay)),
34: 'background',
35: 'pro_manager',
36: 'storage',
plugins/easy_gantt/app/views/easy_gantt/_includes.html.erb:33:in
`block in
_plugins_easy_gantt_app_views_easy_gantt__includes_html_erb__2469512860835042484_70238799205400'

Ishikawa

unread,
Jun 24, 2018, 8:20:02 PM6/24/18
to Redmine Users (japanese)
こんにちは、高橋さん

ご返信ありがとうございます。
bundle exec rake db:migrate RAILS_ENV=production
は実行しました。

が、高橋さんから御指摘をいただきまして念のため再実行してみたところ
よく見たらエラーが出ていました。
001_setup.rbの291行目で全角文字が使用されている、とのメッセージでしたので
よく見てみましたところ、アドミニストレータのアカウントを漢字にしてしまって
おりました。
ここを変更する方法を調べるより、Bitnamiを再インストールした方が早そうなので
再インストールして確認してみます。
(まだRedmineを正式運用開始しておりませんでしたので、あまり沢山のデータは
入れておりませんでした。今なら手戻りは少なそうでしたので)

結果は改めて報告いたします。

Ishikawa

unread,
Jun 25, 2018, 7:45:04 PM6/25/18
to Redmine Users (japanese)
こんにちは、高橋さん

あの後、アドミニストレータのアカウントを漢字表記をやめて再インストール
したところ、正常にEasyGanttを使用できる様になりました。

初歩的なミスでお騒がせしました。
これから色々と使ってみます。

ありがとうございました。
Reply all
Reply to author
Forward
0 new messages