# App Search Installation Issue

**URL:** <https://discuss.elastic.co/t/app-search-installation-issue/251356>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [October 8, 2020, 12:37am UTC](https://discuss.elastic.co/t/app-search-installation-issue/251356 "2020-10-08T00:37:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kksandesh](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@kksandesh](https://discuss.elastic.co/u/kksandesh)\
**Post date:** [October 8, 2020, 12:37am UTC](https://discuss.elastic.co/t/app-search-installation-issue/251356/1 "2020-10-08T00:37:13Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [October 20, 2020, 3:35pm UTC](https://discuss.elastic.co/t/app-search-installation-issue/251356/2 "2020-10-20T15:35:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [October 20, 2020, 3:36pm UTC](https://discuss.elastic.co/t/app-search-installation-issue/251356/3 "2020-10-20T15:36:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [October 20, 2020, 3:38pm UTC](https://discuss.elastic.co/t/app-search-installation-issue/251356/4 "2020-10-20T15:38:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 17, 2020, 3:38pm UTC](https://discuss.elastic.co/t/app-search-installation-issue/251356/5 "2020-11-17T15:38:11Z")

</div>

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