Closed Popolechien closed 5 years ago
Thanks. FYI, if you see at the end of this log failed_to_build
, it means that the installer failed so the cause of the issue is likely to be in the installer log and it's unlikely that retrying would fix the problem.
Here the problem lies with the mediawiki data archive which can't be uncompressed:
Extracting /data/kiwix-hotspot.cache/mediawiki_data_fr_2018-10.tar.bz2 to /tmp/tmpgql_2bix/wikifundi_langpack_fr
Call: ['/bin/tar', '-C', '/tmp/tmpgql_2bix/tmpnv8dzxwr', '-x', '-m', '-o', '-f', '/data/kiwix-hotspot.cache/mediawiki_data_fr_2018-10.tar.bz2']
/bin/tar: This does not look like a tar archive
bzip2: (stdin) is not a bzip2 file.
/bin/tar: Child returned status 2
/bin/tar: Error is not recoverable: exiting now
Looking at the download of the archive, we can see that the download was weird:
[06:45:42] --> Retrieving mediawiki_data_fr_2018-10.tar.bz2 (2.12 GiB)
[ ] 0%
[..........................................................] 100%
Saved `mediawiki_data_fr_2018-10.tar.bz2` successfuly: 251 bytes
The file should be 2.12GB
large and we retrieved only 251b
. It says successful so maybe we received a 200
response code for a 404 or a redirection, not sure. FYI, we use the checksum to verify if the file is in cache but we don't control the sum of the result after download. Switching to aria2 (already planned) will fix that.
But, at this moment, the file is not present at http://download.kiwix.org/other/wikifundi/2.0/mediawiki_data_fr_2018-10.tar.bz2
@kelson42 do you know why this file has been removed or moved? where?
@Popolechien, I will close this issue as it is an installer bug (it should have failed from the download stage) but won't open a new issue on the installer has we already plan on switching to aria2 for downloads and that would fix it. The real issue here, for you, is that the mediawiki data is not where expected on the server anymore.
OK @kelson42 re-uploaded the missing files. You can retry.
Here is the log (tried 3 times already)