# Context File corrupt/truncated - node-red auto-restart failure

**URL:** <https://discourse.nodered.org/t/context-file-corrupt-truncated-node-red-auto-restart-failure/79897>\
**Category:** General\
**Created:** [18 July 2023 07:12 UTC](https://discourse.nodered.org/t/context-file-corrupt-truncated-node-red-auto-restart-failure/79897 "2023-07-18T07:12:38Z")\
**Posts on this page:** 1\
**Showing post:** 47

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [25 July 2023 16:07 UTC](https://discourse.nodered.org/t/context-file-corrupt-truncated-node-red-auto-restart-failure/79897/47 "2023-07-25T16:07:38Z")

</div>

See this other thread

> [@Global, Flow and Node Context File Storage Interval](https://discourse.nodered.org/t/global-flow-and-node-context-file-storage-interval/80064/1):
>
> We can duplicate this Node-RED restart failure due to context file corruption for the latest Node-RED version 3.0.2.

@davidz doesn't say _how_ to duplicate it, unfortunately, though he is coming at the problem from the other side: Once corrupted, Node-red doesn't restart.

---

_[View the full topic](https://discourse.nodered.org/t/context-file-corrupt-truncated-node-red-auto-restart-failure/79897)._
