# Dfx nns install failed on dfx version 0.19.0

**URL:** <https://forum.dfinity.org/t/dfx-nns-install-failed-on-dfx-version-0-19-0/29442>\
**Category:** Developers\
**Created:** [April 8, 2024, 3:10am UTC](https://forum.dfinity.org/t/dfx-nns-install-failed-on-dfx-version-0-19-0/29442 "2024-04-08T03:10:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kayicp](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/kayicp/32/36679_2.png) [@kayicp](https://forum.dfinity.org/u/kayicp)\
**Post date:** [April 8, 2024, 3:10am UTC](https://forum.dfinity.org/t/dfx-nns-install-failed-on-dfx-version-0-19-0/29442/1 "2024-04-08T03:10:18Z")

</div>

I just upgraded my dfx from 0.15.2-beta to 0.19.0 (motoko: v0.11.0) and the dfx nns install threw the following:

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/8/5/85373d825ce17ef9cc744b9848004004c0ddec3d.png)

---

<div class="post-metadata">

**Author:** ![kayicp](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/kayicp/32/36679_2.png) [@kayicp](https://forum.dfinity.org/u/kayicp)\
**Post date:** [April 8, 2024, 4:06am UTC](https://forum.dfinity.org/t/dfx-nns-install-failed-on-dfx-version-0-19-0/29442/2 "2024-04-08T04:06:36Z")

</div>

I switched the dfx version to 0.18.0 and dfx nns install is now working

---

<div class="post-metadata">

**Author:** ![bitdivine](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/bitdivine/32/246_2.png) [@bitdivine](https://forum.dfinity.org/u/bitdivine)\
**Post date:** [April 8, 2024, 8:09am UTC](https://forum.dfinity.org/t/dfx-nns-install-failed-on-dfx-version-0-19-0/29442/3 "2024-04-08T08:09:50Z")

</div>

It looks to me as if the really interesting bit - why the xdr rate is not set - is probably higher up. But as long as this is reproducible it should be fixable. 😃 It looks as if maybe @Andre-Popovitch could help? (judging by commits [here](https://github.com/dfinity/dfx-extensions/tree/main/extensions/nns))

---

<div class="post-metadata">

**Author:** ![Andre-Popovitch](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/andre-popovitch/32/10269_2.png) [@Andre-Popovitch](https://forum.dfinity.org/u/Andre-Popovitch)\
**Post date:** [April 8, 2024, 3:51pm UTC](https://forum.dfinity.org/t/dfx-nns-install-failed-on-dfx-version-0-19-0/29442/4 "2024-04-08T15:51:20Z")

</div>

Hi, could you share the exact commands that cause you to run into this output? I wasn’t able to reproduce the issue myself:

```auto
❯ dfx --version
dfx 0.19.0

❯ dfx extension install nns --version 0.4.0                          
  Version v0.19.0 installed successfully.
  Extension 'nns' installed successfully

❯ dfx nns --help
Toolkit for interacting with the Network Nervous System.

Usage: dfx nns [OPTIONS] [COMMAND]

Commands:
  import Import NNS API definitions and canister IDs.
  install Install an NNS on the local dfx server.
  help Print this message or the help of the given subcommand(s)

Options:
  -v, --verbose... Displays detailed information about operations. -vv will generate a very large number of messages and can affect performance
  -q, --quiet... Suppresses informational messages. -qq limits to errors only; -qqqq disables them all
      --log <LOGMODE> The logging mode to use. You can log to stderr, a file, or both [default: stderr] [possible values: stderr, tee, file]
      --logfile <LOGFILE> The file to log to, if logging to a file (see --logmode)
      --identity <IDENTITY> The user identity to run this command as. It contains your principal as well as some things DFX associates with it like the wallet [env: DFX_IDENTITY=]
      --provisional-create-canister-effective-canister-id <PRINCIPAL> The effective canister id for provisional canister creation must be a canister id in the canister ranges of the subnet on which new canisters should be created
  -h, --help Print help

```

---

<div class="post-metadata">

**Author:** ![Andre-Popovitch](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/andre-popovitch/32/10269_2.png) [@Andre-Popovitch](https://forum.dfinity.org/u/Andre-Popovitch)\
**Post date:** [April 8, 2024, 3:58pm UTC](https://forum.dfinity.org/t/dfx-nns-install-failed-on-dfx-version-0-19-0/29442/5 "2024-04-08T15:58:04Z")

</div>

I just realized that you were talking about `dfx nns install`, not installing `dfx nns` 😃 However I am still not able to reproduce the issue ([dfx nns install · GitHub](https://gist.github.com/anchpop/3f0b533690672d66d2091d91c4657867))

---

<div class="post-metadata">

**Author:** ![kayicp](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/kayicp/32/36679_2.png) [@kayicp](https://forum.dfinity.org/u/kayicp)\
**Post date:** [April 9, 2024, 5:17am UTC](https://forum.dfinity.org/t/dfx-nns-install-failed-on-dfx-version-0-19-0/29442/6 "2024-04-09T05:17:43Z")

</div>

Hi  
Sorry for the late reply.  
Here is the full log. Previously I stop the command prematurely due to seeing it `Panicked at...` such as screenshot below.

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/2/4/243ba54eec08b4915816f651cb995e618b655c52.png)

But now I just let it run and it says `NNS CANISTER INSTALLATION COMPLETE`.

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/b/3/b3a306166175a5fd3195d6105844df30b34d9069.png)

Perhaps I’m wrong. If so, sorry for the false alarm.

---

<div class="post-metadata">

**Author:** ![Andre-Popovitch](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/andre-popovitch/32/10269_2.png) [@Andre-Popovitch](https://forum.dfinity.org/u/Andre-Popovitch)\
**Post date:** [April 10, 2024, 5:28pm UTC](https://forum.dfinity.org/t/dfx-nns-install-failed-on-dfx-version-0-19-0/29442/7 "2024-04-10T17:28:45Z")

</div>

Nice, glad it seems to have worked the second time 😃
