# Gateway Won't Start After Upgrade

**URL:** <https://forum.inductiveautomation.com/t/gateway-wont-start-after-upgrade/76887>\
**Category:** Ignition\
**Created:** [July 25, 2023, 5:00pm UTC](https://forum.inductiveautomation.com/t/gateway-wont-start-after-upgrade/76887 "2023-07-25T17:00:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [July 25, 2023, 5:00pm UTC](https://forum.inductiveautomation.com/t/gateway-wont-start-after-upgrade/76887/1 "2023-07-25T17:00:12Z")

</div>

I'm dealing with this issue on a system where we were having problems moving a project from 7.3 to 8.1.x. Support was able to create a backup for us and we restored to a new server running 8.1.30 (new server to test before commissioning).

I restored everything disabled and was systematically testing each component. The database connection wasn't working because of TLS so I adjusted a config file to disable TLS and tried to restart the Ignition service. It won't start now.

I tried the step outlined in this thread of deleting jre-win and letting the it rebuild jre-win and it is not working.

I'm interested in any ideas you may have.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 25, 2023, 5:01pm UTC](https://forum.inductiveautomation.com/t/gateway-wont-start-after-upgrade/76887/2 "2023-07-25T17:01:18Z")

</div>

Upload your wrapper logs.

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [July 25, 2023, 5:02pm UTC](https://forum.inductiveautomation.com/t/gateway-wont-start-after-upgrade/76887/3 "2023-07-25T17:02:11Z")

</div>

[wrapper.log](https://forum.inductiveautomation.com/uploads/short-url/hvJydWstAX4kQ3ZNYNgrjeELXAw.log) (135.0 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 25, 2023, 5:02pm UTC](https://forum.inductiveautomation.com/t/gateway-wont-start-after-upgrade/76887/4 "2023-07-25T17:02:46Z")

</div>

Seems like you have a different issue:

```auto
FATAL | wrapper | 2023/07/25 12:42:45 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2023/07/25 12:42:45 | "%JAVA_HOME%\bin\java" -version
ADVICE | wrapper | 2023/07/25 12:42:45 | 

```

upload your ignition.conf file?

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [July 25, 2023, 5:06pm UTC](https://forum.inductiveautomation.com/t/gateway-wont-start-after-upgrade/76887/5 "2023-07-25T17:06:44Z")

</div>

[ignition.conf.txt](https://forum.inductiveautomation.com/uploads/short-url/8QMY2U4IknnRN3u6d7CdsghkVAu.txt) (5.1 KB)  
Sorry for the delay. Had to VPN back in .

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 25, 2023, 5:09pm UTC](https://forum.inductiveautomation.com/t/gateway-wont-start-after-upgrade/76887/6 "2023-07-25T17:09:49Z")

</div>

Add this line above the `wrapper.java.command` line:

```auto
set.JAVA_HOME=lib/runtime/jre-win

```

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [July 25, 2023, 5:11pm UTC](https://forum.inductiveautomation.com/t/gateway-wont-start-after-upgrade/76887/7 "2023-07-25T17:11:11Z")

</div>

> [@Kevin.Herron](#):
>
> `set.JAVA_HOME=lib/runtime/jre-win`

Perfect. Started right up!

Thank you
