Opening Mods during first start can cause Modrinth pack installation to crash on permissions
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, typescript
Research direction
Begin at get_instance_mods_dir in the instance mods listing code and trace when it creates data/mods, then compare that against the image startup step that fixes ownership under /data. Reproduce with a fresh Docker instance as described, opening Edit → Mods immediately after start. Done means viewing the Mods tab during startup no longer leaves data/mods root-owned with the installer failing, or the failure surfaces as a recoverable error, and pending mods are not counted as installed.
Written by the indexing model from the issue text.
Description
Steps to reproduce
- In a fresh Docker installation, create a Modrinth instance using Nitroserver 2.0.0 for Minecraft 1.21.
- Start the instance and immediately open Edit, then Mods while it is starting.
- Watch startup and the Minecraft log.
Actual
The installer repeatedly fails with java.nio.file.AccessDeniedException: /data/mods/noisium-fabric-2.2.1+mc1.21.jar.download, and the watchdog stops the crash loop. The instance root data directory was owned by UID 1000, but data/mods was owned by root with mode 755. The Mods tab showed the pack mods as “Installs on start” although the header counted them as installed.
Expected
Viewing the Mods tab should not prevent the server process from installing the selected modpack; installation should succeed or report a recoverable error. Pending mods should not be counted as installed.
Investigation
The mods listing calls get_instance_mods_dir, which creates data/mods when absent; the race between this directory creation and the image startup ownership step is a plausible cause and should be verified. Observed on an isolated v0.5.0 Docker dashboard; itzg/minecraft-server java21 image revision 30b26426 and helper 1.76.3.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 57
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the 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 Isopod-Project/Isopod
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Isopod-Project/Isopod#220 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 74/100
Isopod-Project/Isopod#200 ·
Maintainers usually reply within 1 day
-
Dashboard drives high GPU usage while a server starts or restartsPossibly taken @tacoz234 claimed this 12 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Isopod-Project/Isopod#191 · 1 comment ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Isopod-Project/Isopod#134 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Isopod-Project/Isopod#113 ·
Maintainers usually reply within 1 day
All issues in Isopod-Project/Isopod
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
hemilabs/ui-monorepo#2711 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
code-yeongyu/senpi#6929 ·
Maintainers usually reply within 1 day
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 72/100
lingdojo/kana-dojo#34261 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
embedpdf/embed-pdf-viewer#1116 ·
Maintainers usually reply within 1 day
-
current task
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Sunday-School-Software/Sunday-School-Scheduler#87 ·
Maintainers usually reply within 1 day