Yesterday my Discourse forum was working fine: it’s more than one year that runs successfully on a Digital Ocean machine and I never had problems.
Before going to sleep yesterday, I checked my forum and all was fine. I wake up this morning and I get a 502 Bad Gateway error. I didn’t attempt to upgrade, and not even some kind of operation on the VM.
I mean… how is this even possible? I am clueless.
I tried to do a
./launcher restart app but it didn’t help, so I ran a
./launcher rebuild app and I get this:
root@Forum:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
remote: Counting objects: 154, done.
remote: Total 154 (delta 67), reused 67 (delta 67), pack-reused 86
Receiving objects: 100% (154/154), 19.20 KiB | 0 bytes/s, done.
Resolving deltas: 100% (109/109), completed with 23 local objects.
From GitHub - discourse/discourse_docker: A Docker image for Discourse
12fa363…1f5042f master -> origin/master
- [new branch] configurable-pg-sleep -> origin/configurable-pg-sleep
- [new branch] launcher-env-vars -> origin/launcher-env-vars
- [new branch] pg_ctl -> origin/pg_ctl
- [new branch] user-args-for-last -> origin/user-args-for-last
image/base/Dockerfile | 19 ++++++++±—
image/base/VERSION | 2 ±
image/base/install-imagemagick | 2 ±
image/base/install-nginx | 2 ++
image/build.rb | 2 ±
image/discourse/Dockerfile | 4 ±-
image/discourse_bench/Dockerfile | 4 ±-
image/discourse_dev/Dockerfile | 12 +++++±-
image/discourse_dev/ensure-database | 2 ++
image/discourse_dev/postgres_dev.template.yml | 41 +++++++++++++++++++++++++++
image/discourse_fast_switch/Dockerfile | 4 ±-
image/discourse_test/Dockerfile | 4 ±-
launcher | 8 ++±–
templates/web.letsencrypt.ssl.template.yml | 5 +±-
templates/web.template.yml | 2 ±
15 files changed, 87 insertions(+), 26 deletions(-)
create mode 100644 image/discourse_dev/postgres_dev.template.yml
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/discourse:1.3.10’ locally
1.3.10: Pulling from discourse/discourse
ba66ef388b03: Pulling fs layer
82f56b9b0da9: Pulling fs layer
82f56b9b0da9: Verifying Checksum
82f56b9b0da9: Download complete
ba66ef388b03: Verifying Checksum
ba66ef388b03: Download complete
Pulling repository docker.io/discourse/discourse
Tag 1.3.10 not found in repository docker.io/discourse/discourse
Your Docker installation is not working correctly
It looks like this error is Docker-related but I wouldn’t know how to solve it. Any help?