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-install latest/official kiwix-tools + tighten up code #3391
Conversation
Further testing will be very useful to confirm across all sorts of scenarios in coming days. Thanks all who can help. Also after kiwix-tools 3.3.1 is released in a few short days: |
Thanks to @deldesir who tested this on Debian 11 (Bullseye) on an x86_64 VM (with graphical desktop). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works perfectly on Ubuntu 22.10 and Debian 11.
Many Thanks @deldesir:
|
Very useful kiwix-serve pre-doc, thanks to Renaud Gaudin: |
Instead of IIAB having to hard-code and host a new version of kiwix-tools every month or so:
/opt/iiab/iiab/roles/kiwix/defaults/main.yml
that explains your options much more clearly — e.g. during regression testing (progress testing!) comparing different versions of kiwix-tools, etc.RECAP: As usual, this installs kiwix-tools' 3 executables {kiwix-manage, kiwix-search, kiwix-serve} into /opt/iiab/kiwix/bin but does it in a more compact and automated way than in the past.
Tested on Ubuntu 22.10 (pre-release).
Not a big deal, but a Caveat: downloading of kiwix-tools will occasionally now take a bit longer (e.g. sometimes a full minute) as Kiwix download mirrors can be quite scattershot. These inconsistent results appear to be luck of the draw (very random) from my experience, probably based Kiwix's "round robin" mirror server rotation that's quite a familiar issue over recent years.
Building on: