# All changes were gone after server reboot

**URL:** <https://forum.ansible.com/t/all-changes-were-gone-after-server-reboot/25523>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 19, 2017, 8:45am UTC](https://forum.ansible.com/t/all-changes-were-gone-after-server-reboot/25523 "2017-09-19T08:45:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Ross\_Tasipit](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@John\_Ross\_Tasipit](https://forum.ansible.com/u/John_Ross_Tasipit)\
**Post date:** [September 19, 2017, 8:45am UTC](https://forum.ansible.com/t/all-changes-were-gone-after-server-reboot/25523/1 "2017-09-19T08:45:06Z")

</div>

I have fresh installed Ansible AWX and downloaded projects from git using SCM. I have created users, templates and inventories as well. But after I reboot the server everything was gone? I have started all docker images and access the AWX GUI but all my changes was reset. Is there any tasks I need to do to make those changes persistent?

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [September 19, 2017, 11:31am UTC](https://forum.ansible.com/t/all-changes-were-gone-after-server-reboot/25523/2 "2017-09-19T11:31:32Z")

</div>

If you did a standalone docker install it will have created a persistent directory to store data in for the postgres container. That defaults to /tmp/pgdocker. If your /tmp is cleared on reboot then you will indeed lose data after a reboot. I’d recommend moving that to another location and/or making sure you backup your data.

---

<div class="post-metadata">

**Author:** ![John\_Ross\_Tasipit](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@John\_Ross\_Tasipit](https://forum.ansible.com/u/John_Ross_Tasipit)\
**Post date:** [September 20, 2017, 2:23am UTC](https://forum.ansible.com/t/all-changes-were-gone-after-server-reboot/25523/3 "2017-09-20T02:23:52Z")

</div>

Can I change the default dir to not use /tmp/pgdocker after I have installed the standalone docker? What configuration path should I edit?

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [September 20, 2017, 12:31pm UTC](https://forum.ansible.com/t/all-changes-were-gone-after-server-reboot/25523/4 "2017-09-20T12:31:17Z")

</div>

You can, it’s in the inventory file… please read through the install documentation: [https://github.com/ansible/awx/blob/devel/INSTALL.md#inventory-variables](https://github.com/ansible/awx/blob/devel/INSTALL.md#inventory-variables)

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [September 20, 2017, 1:31pm UTC](https://forum.ansible.com/t/all-changes-were-gone-after-server-reboot/25523/5 "2017-09-20T13:31:34Z")

</div>

We configure the postgres container using an environment variable… so alternatively you can change the configuration of the running container if that will work.

Or move the directory to where you want it to be, remove the existing containers, and re-install pointing at that directory. It will preserve your data.
