Discourse updater fails after outage
Following up on fdroid-website#172 (closed), I tried running the updater, and now it does something insane. It seems to lose the ability to run any executable, even echo. Even in another ssh session, no commands worked, not even reboot. I had to hard-reset the machine from the provider's console. Here's the summary:
root@forum:/# rm -rf /var/lib/docker/overlay
root@forum:/# cd /var/discourse
root@forum:/var/discourse# ./launcher rebuild app
WARNING: Docker version 17.05.0-ce deprecated, recommend upgrade to 17.06.2 or newer.
WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed
Please be patient
Unable to find image 'discourse/base:2.0.20171231' locally
2.0.20171231: Pulling from discourse/base
50aff78429b1: Already exists
f6d82e297bce: Already exists
275abb2c8a6f: Already exists
9f15a39356d6: Already exists
fc0342a94c89: Already exists
35787b1294ac: Pulling fs layer
35787b1294ac: Verifying Checksum
35787b1294ac: Download complete
35787b1294ac: Pull complete
Digest: sha256:5452defe724d2940ae2fd11ec690fbcd1d49cf7607ca9044502f2817c0f76647
Status: Downloaded newer image for discourse/base:2.0.20171231
container_linux.go:247: starting container process caused "exec: \"echo\": executable file not found in $PATH"
/usr/bin/docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"echo\": executable file not found in $PATH".
ERRO[0195] error getting events from daemon: net/http: request canceled
Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
Edited by Hans-Christoph Steiner