• Redmine More Previews 安装后报错,请教原因
    ltyttt  •  9个月前  •  624次点击

    按下面方法安装:

    Install¶
    download plugin and copy plugin folder redmine_more_previews go to Redmine's plugins folder

    go to redmine root folder

    bundle install
    sudo /etc/init.d/apache2 restart

    但重启后打不开首页网址,报错如下:

    哪位知道 是什么原因?弄了2天了,找不到原因。

  • Redminecn Admin 9个月前
    #1

    看下redmine根目录/log/production.log里的错误信息

  • ltyttt 9个月前
    #2

    好像与我的目录有关?我的redmine根目录是/opt/redmine,   

    报错信息中是:/opt/redmine-5.0.1

    我需要怎样修正?

    redmine根目录/log/production.log里的错误信息:

  • ltyttt 9个月前
    #3

    我弄错了,是同一目录,报错信息就是上图那样?请问这是什么原因?

  • Redminecn Admin 9个月前
    #4
    ltyttt #3 回复

    截图不太完整,截取error那部分,warning不用管

  • ltyttt 9个月前
    #5
    W, [2024-01-07T01:05:42.403397 #1421]  WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.
    W, [2024-01-07T01:05:42.603835 #1421]  WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.
    W, [2024-01-07T01:05:42.772387 #1421]  WARN -- : Creating scope :sorted. Overwriting existing method Group.sorted.
    I, [2024-01-07T01:05:44.472814 #1492]  INFO -- : [c3fbc926-d508-49b0-9a5a-8f816c50b504] Started GET "/" for 192.168.3.81 at 2024-01-07 01:05:44 +0000
    I, [2024-01-07T01:05:44.477111 #1492]  INFO -- : [c3fbc926-d508-49b0-9a5a-8f816c50b504] Processing by WelcomeController#index as HTML
    I, [2024-01-07T01:05:44.547650 #1492]  INFO -- : [c3fbc926-d508-49b0-9a5a-8f816c50b504]   Current user: anonymous
    I, [2024-01-07T01:05:44.636067 #1492]  INFO -- : [c3fbc926-d508-49b0-9a5a-8f816c50b504]   Rendered welcome/index.html.erb within layouts/base (Duration: 14.3ms | Allocations: 4910)
    I, [2024-01-07T01:05:44.658756 #1492]  INFO -- : [c3fbc926-d508-49b0-9a5a-8f816c50b504]   Rendered layout layouts/base.html.erb (Duration: 37.1ms | Allocations: 12772)
    I, [2024-01-07T01:05:44.659231 #1492]  INFO -- : [c3fbc926-d508-49b0-9a5a-8f816c50b504] Completed 200 OK in 182ms (Views: 35.1ms | ActiveRecord: 17.0ms | Allocations: 78733)
    I, [2024-01-07T01:05:48.851822 #1492]  INFO -- : [3c01006d-30a6-4996-8566-301ba44e2ca3] Started GET "/login" for 192.168.3.81 at 2024-01-07 01:05:48 +0000
    I, [2024-01-07T01:05:48.852804 #1492]  INFO -- : [3c01006d-30a6-4996-8566-301ba44e2ca3] Processing by AccountController#login as HTML
    I, [2024-01-07T01:05:48.858077 #1492]  INFO -- : [3c01006d-30a6-4996-8566-301ba44e2ca3]   Current user: anonymous
    I, [2024-01-07T01:05:48.864530 #1492]  INFO -- : [3c01006d-30a6-4996-8566-301ba44e2ca3]   Rendered account/login.html.erb within layouts/base (Duration: 3.8ms | Allocations: 1124)
    I, [2024-01-07T01:05:48.871370 #1492]  INFO -- : [3c01006d-30a6-4996-8566-301ba44e2ca3]   Rendered layout layouts/base.html.erb (Duration: 10.7ms | Allocations: 4713)
    I, [2024-01-07T01:05:48.871616 #1492]  INFO -- : [3c01006d-30a6-4996-8566-301ba44e2ca3] Completed 200 OK in 19ms (Views: 10.0ms | ActiveRecord: 2.7ms | Allocations: 5962)
    I, [2024-01-07T01:06:00.429478 #1492]  INFO -- : [ca419637-7db7-4886-ad29-7e9d8a9cb230] Started POST "/login" for 192.168.3.81 at 2024-01-07 01:06:00 +0000
    I, [2024-01-07T01:06:00.430577 #1492]  INFO -- : [ca419637-7db7-4886-ad29-7e9d8a9cb230] Processing by AccountController#login as HTML
    I, [2024-01-07T01:06:00.430684 #1492]  INFO -- : [ca419637-7db7-4886-ad29-7e9d8a9cb230]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"L1+I9UczGc7lDBiQyQAwggnyZTPvBy/hs1dZdE3/suLNsgfBdg84KzX06ub2WrR02wj9VZXLc5RRt28IuEs5OA==", "back_url"=>"/", "username"=>"admin", "password"=>"[FILTERED]", "login"=>"登录"}
    I, [2024-01-07T01:06:00.434031 #1492]  INFO -- : [ca419637-7db7-4886-ad29-7e9d8a9cb230]   Current user: anonymous
    W, [2024-01-07T01:06:00.435355 #1492]  WARN -- : [ca419637-7db7-4886-ad29-7e9d8a9cb230] Failed login for 'admin' from 192.168.3.81 at 2024-01-07 01:06:00 UTC
    I, [2024-01-07T01:06:00.436263 #1492]  INFO -- : [ca419637-7db7-4886-ad29-7e9d8a9cb230]   Rendered account/login.html.erb within layouts/base (Duration: 0.5ms | Allocations: 305)
    I, [2024-01-07T01:06:00.441508 #1492]  INFO -- : [ca419637-7db7-4886-ad29-7e9d8a9cb230]   Rendered layout layouts/base.html.erb (Duration: 5.8ms | Allocations: 3851)
    I, [2024-01-07T01:06:00.441675 #1492]  INFO -- : [ca419637-7db7-4886-ad29-7e9d8a9cb230] Completed 200 OK in 11ms (Views: 5.4ms | ActiveRecord: 1.5ms | Allocations: 5054)
    I, [2024-01-07T01:06:10.015252 #1492]  INFO -- : [c6df9c1b-ce0f-40c8-8362-d537859aa9c8] Started POST "/login" for 192.168.3.81 at 2024-01-07 01:06:10 +0000
    I, [2024-01-07T01:06:10.016507 #1492]  INFO -- : [c6df9c1b-ce0f-40c8-8362-d537859aa9c8] Processing by AccountController#login as HTML
    I, [2024-01-07T01:06:10.016576 #1492]  INFO -- : [c6df9c1b-ce0f-40c8-8362-d537859aa9c8]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"zuyfIym7Pqr/JvTgnDkPKtJfgbjuaeyiH6KNtTYzwBUsARAXGIcfTy/eBpajY4vcAKUZ3pSlsNf9QrvJw4dLzw==", "back_url"=>"/", "username"=>"admin", "password"=>"[FILTERED]", "login"=>"登录"}
    I, [2024-01-07T01:06:10.021452 #1492]  INFO -- : [c6df9c1b-ce0f-40c8-8362-d537859aa9c8]   Current user: anonymous
    W, [2024-01-07T01:06:10.023199 #1492]  WARN -- : [c6df9c1b-ce0f-40c8-8362-d537859aa9c8] Failed login for 'admin' from 192.168.3.81 at 2024-01-07 01:06:10 UTC
    I, [2024-01-07T01:06:10.024580 #1492]  INFO -- : [c6df9c1b-ce0f-40c8-8362-d537859aa9c8]   Rendered account/login.html.erb within layouts/base (Duration: 0.8ms | Allocations: 305)
    I, [2024-01-07T01:06:10.030551 #1492]  INFO -- : [c6df9c1b-ce0f-40c8-8362-d537859aa9c8]   Rendered layout layouts/base.html.erb (Duration: 6.8ms | Allocations: 3851)
    I, [2024-01-07T01:06:10.030718 #1492]  INFO -- : [c6df9c1b-ce0f-40c8-8362-d537859aa9c8] Completed 200 OK in 14ms (Views: 6.4ms | ActiveRecord: 3.1ms | Allocations: 4996)
    I, [2024-01-07T01:06:16.353729 #1492]  INFO -- : [fbf6272b-4867-4e62-8cf1-1b649a285ac7] Started POST "/login" for 192.168.3.81 at 2024-01-07 01:06:16 +0000
    I, [2024-01-07T01:06:16.354875 #1492]  INFO -- : [fbf6272b-4867-4e62-8cf1-1b649a285ac7] Processing by AccountController#login as HTML
    I, [2024-01-07T01:06:16.354974 #1492]  INFO -- : [fbf6272b-4867-4e62-8cf1-1b649a285ac7]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"l2JfB84SvKE4IetkdMhQefVZk9XoIDcQIhJX8mJ5NM91j9Az/y6dROjZGRJLktSPJ6MLs5Lsa2XA8mGOl82/FQ==", "back_url"=>"/", "username"=>"admin", "password"=>"[FILTERED]", "login"=>"登录"}
    I, [2024-01-07T01:06:16.357676 #1492]  INFO -- : [fbf6272b-4867-4e62-8cf1-1b649a285ac7]   Current user: anonymous
    W, [2024-01-07T01:06:16.360514 #1492]  WARN -- : [fbf6272b-4867-4e62-8cf1-1b649a285ac7] Failed login for 'admin' from 192.168.3.81 at 2024-01-07 01:06:16 UTC
    I, [2024-01-07T01:06:16.361522 #1492]  INFO -- : [fbf6272b-4867-4e62-8cf1-1b649a285ac7]   Rendered account/login.html.erb within layouts/base (Duration: 0.5ms | Allocations: 305)
    I, [2024-01-07T01:06:16.367050 #1492]  INFO -- : [fbf6272b-4867-4e62-8cf1-1b649a285ac7]   Rendered layout layouts/base.html.erb (Duration: 6.1ms | Allocations: 3851)
    I, [2024-01-07T01:06:16.367308 #1492]  INFO -- : [fbf6272b-4867-4e62-8cf1-1b649a285ac7] Completed 200 OK in 12ms (Views: 5.8ms | ActiveRecord: 2.0ms | Allocations: 4996)
    I, [2024-01-07T01:07:00.488435 #1492]  INFO -- : [8c4bc4f0-849b-4403-96f6-92d8cd841ca4] Started POST "/login" for 192.168.3.81 at 2024-01-07 01:07:00 +0000
    I, [2024-01-07T01:07:00.489452 #1492]  INFO -- : [8c4bc4f0-849b-4403-96f6-92d8cd841ca4] Processing by AccountController#login as HTML
    I, [2024-01-07T01:07:00.489567 #1492]  INFO -- : [8c4bc4f0-849b-4403-96f6-92d8cd841ca4]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"UlUAiShO+t3g6PvTFAZnQpHAqSkLA6LO9PnTrc92/EewuI+9GXLbODAQCaUrXOO0QzoxT3HP/rsWGeXROsJ3nQ==", "back_url"=>"/", "username"=>"admin", "password"=>"[FILTERED]", "login"=>"登录"}
    I, [2024-01-07T01:07:00.492920 #1492]  INFO -- : [8c4bc4f0-849b-4403-96f6-92d8cd841ca4]   Current user: anonymous
    W, [2024-01-07T01:07:00.493234 #1492]  WARN -- : [8c4bc4f0-849b-4403-96f6-92d8cd841ca4] Failed login for 'admin' from 192.168.3.81 at 2024-01-07 01:07:00 UTC
    I, [2024-01-07T01:07:00.494994 #1492]  INFO -- : [8c4bc4f0-849b-4403-96f6-92d8cd841ca4]   Rendered account/login.html.erb within layouts/base (Duration: 1.1ms | Allocations: 305)
    I, [2024-01-07T01:07:00.506003 #1492]  INFO -- : [8c4bc4f0-849b-4403-96f6-92d8cd841ca4]   Rendered layout layouts/base.html.erb (Duration: 12.1ms | Allocations: 3851)
    I, [2024-01-07T01:07:00.506203 #1492]  INFO -- : [8c4bc4f0-849b-4403-96f6-92d8cd841ca4] Completed 200 OK in 17ms (Views: 10.8ms | ActiveRecord: 2.6ms | Allocations: 4781)
    I, [2024-01-07T01:10:01.853664 #1492]  INFO -- : [83241cd4-6b7c-4678-8878-06e24b0e3204] Started GET "/sys/projects.json?key=1f92d67c5bdfded11a6f095e47d2e354" for 127.0.0.1 at 2024-01-07 01:10:01 +0000
    I, [2024-01-07T01:10:01.854350 #1492]  INFO -- : [83241cd4-6b7c-4678-8878-06e24b0e3204] Processing by SysController#projects as JSON
    I, [2024-01-07T01:10:01.854390 #1492]  INFO -- : [83241cd4-6b7c-4678-8878-06e24b0e3204]   Parameters: {"key"=>"1f92d67c5bdfded11a6f095e47d2e354"}
    I, [2024-01-07T01:10:01.886846 #1492]  INFO -- : [83241cd4-6b7c-4678-8878-06e24b0e3204] Completed 200 OK in 32ms (Views: 0.2ms | ActiveRecord: 2.1ms | Allocations: 23164)
    I, [2024-01-07T01:10:11.997534 #1492]  INFO -- : [4e2956bf-a639-4b34-8c29-f919bde2f8b6] Started POST "/login" for 192.168.3.81 at 2024-01-07 01:10:11 +0000
    I, [2024-01-07T01:10:11.998754 #1492]  INFO -- : [4e2956bf-a639-4b34-8c29-f919bde2f8b6] Processing by AccountController#login as HTML
    I, [2024-01-07T01:10:11.998869 #1492]  INFO -- : [4e2956bf-a639-4b34-8c29-f919bde2f8b6]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"5IBZkTk0cPUgAnrPbSEB8J/qJBys+Jey/igO0DS/flEGbdalCAhREPD6iLlSe4UGTRC8etY0y8ccyDiswQv1iw==", "back_url"=>"/", "username"=>"admin", "password"=>"[FILTERED]", "login"=>"登录"}
    I, [2024-01-07T01:10:12.003498 #1492]  INFO -- : [4e2956bf-a639-4b34-8c29-f919bde2f8b6]   Current user: anonymous
    W, [2024-01-07T01:10:12.005412 #1492]  WARN -- : [4e2956bf-a639-4b34-8c29-f919bde2f8b6] Failed login for 'admin' from 192.168.3.81 at 2024-01-07 01:10:12 UTC
    I, [2024-01-07T01:10:12.006494 #1492]  INFO -- : [4e2956bf-a639-4b34-8c29-f919bde2f8b6]   Rendered account/login.html.erb within layouts/base (Duration: 0.6ms | Allocations: 305)
    I, [2024-01-07T01:10:12.016981 #1492]  INFO -- : [4e2956bf-a639-4b34-8c29-f919bde2f8b6]   Rendered layout layouts/base.html.erb (Duration: 11.1ms | Allocations: 3851)
    I, [2024-01-07T01:10:12.017232 #1492]  INFO -- : [4e2956bf-a639-4b34-8c29-f919bde2f8b6] Completed 200 OK in 18ms (Views: 10.3ms | ActiveRecord: 2.7ms | Allocations: 4996)
    I, [2024-01-07T01:10:25.971206 #1492]  INFO -- : [041606d7-a31f-4046-a6c5-88bc8f43d746] Started POST "/login" for 192.168.3.81 at 2024-01-07 01:10:25 +0000
    I, [2024-01-07T01:10:25.972973 #1492]  INFO -- : [041606d7-a31f-4046-a6c5-88bc8f43d746] Processing by AccountController#login as HTML
    I, [2024-01-07T01:10:25.973052 #1492]  INFO -- : [041606d7-a31f-4046-a6c5-88bc8f43d746]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"2ItL9nhIYDTzg3tjTF/GypWKjl3zYVJIxiJEYmYpmEE6ZsTCSXRB0SN7iRVzBUI8R3AWO4mtDj0kwnIek50Tmw==", "back_url"=>"/", "username"=>"admin", "password"=>"[FILTERED]", "login"=>"登录"}
    I, [2024-01-07T01:10:25.977740 #1492]  INFO -- : [041606d7-a31f-4046-a6c5-88bc8f43d746]   Current user: anonymous
    I, [2024-01-07T01:10:26.000104 #1492]  INFO -- : [041606d7-a31f-4046-a6c5-88bc8f43d746] Successful authentication for 'admin' from 192.168.3.81 at 2024-01-07 01:10:26 UTC
    I, [2024-01-07T01:10:26.017141 #1492]  INFO -- : [041606d7-a31f-4046-a6c5-88bc8f43d746] Redirected to http://192.168.3.91/
    I, [2024-01-07T01:10:26.017288 #1492]  INFO -- : [041606d7-a31f-4046-a6c5-88bc8f43d746] Completed 302 Found in 44ms (ActiveRecord: 26.0ms | Allocations: 6743)
    I, [2024-01-07T01:10:26.023757 #1492]  INFO -- : [d1aa6e0c-6bf8-4129-aebf-16d9f7a2cf33] Started GET "/" for 192.168.3.81 at 2024-01-07 01:10:26 +0000
    I, [2024-01-07T01:10:26.024367 #1492]  INFO -- : [d1aa6e0c-6bf8-4129-aebf-16d9f7a2cf33] Processing by WelcomeController#index as HTML
    I, [2024-01-07T01:10:26.027955 #1492]  INFO -- : [d1aa6e0c-6bf8-4129-aebf-16d9f7a2cf33]   Current user: admin (id=1)
    I, [2024-01-07T01:10:26.042752 #1492]  INFO -- : [d1aa6e0c-6bf8-4129-aebf-16d9f7a2cf33]   Rendered welcome/index.html.erb within layouts/base (Duration: 9.6ms | Allocations: 2281)
    I, [2024-01-07T01:10:26.054012 #1492]  INFO -- : [d1aa6e0c-6bf8-4129-aebf-16d9f7a2cf33]   Rendered layout layouts/base.html.erb (Duration: 20.9ms | Allocations: 6941)
    I, [2024-01-07T01:10:26.054214 #1492]  INFO -- : [d1aa6e0c-6bf8-4129-aebf-16d9f7a2cf33] Completed 200 OK in 30ms (Views: 13.2ms | ActiveRecord: 9.6ms | Allocations: 8916)
    I, [2024-01-07T01:20:55.485320 #4701]  INFO -- : RedmineMorePreviews: scanning plugins
    I, [2024-01-07T01:20:55.485390 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/cliff
    I, [2024-01-07T01:20:55.485404 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/libre
    I, [2024-01-07T01:20:55.485413 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/maggie
    I, [2024-01-07T01:20:55.485429 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/mark
    I, [2024-01-07T01:20:55.485437 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/nil_text
    I, [2024-01-07T01:20:55.485445 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/pass
    I, [2024-01-07T01:20:55.485453 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/peek
    I, [2024-01-07T01:20:55.485460 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/teddie
    I, [2024-01-07T01:20:55.485468 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/vince
    I, [2024-01-07T01:20:55.485475 #4701]  INFO -- : /var/www/redmine/plugins/redmine_more_previews/converters/zippy
    W, [2024-01-07T01:20:55.561484 #4701]  WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.
    W, [2024-01-07T01:20:55.747448 #4701]  WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.
    W, [2024-01-07T01:20:55.806607 #4701]  WARN -- : Creating scope :sorted. Overwriting existing method Group.sorted.
    
  • ltyttt 9个月前
    #6

    这就是装完系统,到装这插件后,的完整日志文件内容,没有报错的信息,只有WARN

  • ltyttt 9个月前
    #7

    找到原因了,是插件文件中全部的“pt-br.yml”改为“pt-BR.yml”,就可。

    only load translations for "pt-br". Found translations for: [:"pt-BR"].

  • yangbo 9个月前
    #8

    你是什么操作系统,我在WIN上使用bitnami,即便安装了LibreOffice,但系统不认,有叹号~

  • ltyttt 9个月前
    #9
  • 为 Redmine 爱好者打造的知识社区,其中包含 Redmine 插件资源、使用交流、二次开发、插件安装、配置优化等
    已注册用户请 登录
  • 参与人
© 2023 Redminecn.com 版权所有

辽ICP备18016669号-2

粤公网安备 44030602007921号