# Как запустить CLI dashboard в версии для Windows

**URL:** <https://forum.storj.io/t/cli-dashboard-windows/2260>\
**Category:** troubleshooting\
**Tags:** на-русском, local-dashboard\
**Created:** [October 12, 2019, 9:00am UTC](https://forum.storj.io/t/cli-dashboard-windows/2260 "2019-10-12T09:00:49Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmr](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bmr/32/67_2.png) [@bmr](https://forum.storj.io/u/bmr)\
**Post date:** [October 12, 2019, 9:00am UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/1 "2019-10-12T09:00:49Z")

</div>

> [@Перенос ноды из докера на винду как?](https://forum.storj.io/t/topic/2157/4):
>
> CLI dashboard в кнопке Пуск есть ярлык.

не нашел, а команда какая должна быть

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 12, 2019, 12:03pm UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/2 "2019-10-12T12:03:55Z")

</div>

> [@Перенос ноды из докера на винду как?](https://forum.storj.io/t/topic/2157/6):
>
> не нашел, а команда какая должна быть

Из Powershell:

```auto
& 'C:\Program Files\Storj\Storage Node\storagenode.exe' dashboard --config-dir 'C:\Program Files\Storj\Storage Node' 

```

Вообще у вас должен быть ярлык на Storage node dashboard, попробуйте поискать в Пуск.

---

<div class="post-metadata">

**Author:** ![bmr](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bmr/32/67_2.png) [@bmr](https://forum.storj.io/u/bmr)\
**Post date:** [October 12, 2019, 2:42pm UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/3 "2019-10-12T14:42:11Z")

</div>

> [@Перенос ноды из докера на винду как?](https://forum.storj.io/t/topic/2157/8):
>
> & ‘C:\Program Files\Storj\Storage Node\storagenode.exe’ dashboard --config-dir ‘C:\Program Files\Storj\Storage Node’

ярлыка нет и с этой командой не вывелся дашборд, а только выполнилась и дальнейшее ожидание команды

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 12, 2019, 8:20pm UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/4 "2019-10-12T20:20:13Z")

</div>

Это для Powershell, она должна показать обычный dashboard CLI

---

<div class="post-metadata">

**Author:** ![bmr](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bmr/32/67_2.png) [@bmr](https://forum.storj.io/u/bmr)\
**Post date:** [October 13, 2019, 6:21am UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/5 "2019-10-13T06:21:09Z")

</div>

я ее и выполнял в повершеле и дашборд не выводится, может что с версией повершела…

---

<div class="post-metadata">

**Author:** ![bmr](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bmr/32/67_2.png) [@bmr](https://forum.storj.io/u/bmr)\
**Post date:** [October 15, 2019, 5:31pm UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/6 "2019-10-15T17:31:29Z")

</div>

> [@Перенос ноды из докера на винду как?](https://forum.storj.io/t/topic/2157/8):
>
> & ‘C:\Program Files\Storj\Storage Node\storagenode.exe’ dashboard --config-dir ‘C:\Program Files\Storj\Storage Node’

Алексей, не получается запустить обычный дашборд cli, команда выполняется без вывода дашборда…

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 16, 2019, 8:14am UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/7 "2019-10-16T08:14:16Z")

</div>

Возможно, её удалили.  
В моей версии она ещё присутствует.  
Проверьте команды:

```auto
& 'C:\Program Files\Storj\Storage Node\storagenode.exe' --help

```

---

<div class="post-metadata">

**Author:** ![bmr](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bmr/32/67_2.png) [@bmr](https://forum.storj.io/u/bmr)\
**Post date:** [October 16, 2019, 9:05am UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/8 "2019-10-16T09:05:52Z")

</div>

> [@Перенос ноды из докера на винду как?](https://forum.storj.io/t/topic/2157/13):
>
> & ‘C:\Program Files\Storj\Storage Node\storagenode.exe’ --help

есть такая команда, и она же выполняется не ругается ни на что  
Usage:  
C:\Program [command]

Available Commands:  
config Edit config files  
dashboard Display a dashboard  
diag Diagnostic Tool support  
help Help about any command  
run Run the storagenode  
setup Create config files  
version output the version’s build information, if any

Flags:  
–color use color in user interface  
–config-dir string main directory for storagenode configuration (default “C:\Users\bti\AppData  
\Roaming\Storj\Storagenode”)  
–db.conn\_max\_lifetime duration Maximum Database Connection Lifetime, -1ns means the stdlib default (default -1  
ns)  
–db.max\_idle\_conns int Maximum Amount of Idle Database connections, -1 means the stdlib default (defau  
lt 20)  
–db.max\_open\_conns int Maximum Amount of Open Database connections, -1 means the stdlib default (defau  
lt 25)  
–debug.addr string address to listen on for debug endpoints (default “127.0.0.1:0”)  
–debug.trace-out string If set, a path to write a process trace SVG to  
–defaults string determines which set of configuration defaults to use. can either be ‘dev’ or ’  
release’ (default “release”)  
-h, --help help for C:\Program  
–identity-dir string main directory for storagenode identity credentials (default “C:\Users\bti\A  
ppData\Roaming\Storj\Identity\Storagenode”)  
–log.caller if true, log function filename and line number  
–log.development if true, set logging to development mode  
–log.encoding string configures log encoding. can either be ‘console’ or ‘json’ (default “console”)  
–log.level Level the minimum log level to log (default info)  
–log.output string can be stdout, stderr, or a filename (default “stderr”)  
–log.stack if true, log stack traces  
–metrics.addr string address to send telemetry to (default “[collectora.storj.io:9000](http://collectora.storj.io:9000)”)  
–metrics.app string application name for telemetry identification (default “storagenode.exe”)  
–metrics.app-suffix string application suffix (default “-release”)  
–metrics.instance-prefix string instance id prefix  
–metrics.interval duration how frequently to send up telemetry (default 1m0s)  
–monkit.hw.oomlog string path to log for oom notices (default “/var/log/kern.log”)

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 17, 2019, 7:47pm UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/9 "2019-10-17T19:47:24Z")

</div>

Очень странно. Попробуйте из `cmd.exe`, только замените одиночные кавычки на прямые двойные и уберите начальный `&`

---

<div class="post-metadata">

**Author:** ![bmr](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bmr/32/67_2.png) [@bmr](https://forum.storj.io/u/bmr)\
**Post date:** [October 18, 2019, 5:13am UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/10 "2019-10-18T05:13:29Z")

</div>

> [@bmr](#):
>
> & ‘C:\Program Files\Storj\Storage Node\storagenode.exe’ dashboard --config-dir ‘C:\Program Files\Storj\Storage Node’

То же самое, если что у меня вин7 x64…кто заходит сюда отпишитесь если у вас работает дашборд cli на вин7…

---

<div class="post-metadata">

**Author:** ![bmr](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bmr/32/67_2.png) [@bmr](https://forum.storj.io/u/bmr)\
**Post date:** [October 18, 2019, 5:14am UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/11 "2019-10-18T05:14:38Z")

</div>

То же самое, если что у меня вин7 x64…кто заходит сюда отпишитесь если у вас работает дашборд cli на вин7…

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [October 18, 2019, 7:44am UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/12 "2019-10-18T07:44:54Z")

</div>

Попробуйте так:

```auto
C:\WINDOWS\System32\cmd.exe /K ""C:\Program Files\Storj\Storage Node\storagenode.exe" dashboard --config-dir "C:\Program Files\Storj\Storage Node\\" --identity-dir "Y:\storagenode\identity\\" --color --log.output stdout"

```

Только замените путь к identity на ваш

---

<div class="post-metadata">

**Author:** ![bmr](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/bmr/32/67_2.png) [@bmr](https://forum.storj.io/u/bmr)\
**Post date:** [October 18, 2019, 8:32am UTC](https://forum.storj.io/t/cli-dashboard-windows/2260/13 "2019-10-18T08:32:25Z")

</div>

> [@Alexey](#):
>
> C:\WINDOWS\System32\cmd.exe /K ““C:\Program Files\Storj\Storage Node\storagenode.exe” dashboard --config-dir “C:\Program Files\Storj\Storage Node\” --identity-dir “Y:\storagenode\identity\” --color --log.output stdout”

Получилось, спасибо)
