Closed sridhardubbaka closed 8 years ago
Note: I am using the code from master branch I am using ruby 2.3.0p0
Which version of Sphinx are you using? Try Sphinx 2.0.4.
I have the same problem with both mysql 5.5 and postgresql 9.3.14. Tried sphinx versions 3.2.0 and 2.0.4, no luck.
I have the same problem and this is not a Sphinx related problem. The same problem appears on bundle exec rake db:schema:load this is one step before Sphinx installation.
Error on bundle exec rake db:schema:load: ActiveRecord::StatementInvalid: Mysql2::Error: BLOB/TEXT column 'settings' can't have a default value.
I tried to change 'sql-mode' of my MySQL-Server (tried every recommended mode) but no luck.
The right way is may be to change the rake DB-schema configs on VISH. Because it's MySQL related problem and MySQL-server obviously doesn't support default values on BLOB/TEXT columns.
Hi,
I am trying to install VISH. I faced below 2 issues:
initialize' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/arel-3.0.3/lib/arel.rb:40:in
new' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/arel-3.0.3/lib/arel.rb:40:insql' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/associations/join_helper.rb:47:in
block in sanitize' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/associations/join_helper.rb:45:inmap' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/associations/join_helper.rb:45:in
sanitize' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/associations/join_dependency/join_association.rb:104:inblock in join_to' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/associations/join_dependency/join_association.rb:74:in
each' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/associations/join_dependency/join_association.rb:74:ineach_with_index' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/associations/join_dependency/join_association.rb:74:in
join_to' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/relation/query_methods.rb:370:inblock in build_joins' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/relation/query_methods.rb:369:in
each' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/relation/query_methods.rb:369:inbuild_joins' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/relation/query_methods.rb:266:in
build_arel' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/relation/query_methods.rb:260:inarel' /home/sridhar/.rvm/gems/ruby-2.3.0/bundler/gems/rails-54ebd0aea2e6/activerecord/lib/active_record/relation.rb:459:in
to_sql' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/source/sql.rb:29:into_sql' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/source.rb:117:in
set_source_sql' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/source.rb:46:into_riddle_for_core' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/index.rb:115:in
block in to_riddle_for_core' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/index.rb:114:ineach' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/index.rb:114:in
each_with_index' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/index.rb:114:into_riddle_for_core' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/index.rb:84:in
to_riddle' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/active_record.rb:253:inblock in to_riddle' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/active_record.rb:252:in
collect' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/active_record.rb:252:into_riddle' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/configuration.rb:162:in
block in generate' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/configuration.rb:159:ineach' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/configuration.rb:159:in
generate' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/configuration.rb:175:inbuild' /home/sridhar/.rvm/gems/ruby-2.3.0/gems/thinking-sphinx-2.0.14/lib/thinking_sphinx/tasks.rb:88:in
block (2 levels) in <top (required)>' /home/sridhar/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:ineval' /home/sridhar/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in
Pls help in resolving this issue