Comments (6)
for more info I tried
root@box:~# /opt/iiab/kiwix/bin/kiwix-serve --port 3000 --nolibrarybutton /library/zims/content/wikipedia_en_medicine_2017-08.zim
and got same issue
last cluster offset larger than file size; file corrupt
Unable to add the ZIM file '/library/zims/content/wikipedia_en_medicine_2017-08.zim' to the internal library.
from kiwix-tools.
I made a zim with just one MP4 video using zimwriterfs and experienced the same problem. (to help isolate the problem). https://puu.sh/xHRRK/063a485ea8.png
from kiwix-tools.
This is not especially a problem with arm but instead a bug in libzim
crashing when trying to read a zim file larger than 4GB on a 32 bits platform.
Next nightly build should be ok.
@darkenvy, Does your zim file is larger than 4GB ?
The error message about the MIME type video/mp4 makes me think it is a different problem.
(zim file can be read, but there is a problem somewhere about the return mimetype).
If your issue is not fixed with last nightly build, please open a new issue.
from kiwix-tools.
FYI @mgautierfr I get the same error after waiting 36h and trying the latest nightly build (http://download.kiwix.org/nightly/2017-09-25/kiwix-tools_armhf_2017-09-25.tar.gz). Which I installed onto RPi3 / Raspbian Stretch then ran:
/opt/iiab/kiwix/bin/kiwix-serve --port 3000 --nolibrarybutton /library/zims/content/wikipedia_en_medicine_2017-08.zim
Which still yields error:
last cluster offset larger than file size; file corrupt
Unable to add the ZIM file '/library/zims/content/wikipedia_en_medicine_2017-08.zim' to the internal library.
While "md5sum wikipedia_en_medicine_2017-08.zim" is confirmed identical on 2 other machines, including @tim-moody's:
23ab5434f3f6b750feabe6d64f01cc02
Background: This ZIM was generated as follows:
wget http://download.kiwix.org/portable/wikipedia/kiwix-0.9+wikipedia_en_medicine_2017-08.zip
unzip kiwix-0.9+wikipedia_en_medicine_2017-08.zip
cat wikipedia_en_medicine_2017-08.zimaa wikipedia_en_medicine_2017-08.zimab wikipedia_en_medicine_2017-08.zimac > wikipedia_en_medicine_2017-08.zim
After moving the wikipedia_en_medicine_2017-08.zim.idx and wikipedia_en_medicine_2017-08.zim into their normal positions, the following did not help :/
systemctl restart kiwix-serve
from kiwix-tools.
@holta Not sure you have caught a version with the fix... Can you just try the really last one: http://download.kiwix.org/nightly/2017-09-28/kiwix-tools_armhf_2017-09-28.tar.gz
from kiwix-tools.
@kelson42 it works great, including:
- title search
- full-text search
- videos work, e.g. http://box:3000/wikipedia_en_medicine_2017-08/A/Measles.html
Thanks! Will the linux64 version possibly be available today too?
from kiwix-tools.
Related Issues (20)
- ABI breakage causes kiwix-tools to not compile HOT 6
- Rebuild of kiwix-tools against against libkiwix.so.13 reports errors HOT 4
- I recommend adding HTTPS to the next version HOT 1
- Coordinates and info boxes are partly missing HOT 3
- 3.6.0, CIA Fact book: use "HTTPS URL to support service workers" HOT 1
- Improve initial landing page - format of tiles HOT 1
- Improve initial landing page - layout of tiles HOT 3
- [Regression]Search and Auto Suggestion Broken for Chinese in 3.6.0 Release HOT 3
- kiwix-serve: start even when one ZIM is damaged HOT 13
- GUI webserver interface development HOT 2
- wrong pictures in askubuntu.com_en_all_2023-11 HOT 3
- ZIM name vs Book name confusion in documentation
- Release 3.7.0
- lcl host until zimit 2.0 upgrade HOT 1
- Unable to read PDF files from Kiwix-serve HOT 3
- [Regression]Search and Auto Suggestion Broken for Chinese in 3.7.0 Release HOT 1
- Kiwix Server suggestion can not really handle longer titles
- No stemming for language 'zh' HOT 3
- Fulltextsearch seems broken under certain conditions HOT 1
- GLIBC Not found, Docker kiwix-serve HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kiwix-tools.