Я установил mwoffliner 1.6.0 согласно этим инструкциям в Ubuntu 18.10 (космическая, настольная версия). Некоторые программы отсутствовали, и мне, очевидно, удалось установить все из них.
Мне удалось запустить командную строку и загрузить внешнюю вики (а именно ts.wikipedia.org), однако, когда я попытался загрузить свою локальную вики (размещенную локально, внутри Ubuntu 18.10), она закончилась полным провалом. Найдите здесь под командной строкой, которую я mwoffliner --mwUrl=http://192.168.56.5/UnifiedICTDoc --adminEmail=foo@bar.net --verbose --redis=redis://127.0.0.1:6379 --mwWikiPath=/ --mwApiPath=api.php
Согласно сообщению об ошибке, это zimwriterfs
(вызванный mwoffliner
), который не может найти welcome page at '
. Кажется, он ищет Main_Page.html
, тогда как в вики есть только Main_Page
. Я попытался набрать Main_Page.html
(как в http://192.168.56.5/UnifiedICTDoc/index.php/Main_Page.html
вместо http://192.168.56.5/UnifiedICTDoc/index.php/Main_Page
), но вики не нашла Это.
Я не знаю , как дать zimwriterfs
аргумент --welcome=Main_Page
, а не из --welcome=Main_Page.html
, которая появляется на выходе ошибки. На самом деле, если посмотреть на код, отправленный в zimwriterfs
есть 2 --welcome=
arguments, что кажется странным и противоречивым. Найдите здесь ниже конца вывода, заданного параметром --verbose
(я положил конец вывода там, где начинаются ошибки, но, возможно, в этом случае важен только самый конец).
Любые идеи о том, как решить эту проблему, будут высоко оценены.
Create main page redirection...
Saving articles...
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Main_Page&oldid=68
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Main_Page&oldid=68...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IT&oldid=69
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IT&oldid=69...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IT&oldid=69 at /home/pit/Downloads/cac/192_en/6a89ec3991120c028d52...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IT_Procedures&oldid=70
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IT_Procedures&oldid=70...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IT_Procedures&oldid=70 at /home/pit/Downloads/cac/192_en/e222c242065891deecb2...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Apple&oldid=94
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Apple&oldid=94...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Apple&oldid=94 at /home/pit/Downloads/cac/192_en/8974a0b093782a04efea...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=AS_Server&oldid=79
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=AS_Server&oldid=79...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=AS_Server&oldid=79 at /home/pit/Downloads/cac/192_en/9cf768ef56612ddd8cd7...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=ASL_Server&oldid=89
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=ASL_Server&oldid=89...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=ASL_Server&oldid=89 at /home/pit/Downloads/cac/192_en/c0b5e21df4c78b2fb7f6...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Additional_Restricted_or_Tools_Software_Installation&oldid=87
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Additional_Restricted_or_Tools_Software_Installation&oldid=87...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Additional_Restricted_or_Tools_Software_Installation&oldid=87 at /home/pit/Downloads/cac/192_en/54e0ea0e4ef2e50a1c51...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=ICRC_WAN_to_Connect_WAN_Migration&oldid=51
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=ICRC_WAN_to_Connect_WAN_Migration&oldid=51...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=ICRC_WAN_to_Connect_WAN_Migration&oldid=51 at /home/pit/Downloads/cac/192_en/4ef68e32b02ffd66d731...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Network_Installation&oldid=85
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Network_Installation&oldid=85...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Network_Installation&oldid=85 at /home/pit/Downloads/cac/192_en/816eddcf9574bcca187f...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Peripheral_Installation&oldid=78
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Peripheral_Installation&oldid=78...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Peripheral_Installation&oldid=78 at /home/pit/Downloads/cac/192_en/b4e70d7a3187dc0fa857...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Site_Migration&oldid=80
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Site_Migration&oldid=80...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Site_Migration&oldid=80 at /home/pit/Downloads/cac/192_en/d4fb71c124eb9cedbd02...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Unified_Workstation&oldid=32
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Unified_Workstation&oldid=32...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Unified_Workstation&oldid=32 at /home/pit/Downloads/cac/192_en/f8dec06be846056ae4e8...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Virus_infection_and_DRP_Infrastructure_Recover&oldid=81
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Virus_infection_and_DRP_Infrastructure_Recover&oldid=81...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Virus_infection_and_DRP_Infrastructure_Recover&oldid=81 at /home/pit/Downloads/cac/192_en/b2f1f1ce29172b75e9c6...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Xtended_Storage&oldid=33
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Xtended_Storage&oldid=33...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Xtended_Storage&oldid=33 at /home/pit/Downloads/cac/192_en/17b3845e62854eb06a89...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IT_Standards&oldid=34
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IT_Standards&oldid=34...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IT_Standards&oldid=34 at /home/pit/Downloads/cac/192_en/b4476cde1f4c51aa7f0c...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Baseline&oldid=82
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Baseline&oldid=82...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Baseline&oldid=82 at /home/pit/Downloads/cac/192_en/5f118fff319e794f5ccf...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Network&oldid=90
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Network&oldid=90...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Network&oldid=90 at /home/pit/Downloads/cac/192_en/7237405ef5efd9b1caad...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Telecom&oldid=92
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Telecom&oldid=92...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Telecom&oldid=92 at /home/pit/Downloads/cac/192_en/02acdad51aa3a5b34331...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Other_Standards&oldid=91
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Other_Standards&oldid=91...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Other_Standards&oldid=91 at /home/pit/Downloads/cac/192_en/03fdafacd18212177c2b...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IMac-About&oldid=97
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IMac-About&oldid=97...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IMac-About&oldid=97 at /home/pit/Downloads/cac/192_en/4c1555b04b0ccd1a1520...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Managed_Switches&oldid=46
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Managed_Switches&oldid=46...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Managed_Switches&oldid=46 at /home/pit/Downloads/cac/192_en/e1c0d8a7e3b95f948582...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IMac-About-Collapsible&oldid=150
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IMac-About-Collapsible&oldid=150...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=IMac-About-Collapsible&oldid=150 at /home/pit/Downloads/cac/192_en/1ecadf62e667dee7d064...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
Getting (desktop) article from http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Cisco_Aironet_1300_Series_Outdoor_Wireless_Bridge&oldid=148
Downloading http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Cisco_Aironet_1300_Series_Outdoor_Wireless_Bridge&oldid=148...
Caching http://192.168.56.5/UnifiedICTDoc/api.php?action=visualeditor&format=json&paction=parse&page=Cisco_Aironet_1300_Series_Outdoor_Wireless_Bridge&oldid=148 at /home/pit/Downloads/cac/192_en/e13201f13a1089b452c7...
Error by retrieving article: Unrecognized value for parameter "action": visualeditor.
All articles were retrieved and saved.
0 files still to be downloaded.
Process still downloading images...
All images successfuly downloaded
0 images still to be optimized.
Process still optimizing images...
All images successfuly optimized
Building ZIM file /home/pit/Downloads/out/192_en_all_2019-01.zim (zimwriterfs --welcome=index.htm --favicon=favicon.png --language=eng --welcome=Main_Page.html --verbose --tags="56" --name="kiwix.192_en_all" --redirects="/home/pit/Downloads/cac/192_en/192_en_all.redirects" --title="Unified ICT Doc" --description="From Unified ICT Doc" --creator="192" --publisher="Kiwix" "/home/pit/Downloads/tmp/192_en_all_2019-01/" "/home/pit/Downloads/out/192_en_all_2019-01.zim")...
RAID: kiwix.192_en_all
zimwriterfs: unable to find welcome page at '
/home/pit/Downloads/tmp/192_en_all_2019-01
/
Main_Page.html
'. --welcome path/value must be relative to HTML_DIRECTORY.
Failed to run mwoffliner after [105s]: "Failed to build successfuly the ZIM file /home/pit/Downloads/out/192_en_all_2019-01.zim (Error when executing zimwriterfs)"