Closed Nibb31 closed 11 months ago
first verify that wget -O - https://library.kiwix.org/catalog/v2/entries
works and gives you some xml like
<entry>
<id>urn:uuid:00707c1f-8c78-6a0c-be4a-dd270f12b62a</id>
<title>Wikipedia</title>
<updated>2023-09-03T00:00:00Z</updated>
<summary>offline version of Wikipedia in Ligurian</summary>
<language>lij</language>
<name>wikipedia_lij_all</name>
<flavour>maxi</flavour>
<category>wikipedia</category>
<tags>wikipedia;_category:wikipedia;_pictures:yes;_videos:no;_details:yes;_ftindex:yes</tags>
<articleCount>11184</articleCount>
<mediaCount>21018</mediaCount>
<link rel="http://opds-spec.org/image/thumbnail"
href="/catalog/v2/illustration/00707c1f-8c78-6a0c-be4a-dd270f12b62a/?size=48"
type="image/png;width=48;height=48;scale=1"/>
<link type="text/html" href="/content/wikipedia_lij_all_maxi_2023-09" />
<author>
<name>Wikipedia</name>
</author>
<publisher>
<name>Kiwix</name>
</publisher>
<dc:issued>2023-09-03T00:00:00Z</dc:issued>
<link rel="http://opds-spec.org/acquisition/open-access" type="application/x-zim" href="https://download.kiwix.org/zim/wikipedia/wikipedia_lij_all_maxi_2023-09.zim.meta4" length="196029440" />
</entry>
second, try rerunning with the -g
flag. I presume you may have interrupted the last time that the script attempted to get the remote index, so this flag will ignore your local cache (or you can wait 24 hours for the same effect)
Hi, thanks for the reply.
I'm getting a certificate error when I run the wget
command:
--2023-10-03 22:44:23-- https://library.kiwix.org/catalog/v2/entries
Résolution de library.kiwix.org (library.kiwix.org)… 51.159.108.60
Connexion à library.kiwix.org (library.kiwix.org)|51.159.108.60|:443… connecté.
Erreur : le certificat de « library.kiwix.org » n’est pas de confiance.
Erreur : le certificat de « library.kiwix.org » n’est pas d’un émetteur connu.
I have installed the ca-certificates package (Debian Bullseye).
Edit: I fixed it. It turns out it was a permissions issue on my /etc/ssl/certs folder. Sorry for the bother!
No worries, sounds like a doozy
Hi, I'm getting the following message when I try to run the script with
kiwix-zim.sh /storage/wiki/zim
The /storage/wiki/zim folder looks like this:
What am I doing wrong ?