Nginx problem after reboot
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker, nginx
- Domain
- devops, infrastructure, networking
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.
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?
- Dominant language
- Shell
- Stars
- 1.3k
- Forks
- 311
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from overleaf/toolkit
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Comments exportOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in overleaf/toolkit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
backlog bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
WLAN-Pi/wlanpi-profiler#306 ·
Maintainers usually reply within 1 day
-
area: backend good first issue priority: P3 - low size: S type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Mizithra/ActiveTerrain#31 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
obra/superpowers#2422 ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ComplianceAsCode/content#15152 ·
Maintainers usually reply within 3 days