Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment variable to update mods downloading Mods with mismatched base dependency. #553

Open
earthserpent89 opened this issue Nov 19, 2024 · 0 comments

Comments

@earthserpent89
Copy link

docker run -d \
        -p 34197:34197/udp \
        -p 27015:27015/tcp \
        -e  UPDATE_MODS_ON_START=true \
        -v /home/factorio:/factorio \
        --name factorio \
        --restart=unless-stopped \
        factoriotools/factorio:stable

Stable server on version 2.0.15 is downloading mods with base dependency of >=2.0.18 when using UPDATE_MODS_ON_START=true environment variable. This causes a version mismatch preventing the server from starting.

0.078 Error Util.cpp:81: Failed to load mod "mining-patch-planner":
• mining-patch-planner
    • Dependency base >= 2.0.18 is not satisfied (active: base 2.0.15)

I discussed with one of the mod authors whose mod has the mismatch, and they claim the server should be able to differentiate which version of the mod to download from the mod portal based on the Dependency Base. What is happening behind the UPDATE_MODS_ON_START=true flag and can it be fixed to make sure stable base servers don't accidentally download mods with a mismatched base dependency?

@earthserpent89 earthserpent89 changed the title Environment variable to update mods downloading wrong version Environment variable to update mods downloading Mods with mismatched base dependency. Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant