Open bogatkaj opened 1 week ago
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
Can you try to use the latest build image and share the log, i added some crucial information for debugging?
@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
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