Describe the problem
When using a docker compose file with NeoForge as Type (probably others that do not use automodpacks), when you update the modlist with new mods or even changing the version, it still uses the old version and refuses to update the mods or list.
I already tried to remove all mods and some files inside to see if they download a newer version, but it downloads the old and refuses to update. I already spent a lot of time trying to find a command or something that could force a resync but still no avail. Already tried NEOFORGE_FORCE_REINSTALL but it only reinstall the laucher, not the mods or update the list.
Should probably have a command to force redownload all mods and update the list. I am unsure if it already does as my knowledge in DockerCompose is not advanced enough for this, but it seems to be supposed to happen.
In the logs its possible to see it trying to download the mods, but for some reason it uses the old version even having a new update.
Container definition
Paste run command or compose file here
services:
mc:
image: itzg/minecraft-server
tty: true
stdin_open: true
ports:
- "20102:25565"
- "24454:24454/udp"
environment:
TYPE: NEOFORGE
VERSION: "1.21.1"
CF_API_KEY: ${CF_API_KEY}
CURSEFORGE_FILES: "@/extras/cf-mods.txt"
#CF_FORCE_SYNCHRONIZE: true
NEOFORGE_FORCE_REINSTALL: true
MODRINTH_PROJECTS: |
titanium:beta
cc-tweaked:alpha
functional-storage:beta
create-vibrant-vaults
c2me-neoforge:alpha
scalablelux:beta
irons-spells-n-spellbooks
playeranimator:beta
sophisticated-backpacks
sophisticated-storage
sophisticated-core
forbidden-arcanus
electrodynamics
nuclear-science
ballistix
assembly-lines
blastcraft
modular-force-field-systems
polymorph
jei:beta
just-enough-resources-jer:alpha
justenoughbreeding
jade:beta
jade-addons-forge
MODRINTH_DOWNLOAD_DEPENDENCIES: required
EULA: "TRUE"
UID: 1000
GID: 1000
MAX_MEMORY: 14G
INIT_MEMORY: 2G
SNOOPER_ENABLED: false
volumes:
# attach the relative directory 'data' to the container's /data path
- ./data:/data
- ./downloads:/downloads
Container logs
[init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 14 1000 1000 4096 Mar 15 12:35 /data'
mc-1 | [init] Resolving type given NEOFORGE
mc-1 | [mc-image-helper] 12:36:21.686 INFO : Running NeoForge 21.1.133 installer for Minecraft 1.21.1. This might take a while...
mc-1 | [mc-image-helper] 12:36:46.208 INFO : Downloaded /data/mods/player-animation-lib-forge-2.0.1+1.21.1.jar
mc-1 | [mc-image-helper] 12:36:47.482 INFO : Downloaded /data/mods/sophisticatedstorage-1.21.1-1.4.0.1079.jar
mc-1 | [mc-image-helper] 12:36:48.194 INFO : Downloaded /data/mods/sophisticatedcore-1.21.1-1.3.2.900.jar
....
Describe the problem
When using a docker compose file with NeoForge as Type (probably others that do not use automodpacks), when you update the modlist with new mods or even changing the version, it still uses the old version and refuses to update the mods or list.
I already tried to remove all mods and some files inside to see if they download a newer version, but it downloads the old and refuses to update. I already spent a lot of time trying to find a command or something that could force a resync but still no avail. Already tried NEOFORGE_FORCE_REINSTALL but it only reinstall the laucher, not the mods or update the list.
Should probably have a command to force redownload all mods and update the list. I am unsure if it already does as my knowledge in DockerCompose is not advanced enough for this, but it seems to be supposed to happen.
In the logs its possible to see it trying to download the mods, but for some reason it uses the old version even having a new update.
Container definition
services:
mc:
image: itzg/minecraft-server
tty: true
stdin_open: true
ports:
- "20102:25565"
- "24454:24454/udp"
environment:
TYPE: NEOFORGE
VERSION: "1.21.1"
- ./downloads:/downloads
Container logs
[init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 14 1000 1000 4096 Mar 15 12:35 /data'
mc-1 | [init] Resolving type given NEOFORGE
mc-1 | [mc-image-helper] 12:36:21.686 INFO : Running NeoForge 21.1.133 installer for Minecraft 1.21.1. This might take a while...
mc-1 | [mc-image-helper] 12:36:46.208 INFO : Downloaded /data/mods/player-animation-lib-forge-2.0.1+1.21.1.jar
mc-1 | [mc-image-helper] 12:36:47.482 INFO : Downloaded /data/mods/sophisticatedstorage-1.21.1-1.4.0.1079.jar
mc-1 | [mc-image-helper] 12:36:48.194 INFO : Downloaded /data/mods/sophisticatedcore-1.21.1-1.3.2.900.jar
....