you should donate more.
Issues with savegames
-
Please note:
Starting from any time today the latest savegames seem to download incorrectly.
Please see this thread starting from
http://www.axisandallies.org/forums/index.php?topic=38276.msg1574966#msg1574966
for further information.
-
Update:
It works again now. New savegames can be downloaded correctly from the forums.
But it appears that the savegames that were posted to the forum during the last about 24 hours
are still broken (filesize 0). -
The issue is back again. Starting from any time today.
See
http://www.axisandallies.org/forums/index.php?topic=38443.msg1575454#msg1575454 -
The problem is that we ran out of space again. 40 GB of space used primarily for save games. That’s a lot. I’m working on freeing up space now.
-
I just freed up 12GB by deleting savegames older than 1 year. Everything should be working again.
-
Confirmed, thank you :-)
-
I just freed up 12GB by deleting savegames older than 1 year. Everything should be working again.
Yeah, I had wondered how we could keep consuming space at the rate that play by forum does. Perhaps auto-delete save games older than one month when the thread has an updated save game? Or is the latter part difficult or needing to be limited to each nation?
-
If you are on some variant of *nix, here’s a command line to delete all but the most recent save game:
ls triplea_*.tsvg| cut -d_ -f1-2 | sort -u| while read f;do x=
ls -t1 ${f}* | head -1
; echo XXX $x;files=ls ${f}* | grep -v $x
;[ -s “$files” ] && rm $files;doneEDIT: The above isn’t quite right. Try:
ls triplea_*.tsvg| cut -d_ -f1-2 | sort -u| while read f;do x=
ls -t1 ${f}* | head -1 | cut -d\( -f1
; echo XXX $x;files=ls ${f}* | grep -v $x
;rm $files ; doneDry run:
ls triplea_*.tsvg| cut -d_ -f1-2 | sort -u| while read f;do x=
ls -t1 ${f}* | head -1 | cut -d\( -f1
; echo XXX $x;files=ls ${f}* | grep -v $x
;echo to delete $files ; done -
Unfortunately there is more to it than that. I have to remove the references from the database. I output the filenames from the DB first, then remove the reference from the DB, then delete the files.
-
Unfortunately there is more to it than that. I have to remove the references from the database. I output the filenames from the DB first, then remove the reference from the DB, then delete the files.
If you want to do it properly, then yes. What I’m saying would leave a hanging reference - but that still applies when the file can’t be uploaded because of a lack of space.
-
But wait, there’s more. The way that SMF works, files are not uploaded with the original file names. There is no way for me to determine the difference between a save game file and an avatar. It’s kinda terrible.
-
I guess the theory is that if two files are uploaded with the same name, that has to be supported.
-
Good point.