Homeland homeland 用户上传打赏图片时报错

sessionstop · 2018年05月01日 · 最后由 sessionstop 回复于 2018年05月04日 · 2 次阅读

各位有遇到过吗?使用tailf log/homeland-error.log查看,没有报错日志。

共收到 4 条回复

看管理后台,有异常记录

huacnlee 回复

谢谢大佬的回复。我看了下,报如下错误: # Did you mean? each_pair>

/var/www/homeland/app/controllers/settings_controller.rb:92:in `update_reward'
/var/www/homeland/app/controllers/settings_controller.rb:30:in `update'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/abstract_controller/base.rb:194:in `process_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_controller/metal/rendering.rb:30:in `process_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/callbacks.rb:132:in `run_callbacks'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/abstract_controller/callbacks.rb:41:in `process_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_controller/metal/rescue.rb:22:in `process_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/notifications.rb:168:in `block in instrument'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/notifications.rb:168:in `instrument'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0.rc1/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/abstract_controller/base.rb:134:in `process'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionview-5.2.0.rc1/lib/action_view/rendering.rb:32:in `process'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_controller/metal.rb:191:in `dispatch'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_controller/metal.rb:252:in `dispatch'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/routing/route_set.rb:34:in `serve'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/journey/router.rb:52:in `block in serve'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/journey/router.rb:35:in `each'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/journey/router.rb:35:in `serve'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/routing/route_set.rb:840:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/omniauth-1.7.1/lib/omniauth/strategy.rb:190:in `call!'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/omniauth-1.7.1/lib/omniauth/strategy.rb:168:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/http_accept_language-2.1.1/lib/http_accept_language/middleware.rb:14:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-attack-5.0.1/lib/rack/attack.rb:147:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/exception_notification-4.2.2/lib/exception_notification/rack.rb:41:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/tempfile_reaper.rb:15:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/etag.rb:25:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/conditional_get.rb:38:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/head.rb:12:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/session/abstract/id.rb:232:in `context'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/session/abstract/id.rb:226:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/middleware/cookies.rb:663:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/callbacks.rb:98:in `run_callbacks'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0.rc1/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0.rc1/lib/rails/rack/logger.rb:26:in `block in call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/tagged_logging.rb:71:in `block in tagged'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/tagged_logging.rb:28:in `tagged'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/tagged_logging.rb:71:in `tagged'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0.rc1/lib/rails/rack/logger.rb:26:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/method_override.rb:22:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/runtime.rb:22:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0.rc1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/middleware/executor.rb:14:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-2.0.4/lib/rack/sendfile.rb:111:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/actionpack-5.2.0.rc1/lib/action_dispatch/middleware/ssl.rb:73:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/rack-utf8_sanitizer-1.3.2/lib/rack/utf8_sanitizer.rb:19:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0.rc1/lib/rails/engine.rb:524:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/puma-3.10.0/lib/puma/configuration.rb:225:in `call'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/puma-3.10.0/lib/puma/server.rb:605:in `handle_request'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/puma-3.10.0/lib/puma/server.rb:437:in `process_client'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/puma-3.10.0/lib/puma/server.rb:301:in `block in run'
/var/www/homeland/vendor/bundle/ruby/2.5.0/gems/puma-3.10.0/lib/puma/thread_pool.rb:120:in `block in spawn_thread'

我使用的版本:

  • Ruby: 2.5.0-p0
  • Rails: 5.2.0.rc1
  • Homeland: 3.0.11
sessionstop 回复

新版本已经修复,你可以尝试部署 homeland/homeland:latest

huacnlee 回复

好的,感谢!

huacnlee 关闭了讨论 05月09日 10:42
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册