Discourse certificate expired; launcher can't connect to Docker

Discourse was working fine for months, then this morning the security certificate expired. Previously it renewed itself, but not this time. Web browsers are refusing to access the site as it uses HSTS, so effectively the site is down.

I started to look at troubleshooting this, but I’m not able to run any launcher commands. The script just says ‘Cannot connect to the docker daemon - verify it is running and you have access’.

Looking the the launcher script, I can see that it’s expecting to get a result from the command ‘which docker.io’. However, that command currently returns NULL. I can see that dockerd is running.

Running on Ubuntu 20 in a DreamCompute instance.

Any ideas?

1 Like

Are you running the launcher commands as root?

2 Likes

Well, that’s embarassing. I wasn’t using sudo.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.