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

Auto mod update loads wrong version after update #517

Open
bogatkaj opened this issue Oct 22, 2024 · 4 comments
Open

Auto mod update loads wrong version after update #517

bogatkaj opened this issue Oct 22, 2024 · 4 comments
Labels

Comments

@bogatkaj
Copy link

After update of the Game to the Space Age version, the server loads the 1.X Version of the mods when restarting the server with auto mod update set to true.

Example Mod: Better-Power-Armor-Grid
-> Current V2 Version: 7.0.1
-> Downloaded Version: 6.3.1

Possibly related to #468

@Fank Fank added the bug label Oct 22, 2024
@Fank
Copy link
Member

Fank commented Oct 22, 2024

I started up the latest docker image and ran the command myself, it updated to 7.0.2:

root@ca5daa591920:/# ./docker-update-mods.sh 
Checking for update of mod Better-Power-Armor-Grid...
Downloading...
  Download complete.
root@ca5daa591920:/# ls /factorio/mods/
Better-Power-Armor-Grid_7.0.2.zip  mod-list.json

@Fank
Copy link
Member

Fank commented Oct 22, 2024

Can you try to use the latest build image and share the log, i added some crucial information for debugging?

@Foodel-01
Copy link

Foodel-01 commented Oct 29, 2024

@Fank

I believe I've ran into the a similar issue today. I seem to get a 403 error when it tries to download an update:

+++ readlink -f /docker-entrypoint.sh
++ dirname /docker-entrypoint.sh
+ INSTALLED_DIRECTORY=/
+ FACTORIO_VOL=/factorio
+ LOAD_LATEST_SAVE=true
+ GENERATE_NEW_SAVE=false
+ PRESET=
+ SAVE_NAME=
+ BIND=
+ CONSOLE_LOG_LOCATION=
+ mkdir -p /factorio
+ mkdir -p /factorio/saves
+ mkdir -p /factorio/config
+ mkdir -p /factorio/mods
+ mkdir -p /factorio/scenarios
+ mkdir -p /factorio/script-output
+ [[ ! -f /factorio/config/rconpw ]]
+ [[ ! -f /factorio/config/server-settings.json ]]
+ [[ ! -f /factorio/config/map-gen-settings.json ]]
+ [[ ! -f /factorio/config/map-settings.json ]]
++ find -L /factorio/saves -iname '*.tmp.zip' -mindepth 1
++ wc -l
+ NRTMPSAVES=0
+ [[ 0 -gt 0 ]]
+ [[ true == \t\r\u\e ]]
+ //docker-update-mods.sh
Checking for update of mod elevated-rails for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod quality for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod space-age for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod alien-biomes-graphics for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod BottleneckLite for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod bullet-trails for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod even-distribution for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod factoryplanner for factorio 2.0.12 ...
  Downloading factoryplanner_2.0.4.zip
  Download failed: Code 403.
+++ readlink -f /docker-entrypoint.sh
++ dirname /docker-entrypoint.sh
+ INSTALLED_DIRECTORY=/
+ FACTORIO_VOL=/factorio
+ LOAD_LATEST_SAVE=true
+ GENERATE_NEW_SAVE=false
+ PRESET=
+ SAVE_NAME=
+ BIND=
+ CONSOLE_LOG_LOCATION=
+ mkdir -p /factorio
+ mkdir -p /factorio/saves
+ mkdir -p /factorio/config
+ mkdir -p /factorio/mods
+ mkdir -p /factorio/scenarios
+ mkdir -p /factorio/script-output
+ [[ ! -f /factorio/config/rconpw ]]
+ [[ ! -f /factorio/config/server-settings.json ]]
+ [[ ! -f /factorio/config/map-gen-settings.json ]]
+ [[ ! -f /factorio/config/map-settings.json ]]
++ find -L /factorio/saves -iname '*.tmp.zip' -mindepth 1
++ wc -l
+ NRTMPSAVES=0
+ [[ 0 -gt 0 ]]
+ [[ true == \t\r\u\e ]]
+ //docker-update-mods.sh
Checking for update of mod elevated-rails for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod quality for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod space-age for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod alien-biomes-graphics for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod BottleneckLite for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod bullet-trails for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod even-distribution for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod factoryplanner for factorio 2.0.12 ...
  Downloading factoryplanner_2.0.4.zip
  Download failed: Code 403.
+++ readlink -f /docker-entrypoint.sh
++ dirname /docker-entrypoint.sh
+ INSTALLED_DIRECTORY=/
+ FACTORIO_VOL=/factorio
+ LOAD_LATEST_SAVE=true
+ GENERATE_NEW_SAVE=false
+ PRESET=
+ SAVE_NAME=
+ BIND=
+ CONSOLE_LOG_LOCATION=
+ mkdir -p /factorio
+ mkdir -p /factorio/saves
+ mkdir -p /factorio/config
+ mkdir -p /factorio/mods
+ mkdir -p /factorio/scenarios
+ mkdir -p /factorio/script-output
+ [[ ! -f /factorio/config/rconpw ]]
+ [[ ! -f /factorio/config/server-settings.json ]]
+ [[ ! -f /factorio/config/map-gen-settings.json ]]
+ [[ ! -f /factorio/config/map-settings.json ]]
++ find -L /factorio/saves -iname '*.tmp.zip' -mindepth 1
++ wc -l
+ NRTMPSAVES=0
+ [[ 0 -gt 0 ]]
+ [[ true == \t\r\u\e ]]
+ //docker-update-mods.sh
Checking for update of mod elevated-rails for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod quality for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod space-age for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod alien-biomes-graphics for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod BottleneckLite for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod bullet-trails for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod even-distribution for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod factoryplanner for factorio 2.0.12 ...
  Downloading factoryplanner_2.0.4.zip
  Download failed: Code 403.
+++ readlink -f /docker-entrypoint.sh
++ dirname /docker-entrypoint.sh
+ INSTALLED_DIRECTORY=/
+ FACTORIO_VOL=/factorio
+ LOAD_LATEST_SAVE=true
+ GENERATE_NEW_SAVE=false
+ PRESET=
+ SAVE_NAME=
+ BIND=
+ CONSOLE_LOG_LOCATION=
+ mkdir -p /factorio
+ mkdir -p /factorio/saves
+ mkdir -p /factorio/config
+ mkdir -p /factorio/mods
+ mkdir -p /factorio/scenarios
+ mkdir -p /factorio/script-output
+ [[ ! -f /factorio/config/rconpw ]]
+ [[ ! -f /factorio/config/server-settings.json ]]
+ [[ ! -f /factorio/config/map-gen-settings.json ]]
+ [[ ! -f /factorio/config/map-settings.json ]]
++ find -L /factorio/saves -iname '*.tmp.zip' -mindepth 1
++ wc -l
+ NRTMPSAVES=0
+ [[ 0 -gt 0 ]]
+ [[ true == \t\r\u\e ]]
+ //docker-update-mods.sh
Checking for update of mod elevated-rails for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod quality for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod space-age for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod alien-biomes-graphics for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod BottleneckLite for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod bullet-trails for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod even-distribution for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod factoryplanner for factorio 2.0.12 ...
  Downloading factoryplanner_2.0.4.zip
  Download failed: Code 403.
+++ readlink -f /docker-entrypoint.sh
++ dirname /docker-entrypoint.sh
+ INSTALLED_DIRECTORY=/
+ FACTORIO_VOL=/factorio
+ LOAD_LATEST_SAVE=true
+ GENERATE_NEW_SAVE=false
+ PRESET=
+ SAVE_NAME=
+ BIND=
+ CONSOLE_LOG_LOCATION=
+ mkdir -p /factorio
+ mkdir -p /factorio/saves
+ mkdir -p /factorio/config
+ mkdir -p /factorio/mods
+ mkdir -p /factorio/scenarios
+ mkdir -p /factorio/script-output
+ [[ ! -f /factorio/config/rconpw ]]
+ [[ ! -f /factorio/config/server-settings.json ]]
+ [[ ! -f /factorio/config/map-gen-settings.json ]]
+ [[ ! -f /factorio/config/map-settings.json ]]
++ find -L /factorio/saves -iname '*.tmp.zip' -mindepth 1
++ wc -l
+ NRTMPSAVES=0
+ [[ 0 -gt 0 ]]
+ [[ true == \t\r\u\e ]]
+ //docker-update-mods.sh
Checking for update of mod elevated-rails for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod quality for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod space-age for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod alien-biomes-graphics for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod BottleneckLite for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod bullet-trails for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod even-distribution for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod factoryplanner for factorio 2.0.12 ...
  Downloading factoryplanner_2.0.4.zip
  Download failed: Code 403.
+++ readlink -f /docker-entrypoint.sh
++ dirname /docker-entrypoint.sh
+ INSTALLED_DIRECTORY=/
+ FACTORIO_VOL=/factorio
+ LOAD_LATEST_SAVE=true
+ GENERATE_NEW_SAVE=false
+ PRESET=
+ SAVE_NAME=
+ BIND=
+ CONSOLE_LOG_LOCATION=
+ mkdir -p /factorio
+ mkdir -p /factorio/saves
+ mkdir -p /factorio/config
+ mkdir -p /factorio/mods
+ mkdir -p /factorio/scenarios
+ mkdir -p /factorio/script-output
+ [[ ! -f /factorio/config/rconpw ]]
+ [[ ! -f /factorio/config/server-settings.json ]]
+ [[ ! -f /factorio/config/map-gen-settings.json ]]
+ [[ ! -f /factorio/config/map-settings.json ]]
++ find -L /factorio/saves -iname '*.tmp.zip' -mindepth 1
++ wc -l
+ NRTMPSAVES=0
+ [[ 0 -gt 0 ]]
+ [[ true == \t\r\u\e ]]
+ //docker-update-mods.sh
Checking for update of mod elevated-rails for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod quality for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod space-age for factorio 2.0.12 ...
  Not compatible with version
Checking for update of mod alien-biomes-graphics for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod BottleneckLite for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod bullet-trails for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod even-distribution for factorio 2.0.12 ...
  Already up-to-date.
Checking for update of mod factoryplanner for factorio 2.0.12 ...
  Downloading factoryplanner_2.0.4.zip
  Download failed: Code 403

@Fank
Copy link
Member

Fank commented Nov 2, 2024

403 is not related to wrong version beeing used, but did you checked that the username and token is correctly provided?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants