Kiwix not starting "exited" error

My YunoHost server

Hardware: Raspberry Pi 4
YunoHost version: 11.2.3
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Just installed Kiwix, I can open the domain app but after adding some .zim files it’s not shown, I tried restarting the service but I get an exited error, the logs do not show much, I see the exited error on services in the webinterface

LOGFILE: journalctl
-- Journal begins at Tue 2022-12-06 18:45:10 GMT, ends at Sun 2023-08-13 12:10:03 BST. --
Aug 13 10:29:37 systemd[1]: Started Kiwix: Sharing Web content.
Aug 13 10:29:38 kiwix-serve[458671]: Loading the library from the following files:
Aug 13 10:29:38 kiwix-serve[458671]:         /home/yunohost.app/kiwix/library.xml
Aug 13 10:29:38 kiwix-serve[458671]: The library was successfully loaded.
Aug 13 10:29:38 kiwix-serve[458715]: The Kiwix server is running and can be accessed in the local network at: http://127.0.0.1:42211
Aug 13 11:43:52 systemd[1]: Stopping Kiwix: Sharing Web content...
Aug 13 11:43:53 systemd[1]: kiwix.service: Succeeded.
Aug 13 11:43:53 systemd[1]: Stopped Kiwix: Sharing Web content.
-- Boot 1b018b2e8a884a5590ce3eba3de5e4fd --
Aug 13 11:44:00 systemd[1]: Started Kiwix: Sharing Web content.
Aug 13 11:44:01 kiwix-serve[446]: Loading the library from the following files:
Aug 13 11:44:01 kiwix-serve[446]:         /home/yunohost.app/kiwix/library.xml
Aug 13 11:44:02 kiwix-serve[446]: The library was successfully loaded.
Aug 13 11:44:02 kiwix-serve[653]: The Kiwix server is running and can be accessed in the local network at: http://127.0.0.1:42211
Aug 13 11:47:59 systemd[1]: Stopping Kiwix: Sharing Web content...
Aug 13 11:47:59 systemd[1]: kiwix.service: Succeeded.
Aug 13 11:47:59 systemd[1]: Stopped Kiwix: Sharing Web content.
Aug 13 11:47:59 systemd[1]: Started Kiwix: Sharing Web content.
Aug 13 11:47:59 kiwix-serve[2814]: Loading the library from the following files:
Aug 13 11:47:59 kiwix-serve[2814]:         /home/yunohost.app/kiwix/library.xml
Aug 13 11:47:59 kiwix-serve[2814]: The library was successfully loaded.
Aug 13 11:47:59 kiwix-serve[2819]: The Kiwix server is running and can be accessed in the local network at: http://127.0.0.1:42211
Aug 13 11:56:42 systemd[1]: Stopping Kiwix: Sharing Web content...
Aug 13 11:56:42 systemd[1]: kiwix.service: Succeeded.
Aug 13 11:56:42 systemd[1]: Stopped Kiwix: Sharing Web content.
Aug 13 11:56:42 systemd[1]: Started Kiwix: Sharing Web content.
Aug 13 11:56:43 kiwix-serve[4949]: Loading the library from the following files:
Aug 13 11:56:43 kiwix-serve[4949]:         /home/yunohost.app/kiwix/library.xml
Aug 13 11:56:43 kiwix-serve[4949]: The library was successfully loaded.
Aug 13 11:56:43 kiwix-serve[4953]: The Kiwix server is running and can be accessed in the local network at: http://127.0.0.1:42211
Aug 13 11:59:36 systemd[1]: Stopping Kiwix: Sharing Web content...
Aug 13 11:59:36 systemd[1]: kiwix.service: Succeeded.
Aug 13 11:59:36 systemd[1]: Stopped Kiwix: Sharing Web content.
Aug 13 11:59:36 systemd[1]: Started Kiwix: Sharing Web content.
Aug 13 11:59:36 kiwix-serve[5121]: Loading the library from the following files:
Aug 13 11:59:36 kiwix-serve[5121]:         /home/yunohost.app/kiwix/library.xml
Aug 13 11:59:36 kiwix-serve[5121]: The library was successfully loaded.
Aug 13 11:59:36 kiwix-serve[5123]: The Kiwix server is running and can be accessed in the local network at: http://127.0.0.1:42211

There was a Kiwix update today, that fixed the exited error, however it’s not loading my .zim files that I moved to /home/yunohost.app/kiwix.
What could be wrong?

did you use the config panel to download .zim files?

I think you need to run this command:

 /var/www/kiwix/kiwix-manage /home/yunohost.app/kiwix/library.xml add /home/yunohost.app/kiwix/*.zim
$ sudo  /var/www/kiwix/kiwix-manage /home/yunohost.app/kiwix/library.xml add /home/yunohost.app/kiwix/*.zim
Cannot add zim /home/yunohost.app/kiwix/*.zim to the library.

I downloaded them from the website and added them manually, how to download them from the config panel?

in the webadmin, app page

1 Like

Oh I found the Upload content in the webadmin app interface, so much easier.
But after adding some .zim files and restarting the service, I see nothing yet.
Actually one wiki showed up, only the MD wiki…others nothing.
I tested a few, some .zim files appears after uploading, other don’t

Edit: I removed the previous files tranferred to that folder, now every .zim file works! it’s amazing kiwix!! thanks for all the maintainers of this app!!!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.