# ssh テンプレートが削除されたため、再構築できません

**URL:** <https://meta.discourse.org/t/cant-rebuild-because-ssh-template-is-removed/150285>\
**Category:** Self-hosting\
**Created:** [2020 年 5 月 4 日午前 5:52 UTC](https://meta.discourse.org/t/cant-rebuild-because-ssh-template-is-removed/150285 "2020-05-04T05:52:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![multicam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/multicam/32/98435_2.png) [@multicam](https://meta.discourse.org/u/multicam)\
**Post date:** [2020 年 5 月 4 日午前 5:52 UTC](https://meta.discourse.org/t/cant-rebuild-because-ssh-template-is-removed/150285/1 "2020-05-04T05:52:55Z")

</div>

Discourse インストールの再構築を試みています（管理インターフェースからの指示による）。  
以下のエラーが発生しました。Docker に詳しくないため、ご協力をお願いします。

```bash
    root@school-forum:/var/discourse# ./launcher rebuild app
    Ensuring launcher is up to date
    Fetching origin
    Launcher is up-to-date
    cat: templates/sshd.template.yml: No such file or directory
    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.
    root@school-forum:/var/discourse#

```

ご支援をお願いします。最近、同様の問題に直面している人を見つけることができませんでした。

編集：apt-get update/upgrade を実行した後に、新しいエラーメッセージが表示されました。

```bash
/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:297: copying bootstrap data to pipe caused \"write init-p: broken pipe\"": unknown.
Your Docker installation is not working correctly

See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
root@school-forum:/var/discourse# ./launcher rebuild app
/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:297: copying bootstrap data to pipe caused \"write init-p: broken pipe\"": unknown.
Your Docker installation is not working correctly

See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam

```

---

_[View the full topic](https://meta.discourse.org/t/cant-rebuild-because-ssh-template-is-removed/150285)._
