# Upgrading to version 2.0.4 - help - where did I go wrong?

**URL:** https://discourse.nodered.org/t/upgrading-to-version-2-0-4-help-where-did-i-go-wrong/49030
**Category:** General
**Created:** [28 July 2021 15:38 UTC](https://discourse.nodered.org/t/upgrading-to-version-2-0-4-help-where-did-i-go-wrong/49030 "2021-07-28T15:38:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hazymat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hazymat/32/108159_2.png) [@hazymat](https://discourse.nodered.org/u/hazymat)
#### Post date: [28 July 2021 15:38 UTC](https://discourse.nodered.org/t/upgrading-to-version-2-0-4-help-where-did-i-go-wrong/49030/1 "2021-07-28T15:38:31Z")

</div>

After upgrading to v2.0.4 and running `node-red admin init`, all my nodes are missing.

---

<div class="post-metadata">

### Author: ![hazymat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hazymat/32/108159_2.png) [@hazymat](https://discourse.nodered.org/u/hazymat)
#### Post date: [28 July 2021 15:46 UTC](https://discourse.nodered.org/t/upgrading-to-version-2-0-4-help-where-did-i-go-wrong/49030/2 "2021-07-28T15:46:35Z")

</div>

Quick look at settings.js reveals that the new settings file points flows file to flows.json, as opposed to what it was set up as previously, flows\_servername.json

Changed it, and now it's fixed.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [28 July 2021 16:19 UTC](https://discourse.nodered.org/t/upgrading-to-version-2-0-4-help-where-did-i-go-wrong/49030/3 "2021-07-28T16:19:21Z")

</div>

Yup. node-red admin init` warns if it will overwrite your existing settings file, and it does ask what file name to use for your flows file.

If you choose to overwrite your existing settings file, you need to make sure you keep the settings you had previously.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [11 August 2021 16:19 UTC](https://discourse.nodered.org/t/upgrading-to-version-2-0-4-help-where-did-i-go-wrong/49030/4 "2021-08-11T16:19:41Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
