# Canton Manual Start Failing in Kubernetes Pod

**URL:** <https://forum.canton.network/t/canton-manual-start-failing-in-kubernetes-pod/5355>\
**Category:** App Development\
**Created:** [October 4, 2022, 4:35pm UTC](https://forum.canton.network/t/canton-manual-start-failing-in-kubernetes-pod/5355 "2022-10-04T16:35:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephenwsun](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stephenwsun/32/4543_2.png) [@stephenwsun](https://forum.canton.network/u/stephenwsun)\
**Post date:** [October 4, 2022, 4:35pm UTC](https://forum.canton.network/t/canton-manual-start-failing-in-kubernetes-pod/5355/1 "2022-10-04T16:35:46Z")

</div>

I’m trying to run Canton in manual start mode in a Kubernetes pod to do a migration. Running into the following error. Any help is appreciated!

{“timeStamp”:“2022-10-04T16:26:54.896Z”,“message”:“Running CoordinatedShutdown with reason [ActorSystemTerminateReason]”,“logger”:“akka.actor.CoordinatedShutdown”,“thread”:“canton-env-execution-context-17”,“level”:“INFO”}

{“timeStamp”:“2022-10-04T16:27:14.845Z”,“message”:“Starting Canton version 2.3.4”,“logger”:“com.digitalasset.canton.CantonEnterpriseApp$”,“thread”:“main”,“level”:“INFO”}

{“timeStamp”:“2022-10-04T16:27:15.787Z”,“message”:“Can not determine user home directory using the java system property `user.home` \n (is set to /home/app). Please set it \non jvm startup using -Duser.home=…”,“logger”:“com.digitalasset.canton.console.AmmoniteConsoleConfig$”,“thread”:“main”,“level”:“WARN”}

{“timeStamp”:“2022-10-04T16:27:16.410Z”,“message”:“Deriving 2 as number of threads from ‘sys.runtime.availableProcessors()’. Please use ‘-Dscala.concurrent.context.numThreads’ to override.”,“logger”:“com.digitalasset.canton.environment.EnterpriseEnvironment”,“thread”:“main”,“level”:“INFO”}

{“timeStamp”:“2022-10-04T16:27:16.763Z”,“message”:“Slf4jLogger started”,“logger”:“akka.event.slf4j.Slf4jLogger”,“thread”:“canton-env-execution-context-17”,“level”:“INFO”}

{“timeStamp”:“2022-10-04T16:27:18.246Z”,“message”:“Manual start requested.”,“logger”:“com.digitalasset.canton.environment.EnterpriseEnvironment”,“thread”:“main”,“level”:“INFO”}

Compiling (synthetic)/ammonite/predef/ArgsPredef.sc

Compiling /(console)

sh: /dev/tty: No such device or address

Nonzero exit value: 1

---

<div class="post-metadata">

**Author:** ![stephenwsun](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/stephenwsun/32/4543_2.png) [@stephenwsun](https://forum.canton.network/u/stephenwsun)\
**Post date:** [October 4, 2022, 6:19pm UTC](https://forum.canton.network/t/canton-manual-start-failing-in-kubernetes-pod/5355/2 "2022-10-04T18:19:14Z")

</div>

In case anyone runs into the same issue, the solution is to start the pod with “-i --tty” options. In a deployment yaml, this would be under the spec → containers section. Hope this helps!

---

<div class="post-metadata">

**Author:** ![tudor\_voicu](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/tudor_voicu/32/832_2.png) [@tudor\_voicu](https://forum.canton.network/u/tudor_voicu)\
**Post date:** [October 4, 2022, 6:31pm UTC](https://forum.canton.network/t/canton-manual-start-failing-in-kubernetes-pod/5355/3 "2022-10-04T18:31:26Z")

</div>

Good find, @stephenwsun 👍 Another option is to pass the `--no-tty` CLI argument when starting Canton which allows running the binary without an owner terminal.
