I’ve been using Discourse for a good 6 months without any flaws. However, when attempting to restart it today I ran into an error:
root@fortcraft:/var/discourse# ./launcher rebuild app
Ensuring discourse docker is up to date
fatal: unable to access ‘GitHub - discourse/discourse_docker: A Docker image for Discourse’: Failed to connect to github.com port 443: Connection timed out
error: Could not fetch origin
Discourse Docker is up-to-date
Stopping old container
- /usr/bin/docker stop -t 10 app
cd /pups && git pull && /pups/bin/pups --stdin
error: RPC failed; result=7, HTTP code = 0
fatal: The remote end hung up unexpectedly
FAILED TO BOOTSTRAP
Not sure what’s going on. I’ve rebooted it several times before without this issue occurring. I have also looked into DNS issues as those were the most relevant results on Google, but these fixes seem to have no effect.
Docker Upstart and SysVinit configuration file
Customize location of Docker binary (especially for development testing).
Use DOCKER_OPTS to modify the daemon startup options.
DOCKER_OPTS="–dns 18.104.22.168 --dns 22.214.171.124"
If you need Docker to use an HTTP proxy, it can also be specified here.
This is also a handy place to tweak where Docker’s temporary files go.
This is the /etc/default/docker file that was referred to in other posts.
All help is appreciated, I currently can’t start the app.
Edit: After the 13th attempt it seems to be working again. Any idea why this happens?