# Repository keeps reverting back to a previous state

**URL:** <https://community.bloomreach.com/t/repository-keeps-reverting-back-to-a-previous-state/3206>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [May 27, 2022, 10:59am UTC](https://community.bloomreach.com/t/repository-keeps-reverting-back-to-a-previous-state/3206 "2022-05-27T10:59:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Georgi\_Andonov](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/georgi_andonov/32/1262_2.png) [@Georgi\_Andonov](https://community.bloomreach.com/u/Georgi_Andonov)\
**Post date:** [May 27, 2022, 10:59am UTC](https://community.bloomreach.com/t/repository-keeps-reverting-back-to-a-previous-state/3206/1 "2022-05-27T10:59:05Z")

</div>

Hello! I have a problem with a project I am working on. I use a cloud instance of a MySQL database to store my content and repository in order for other people from my team to be able to access it as well. It was working pretty well for quite some time, however, recently the repository somehow reset to a previous version (which is about 2 months old) and it keeps resetting to that state when we try to write changes through the console. Does anyone have any idea what might cause this issue?

---

<div class="post-metadata">

**Author:** ![omm](https://avatars.discourse-cdn.com/v4/letter/o/a6a055/32.png) [@omm](https://community.bloomreach.com/u/omm)\
**Post date:** [May 30, 2022, 12:15pm UTC](https://community.bloomreach.com/t/repository-keeps-reverting-back-to-a-previous-state/3206/2 "2022-05-30T12:15:37Z")

</div>

Hi Georgi,

Is this happening when you are trying to export/import anything in the console?  
While doing this your console crashes? and then reset back?  
please provide a little more details.

Thanks.

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [May 31, 2022, 7:59am UTC](https://community.bloomreach.com/t/repository-keeps-reverting-back-to-a-previous-state/3206/3 "2022-05-31T07:59:52Z")

</div>

Is your DB clustered in some way? There is nothing in BRXM that would revert the repository. I don’t think this is a corrupt index issue, but check your logs for NoSuchNodeExceptions or things of that nature. Otherwise I’d be looking to something in your cloud provider that is giving an old snapshot of your database.

---

<div class="post-metadata">

**Author:** ![Georgi\_Andonov](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/georgi_andonov/32/1262_2.png) [@Georgi\_Andonov](https://community.bloomreach.com/u/Georgi_Andonov)\
**Post date:** [June 7, 2022, 11:57am UTC](https://community.bloomreach.com/t/repository-keeps-reverting-back-to-a-previous-state/3206/4 "2022-06-07T11:57:12Z")

</div>

Thank you for the suggestion! I’ve managed to resolve the issue (it was a configuration mistake on our part) - we’ve imported configuration xml files from another project which caused issues with the console and led to it crashing. Auto-export was enabled at that time and some of the local files got overwritten.

---

<div class="post-metadata">

**Author:** ![Georgi\_Andonov](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/georgi_andonov/32/1262_2.png) [@Georgi\_Andonov](https://community.bloomreach.com/u/Georgi_Andonov)\
**Post date:** [June 7, 2022, 12:01pm UTC](https://community.bloomreach.com/t/repository-keeps-reverting-back-to-a-previous-state/3206/5 "2022-06-07T12:01:18Z")

</div>

Thank you for the reply! Corrupt index was part of the issue. I’ve imported a few xml configurations from another project through the console but I’ve probably messed up their indexing. I’ve managed to track down the issue and fix it.
