# ./launcher rebuild commando mislukt wanneer app.yml een lange omgevingsvariabele bevat

**URL:** <https://meta.discourse.org/t/launcher-rebuild-command-fails-when-app-yml-contains-a-long-env-variable/162381>\
**Category:** Product Support\
**Created:** [28 augustus 2020 om 19:27 UTC](https://meta.discourse.org/t/launcher-rebuild-command-fails-when-app-yml-contains-a-long-env-variable/162381 "2020-08-28T19:27:24Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Brighiu\_M](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefan_brighiu_m/32/174499_2.png) [@Stefan\_Brighiu\_M](https://meta.discourse.org/u/Stefan_Brighiu_M)\
**Post date:** [28 augustus 2020 om 19:27 UTC](https://meta.discourse.org/t/launcher-rebuild-command-fails-when-app-yml-contains-a-long-env-variable/162381/1 "2020-08-28T19:27:24Z")

</div>

I’m trying to add a private key to env via the app.yml.

After I add it, it all stops working. If I remove it, it seems to all go back to normal.

The value i’m trying to add looks like this and is a line with 1755 chars

> PRIVATE\_KEY: “-----BEGIN PRIVATE KEY-----\n…\n…\n-----END PRIVATE KEY-----\n”

How can I fix this?

```
> Ensuring launcher is up to date
> 
> Fetching origin
> 
> remote: Enumerating objects: 7, done.
> 
> remote: Counting objects: 100% (7/7), done.
> 
> remote: Compressing objects: 100% (4/4), done.
> 
> remote: Total 4 (delta 2), reused 0 (delta 0), pack-reused 0
> 
> Unpacking objects: 100% (4/4), done.
> 
> From gitlab.com: REPO
> 
> 6075498..d46af48 master -> origin/master
> 
> Updating Launcher
> 
> Updating 6075498..d46af48
> 
> Fast-forward
> 
> containers/app.yml | 6 ++----
> 
> 1 file changed, 2 insertions(+), 4 deletions(-)
> 
> Ensuring launcher is up to date
> 
> Fetching origin
> 
> Launcher is up-to-date
> 
> Stopping old container
> 
> + /usr/bin/docker stop -t 60 app
> 
> app
> 
> cd /pups && git pull && /pups/bin/pups --stdin
> 
> /usr/bin/docker: invalid reference format: repository name must be lowercase.
> 
> See '/usr/bin/docker run --help'.
> 
> cat: cids/app_bootstrap.cid: No such file or directory
> 
> "docker rm" requires at least 1 argument.
> 
> See 'docker rm --help'.
> 
> Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...]
> 
> Remove one or more containers
> 
> rm: cannot remove 'cids/app_bootstrap.cid': No such file or directory
> 
> **FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
> 
> ./discourse-doctor may help diagnose the problem.

```

---

_[View the full topic](https://meta.discourse.org/t/launcher-rebuild-command-fails-when-app-yml-contains-a-long-env-variable/162381)._
