overleaf / overleaf/toolkit

Nginx problem after reboot

Open
#429 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1.3k
Forks
310
Avg merge
3d 12h
Merged PRs (30d)
1

Description

Hello,

I have recently installed the toolkit, it works perfectly fine until I restart the server. When things come back up after restart the logs show the following error (everything else looks normal):

nginx | 2026/05/26 09:31:41 [error] 22#22: recv() failed (111: Connection refused) while resolving, resolver: 127.0.0.11:53

and I am not able to access the overleaf webpage. Docker ps shows no ports being used by the nginx container and to fix the issue I have to delete the nginx image and container and allow the toolkit to recreate it. Everything will then work until the next restart.

I have automated this process at startup to prevent downtime but I would like to fix the root of the problem.

Does anyone have any ideas?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reboot sequence and inspecting the nginx container's startup path, Docker state, and the logged resolver error. Done means the toolkit starts after a server restart without requiring the nginx image or container to be deleted and recreated, and the Overleaf webpage is accessible.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx
Domain
devops, infrastructure, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.