App Search Installation Issue

I installed app search 7.6 version to remain compatible with my Elasticsearch version (7.6) But when i run the app search i am seeing the below error. Can you provide solution for fixing this issue.

Found java executable in PATH

Java version: 1.8.0_92

App Search is starting...

scripting container class loader urls: [file:/tmp/jruby2474383658770449083extract/lib/jruby-stdlib-9.2.9.0.jar, file:/tmp/jruby2474383658770449083extract/lib/jetty-util.jar, file:/tmp/jruby2474383658770449083extract/lib/jruby-rack-1.1.21.jar, file:/tmp/jruby2474383658770449083extract/lib/jetty-servlets.jar, file:/tmp/jruby2474383658770449083extract/lib/jruby-core-9.2.9.0-complete.jar, file:/tmp/jruby2474383658770449083extract/lib/jruby-rack-worker_0.14.1.jar]

setting GEM_HOME to /tmp/jruby2474383658770449083extract/gems

... and BUNDLE_GEMFILE to /tmp/jruby2474383658770449083extract/Gemfile

loading resource: /tmp/jruby2474383658770449083extract/./META-INF/rails.rb

invoking /tmp/jruby2474383658770449083extract/./META-INF/rails.rb with: [runner, LocoTogo.start_app_server!]

[2020-10-07T23:26:29.304+00:00][6731][2002][app-server][INFO]: Successfully connected to Elasticsearch

[2020-10-07T23:26:29.446+00:00][6731][2002][app-server][INFO]: App Search version=7.6.0, JRuby version=9.2.9.0, Ruby version=2.5.7, Rails version=4.2.11.1

[2020-10-07T23:26:32.679+00:00][6731][2002][app-server][DEBUG]: Loading application configs...

[2020-10-07T23:26:32.681+00:00][6731][2002][app-server][DEBUG]: Loading config file: /tmp/jruby2474383658770449083extract/config/config.common.yml

[2020-10-07T23:26:32.770+00:00][6731][2002][app-server][DEBUG]: Loading config file: /tmp/jruby2474383658770449083extract/config/config.loco_togo.yml

[2020-10-07T23:26:32.842+00:00][6731][2002][app-server][DEBUG]: Configuration loaded for Rails environment 'loco_togo_production'!

[2020-10-07T23:26:40.143+00:00][6731][2002][app-server][INFO]: Loaded a new read-only flag value from Elasticsearch: true


[2020-10-07T23:26:40.281+00:00][6731][2002][app-server][ERROR]:

Error: The application is in read-only mode, but it looks like we need to perform some installation/upgrade steps.

If you want to perform the migration, please remove the read-only flag and that the application again.


ERROR: org.jruby.exceptions.SystemExit: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:751)
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:714)
at RUBY.fatal_error(/tmp/jruby2474383658770449083extract/shared_togo/lib/shared_togo.class:815)
at RUBY.install!(/tmp/jruby2474383658770449083extract/shared_togo/lib/shared_togo.class:284)

Are you updating from 7.5? If so, what instructions did you follow to upgrade?

This appears to walk through some various upgrade options: https://www.elastic.co/blog/how-to-upgrade-elastic-app-search

Instructions for removing read-only mode are here: https://swiftype.com/documentation/app-search/self-managed/read-only-mode

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.