# Unable to restore Ignition Demo Project - Gateway fails

**URL:** <https://forum.inductiveautomation.com/t/unable-to-restore-ignition-demo-project-gateway-fails/19323>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [August 20, 2018, 9:31am UTC](https://forum.inductiveautomation.com/t/unable-to-restore-ignition-demo-project-gateway-fails/19323 "2018-08-20T09:31:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [August 20, 2018, 9:31am UTC](https://forum.inductiveautomation.com/t/unable-to-restore-ignition-demo-project-gateway-fails/19323/1 "2018-08-20T09:31:28Z")

</div>

Ubuntu 18.4, Version,  
Ignition 7.9.9

openjdk version “1.8.0\_181”  
OpenJDK Runtime Environment (build 1.8.0\_181-8u181-b13-0ubuntu0.18.04.1-b13)  
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)  
…

alam@alamltubuntu1804:~$ /etc/init.d/ignition start  
Starting Ignition-Gateway…  
Waiting for Ignition-Gateway…  
WARNING: Ignition-Gateway may have failed to start.  
…

If i uninstall Ignition completely and reinstall, GW starts and i can restore any other project. If i try to restore Demo project, GW fails completely. I have attached wrapper.log. Thanks.

[wrapper.log](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/d1ce617b5189a8dbed6220a6b7c093236a15bd53.log) (129.1 KB)

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [August 20, 2018, 2:25pm UTC](https://forum.inductiveautomation.com/t/unable-to-restore-ignition-demo-project-gateway-fails/19323/2 "2018-08-20T14:25:00Z")

</div>

What is likely happening is that the demo gwbk has one garbage collector defined, but the restoration process adds another one. If you restore the demo project, open data/ignition.conf and look for a line containing this:  
-XX:+UseG1GC

Comment out that line in the file using ‘#’ at the front of the line. Then try starting the gateway again. I believe we have a bug report on our side to correct this behavior.

---

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [August 20, 2018, 3:17pm UTC](https://forum.inductiveautomation.com/t/unable-to-restore-ignition-demo-project-gateway-fails/19323/3 "2018-08-20T15:17:30Z")

</div>

> [@mgross](#):
>
> If you restore the demo project, open data/ignition.conf and look for a line containing this:-XX:+UseG1GC

Thanks. I will try that. Meanwhile, i have reverted back to "Version: 7.9.7 (b2018032914)" and everything is back to normal. FYI, the issue is same with 7.9.8 also.

---

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [August 20, 2018, 3:35pm UTC](https://forum.inductiveautomation.com/t/unable-to-restore-ignition-demo-project-gateway-fails/19323/4 "2018-08-20T15:35:04Z")

</div>

> [@mgross](#):
>
> If you restore the demo project, open data/ignition.conf and look for a line containing this:-XX:+UseG1GC.. Comment out that line in the file using '#' at the front of the line.

Works. After restoring demo, i commented out the line and restarted Ignition. Back to normal. Thanks.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 20, 2018, 4:12pm UTC](https://forum.inductiveautomation.com/t/unable-to-restore-ignition-demo-project-gateway-fails/19323/5 "2018-08-20T16:12:59Z")

</div>

This is on my radar to investigate; a fix will likely go into 7.9.10 depending on what the root cause is.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 20, 2018, 6:30pm UTC](https://forum.inductiveautomation.com/t/unable-to-restore-ignition-demo-project-gateway-fails/19323/6 "2018-08-20T18:30:32Z")

</div>

Probably ought to recommend commenting out the _other_ garbage collector. G1GC is superior to all others for Ignition duty.
