2016-04-12 56 views
0

我每次检查“记住我”身份验证时都会出现此错误。 可能是什么问题? 谢谢Sonarqube SQLServer错误

大教堂

2016.04.12 18:49:27 ERROR web[o.s.s.ui.JRubyFacade] Fail to render: http://cerbere:9001/sessions/login 
ActiveRecord::JDBCError: La conversion d'un type de donn?es varchar en type de donn?es datetime a cr?? une valeur hors limites.: UPDATE [users] SET [remember_token_expires_at] = '2016-04-26 16:49:26', [remember_token] = N'4fa37dcb929dce851bb153cebc204bc300518d14', [updated_at] = 1460479767007 WHERE [id] = N'2' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract_adapter.rb:227:in `log' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract_adapter.rb:212:in `log' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-jdbc-adapter-1.1.3/lib/arjdbc/jdbc/adapter.rb:183:in `execute' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-jdbc-adapter-1.1.3/lib/arjdbc/jdbc/adapter.rb:199:in `jdbc_update' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/query_cache.rb:26:in `update_with_query_dirty' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/base.rb:2946:in `update' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/locking/optimistic.rb:81:in `update_with_lock' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/dirty.rb:146:in `update_with_dirty' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/timestamp.rb:64:in `update_with_timestamps' 
/opt/sonar/sonarqube-5.4/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/callbacks.rb:282:in `update_with_callbacks' 
+0

你的版本? –

+0

什么是MySQL列的类型USERS.REMEMBER_TOKEN_EXPIRES_AT和USERS.UPDATED_AT?此外,什么是MySQL的版本? –

+0

我设法解决这个问题。我的版本声纳是5.4。 – Dominique

回答

0

问题是在soanrqube 5.4。这是由于我的sqlserver用户语言不是英语。 我再次阅读sonarqube安装文档,并且不太清楚MS SQLServer应该怎么做。