mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Merge branch 'master' into kolibri-apt-not-pip
This commit is contained in:
commit
191482ee0a
11 changed files with 57 additions and 118 deletions
|
@ -83,7 +83,7 @@
|
|||
|
||||
- name: Run /usr/bin/iiab-refresh-wiki-docs (scraper script) to create http://box/info offline documentation. (This script was installed at the beginning of Stage 3 = roles/3-base-server/tasks/main.yml, which ran Apache playbook = roles/httpd/tasks/main.yml)
|
||||
command: /usr/bin/iiab-refresh-wiki-docs
|
||||
when: not nodocs
|
||||
when: internet_available and not nodocs
|
||||
|
||||
- name: Recording STAGE 4 HAS COMPLETED ==================
|
||||
lineinfile:
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
# Which kiwix-tools to download from http://download.iiab.io/packages/
|
||||
# As obtained from http://download.kiwix.org/release/kiwix-tools/ or http://download.kiwix.org/nightly/
|
||||
|
||||
kiwix_version_armhf: "kiwix-tools_linux-armhf-3.0.1-5"
|
||||
kiwix_version_linux64: "kiwix-tools_linux-x86_64-3.0.1-5"
|
||||
kiwix_version_i686: "kiwix-tools_linux-i586-3.0.1-5"
|
||||
kiwix_version_armhf: "kiwix-tools_linux-armhf-3.0.1-6"
|
||||
kiwix_version_linux64: "kiwix-tools_linux-x86_64-3.0.1-6"
|
||||
kiwix_version_i686: "kiwix-tools_linux-i586-3.0.1-6"
|
||||
# kiwix_src_file_i686: "kiwix-linux-i686.tar.bz2"
|
||||
# v0.9 for i686 published May 2014 ("use it to test legacy ZIM content")
|
||||
# v0.10 for i686 published Oct 2016 ("experimental") REPLACED IN EARLY 2018, thx to Matthieu Gautier:
|
||||
|
@ -24,9 +24,9 @@ kiwix_src_file_linux64: "{{ kiwix_version_linux64 }}.tar.gz"
|
|||
kiwix_src_file_i686: "{{ kiwix_version_i686 }}.tar.gz"
|
||||
|
||||
# Used for Kiwix proxy http://box/kiwix/
|
||||
kiwix_url: /kiwix/
|
||||
kiwix_alias_url: /kiwix
|
||||
kiwix_path: "{{ iiab_base }}/kiwix" # /opt/iiab
|
||||
kiwix_url_without_slash: /kiwix
|
||||
kiwix_url: "{{ kiwix_url_without_slash }}/" # /kiwix/
|
||||
kiwix_path: "{{ iiab_base }}/kiwix" # /opt/iiab/kiwix
|
||||
|
||||
# /library/zims contains 3 important things:
|
||||
# - library.xml
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
# SEE https://github.com/iiab/iiab/blob/master/roles/kolibri/templates/kolibri.conf.j2
|
||||
|
||||
# 2018-08-31: FAILS to enable http://box/kiwix
|
||||
#RewriteEngine on
|
||||
#RewriteRule ^{{ kiwix_alias_url }}$ {{ kiwix_url }} [R]
|
||||
#RewriteRule ^{{ kiwix_url_without_slash }}$ {{ kiwix_url }} [R]
|
||||
|
||||
# 2018-08-31: SUCCEEDS in enabling http://box/kiwix
|
||||
RedirectMatch ^{{ kiwix_alias_url }}$ {{ kiwix_url }}
|
||||
RedirectMatch ^{{ kiwix_url_without_slash }}$ {{ kiwix_url }}
|
||||
|
||||
# 2018-08-31: SUCCEEDS in enabling http://box/kiwix/ & http://box/kiwix/zim & http://box/kiwix/zim/
|
||||
#ProxyPreserveHost On
|
||||
|
|
|
@ -40,7 +40,7 @@ Cloning Content
|
|||
Kolibri 0.10 introduced ``kolibri manage deprovision`` which will remove user configurations, leaving content intact — i.e. if student and teacher privacy requires their records be deleted. You can then copy or clone /library/kolibri to a new location, or to a new school entirely.
|
||||
|
||||
Troubleshooting
|
||||
----------------
|
||||
---------------
|
||||
|
||||
You can run the server manually with the following commands::
|
||||
|
||||
|
@ -55,10 +55,10 @@ To return to using the systemd unit file::
|
|||
systemctl start kolibri
|
||||
|
||||
Known Issues
|
||||
-------------
|
||||
------------
|
||||
|
||||
* Kolibri migrations can take a long time on a Raspberry Pi. These long-running migrations could cause kolibri service timeouts. Try running migrations manually using command ``kolibri manage migrate`` after following the troubleshooting instructions above. Kolibri developers are trying to address this issue. (See `learningequality/kolibri#4310 <https://github.com/learningequality/kolibri/issues/4310>`_)
|
||||
|
||||
* Loading channels can take a long time on a Raspberry Pi. When generating channel contents for Khan Academy, the step indicated as “Generating channel listing. This could take a few minutes…” could mean ~30 minutes. The device’s computation power is the bottleneck. You might get logged out while waiting, but this is harmless and the process will continue. Sit tight!
|
||||
|
||||
* Active list of Kolibri issues, as of July 2019: `#1545 <https://github.com/iiab/iiab/issues/1545>`_
|
||||
* Active list of Kolibri issues, as of September 2019: `#1545 <https://github.com/iiab/iiab/issues/1545>`_
|
||||
|
|
|
@ -15,9 +15,11 @@ kolibri_deb_url: https://learningequality.org/r/kolibri-deb-latest
|
|||
# Kolibri folder to store its data and configuration files.
|
||||
kolibri_home: "{{ content_base }}/kolibri" # /library/kolibri
|
||||
|
||||
kolibri_url: /kolibri
|
||||
kolibri_url_without_slash: /kolibri
|
||||
kolibri_url: "{{ kolibri_url_without_slash }}/" # /kolibri/
|
||||
|
||||
kolibri_exec_path: /usr/bin/kolibri
|
||||
#kolibri_venv_path: /usr/local/kolibri
|
||||
#kolibri_venv_path: /usr/local/kolibri # For /usr/local/kolibri/bin/kolibri
|
||||
# 2018-07-16: IIAB recommends /usr/bin but @arky says this isn't yet possible, due to pip
|
||||
#kolibri_exec_path: "{{ kolibri_venv_path }}/bin/kolibri"
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# SEE https://github.com/iiab/iiab/blob/master/roles/kiwix/templates/kiwix.conf.j2
|
||||
RedirectMatch ^{{ kolibri_url_without_slash }}$ {{ kolibri_url }}
|
||||
|
||||
ProxyPreserveHost On
|
||||
ProxyPass {{ kolibri_url }} http://localhost:{{ kolibri_http_port }}{{ kolibri_url }}
|
||||
ProxyPassReverse {{ kolibri_url }} http://localhost:{{ kolibri_http_port }}{{ kolibri_url }}
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
||||
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
||||
|
||||
sugarizer_dir_version: sugarizer-1.1.0 # WAS: sugarizer-1.0, sugarizer-master
|
||||
sugarizer_git_version: v1.1.0 # WAS: v1.0.1, master
|
||||
sugarizer_dir_version: sugarizer-1.2.0 # WAS: sugarizer-1.0, sugarizer-master, sugarizer-1.1.0
|
||||
sugarizer_git_version: v1.2.0 # WAS: v1.0.1, master, v1.1.0
|
||||
# PLEASE HELP MONITOR https://github.com/llaske/sugarizer/releases
|
||||
|
||||
sugarizer_server_dir_version: sugarizer-server-1.1.1 # WAS: sugarizer-server-1.0, sugarizer-server-master, sugarizer-server-dev, sugarizer-server-1.1.0
|
||||
|
|
|
@ -407,11 +407,12 @@ mongodb_install: False
|
|||
mongodb_enabled: False
|
||||
mongodb_port: 27018
|
||||
|
||||
# Regional OSM vector maps use much less disk space than bitmap/raster versions
|
||||
# Regional OSM vector maps use far less disk space than bitmap/raster versions.
|
||||
# Instructions: https://github.com/iiab/iiab/wiki/IIAB-Maps
|
||||
osm_vector_maps_install: True
|
||||
osm_vector_maps_enabled: True
|
||||
iiab_map_url : http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
|
||||
vector_map_path: "{{ content_base }}/www/osm-vector-maps"
|
||||
vector_map_path: "{{ content_base }}/www/osm-vector-maps" # /library/www/osm-vector-maps
|
||||
|
||||
# roles/sugarizer/meta/main.yml auto-invokes 2 above prereqs: mongodb & nodejs
|
||||
# Might stall MongoDB on Power Failure: github.com/xsce/xsce/issues/879
|
||||
|
@ -542,28 +543,31 @@ minetest_flat_world: False
|
|||
# authserver_install: False
|
||||
# authserver_enabled: False
|
||||
|
||||
# CONSIDER THESE 2 NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD, AS OF 2018:
|
||||
# - http://download.iiab.io/content/OSM/vector-tiles/
|
||||
# - http://oer2go.org/viewmod/en-worldmap-10
|
||||
# CONSIDER THESE NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD:
|
||||
#
|
||||
# DOWNLOAD EITHER OSM MANUALLY, OR BETTER YET TRY IIAB'S ADMIN CONSOLE:
|
||||
# http://box/admin -> Install Content -> Get OER2GO(RACHEL) Modules
|
||||
# 2019: https://github.com/iiab/iiab/wiki/IIAB-Maps SEE ABOVE osm_vector_maps_*
|
||||
# 2018: http://download.iiab.io/content/OSM/vector-tiles/
|
||||
# 2017: http://oer2go.org/viewmod/en-worldmap-10
|
||||
#
|
||||
# Unmaintained:
|
||||
# Unmaintained
|
||||
# osm_install: False
|
||||
# osm_enabled: False
|
||||
# Changed in June 2017, from the original:
|
||||
# iiab_install: True
|
||||
# iiab_enabled: False
|
||||
|
||||
# Unmaintained (better to install from http://teamviewer.com or prep scripts at http://download.iiab.io)
|
||||
# teamviewer_install: False
|
||||
# teamviewer_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# docker_install: False
|
||||
# docker_enabled: False
|
||||
|
||||
# THOSE ABOVE WERE STILL OCCASIONALLY USED AS OF SEPTEMBER 2019.
|
||||
# =============================================================================
|
||||
# THOSE BELOW WERE *NOT* USED FOR YEARS, AS OF SEPTEMBER 2019.
|
||||
|
||||
# Unmaintained (better to install from http://teamviewer.com or prep scripts at http://download.iiab.io)
|
||||
# teamviewer_install: False
|
||||
# teamviewer_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# schooltool_install: False
|
||||
# schooltool_enabled: False
|
||||
|
|
|
@ -272,7 +272,8 @@ moodle_install: True
|
|||
moodle_enabled: True
|
||||
# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
|
||||
|
||||
# Regional OSM vector maps use much less disk space than bitmap/raster versions
|
||||
# Regional OSM vector maps use far less disk space than bitmap/raster versions.
|
||||
# Instructions: https://github.com/iiab/iiab/wiki/IIAB-Maps
|
||||
osm_vector_maps_install: True
|
||||
osm_vector_maps_enabled: True
|
||||
|
||||
|
@ -360,41 +361,16 @@ minetest_install: True
|
|||
minetest_enabled: True
|
||||
|
||||
|
||||
# CONSIDER THESE 2 NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD, AS OF 2018:
|
||||
# - http://download.iiab.io/content/OSM/vector-tiles/
|
||||
# - http://oer2go.org/viewmod/en-worldmap-10
|
||||
# CONSIDER THESE NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD:
|
||||
#
|
||||
# DOWNLOAD EITHER OSM MANUALLY, OR BETTER YET TRY IIAB'S ADMIN CONSOLE:
|
||||
# http://box/admin -> Install Content -> Get OER2GO(RACHEL) Modules
|
||||
# 2019: https://github.com/iiab/iiab/wiki/IIAB-Maps SEE ABOVE osm_vector_maps_*
|
||||
# 2018: http://download.iiab.io/content/OSM/vector-tiles/
|
||||
# 2017: http://oer2go.org/viewmod/en-worldmap-10
|
||||
#
|
||||
# Unmaintained
|
||||
# osm_install: False
|
||||
# osm_enabled: False
|
||||
|
||||
# Unmaintained (better to install from http://teamviewer.com or prep scripts at http://download.iiab.io)
|
||||
# teamviewer_install: False
|
||||
# teamviewer_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# docker_install: False
|
||||
# docker_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# schooltool_install: False
|
||||
# schooltool_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# debian_schooltool_install: False
|
||||
# debian_schooltool_enabled: False
|
||||
|
||||
# Unmaintained (consider Calibre or Calibre-Web above?)
|
||||
# pathagar_install: False
|
||||
# pathagar_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# sugar_stats_install: False
|
||||
# sugar_stats_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# xovis_install: False
|
||||
# xovis_enabled: False
|
||||
|
|
|
@ -269,7 +269,8 @@ moodle_install: False
|
|||
moodle_enabled: False
|
||||
# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
|
||||
|
||||
# Regional OSM vector maps use much less disk space than bitmap/raster versions
|
||||
# Regional OSM vector maps use far less disk space than bitmap/raster versions.
|
||||
# Instructions: https://github.com/iiab/iiab/wiki/IIAB-Maps
|
||||
osm_vector_maps_install: True
|
||||
osm_vector_maps_enabled: True
|
||||
|
||||
|
@ -357,41 +358,16 @@ minetest_install: False
|
|||
minetest_enabled: False
|
||||
|
||||
|
||||
# CONSIDER THESE 2 NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD, AS OF 2018:
|
||||
# - http://download.iiab.io/content/OSM/vector-tiles/
|
||||
# - http://oer2go.org/viewmod/en-worldmap-10
|
||||
# CONSIDER THESE NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD:
|
||||
#
|
||||
# DOWNLOAD EITHER OSM MANUALLY, OR BETTER YET TRY IIAB'S ADMIN CONSOLE:
|
||||
# http://box/admin -> Install Content -> Get OER2GO(RACHEL) Modules
|
||||
# 2019: https://github.com/iiab/iiab/wiki/IIAB-Maps SEE ABOVE osm_vector_maps_*
|
||||
# 2018: http://download.iiab.io/content/OSM/vector-tiles/
|
||||
# 2017: http://oer2go.org/viewmod/en-worldmap-10
|
||||
#
|
||||
# Unmaintained
|
||||
# osm_install: False
|
||||
# osm_enabled: False
|
||||
|
||||
# Unmaintained (better to install from http://teamviewer.com or prep scripts at http://download.iiab.io)
|
||||
# teamviewer_install: False
|
||||
# teamviewer_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# docker_install: False
|
||||
# docker_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# schooltool_install: False
|
||||
# schooltool_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# debian_schooltool_install: False
|
||||
# debian_schooltool_enabled: False
|
||||
|
||||
# Unmaintained (consider Calibre or Calibre-Web above?)
|
||||
# pathagar_install: False
|
||||
# pathagar_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# sugar_stats_install: False
|
||||
# sugar_stats_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# xovis_install: False
|
||||
# xovis_enabled: False
|
||||
|
|
|
@ -269,7 +269,8 @@ moodle_install: False
|
|||
moodle_enabled: False
|
||||
# If using Moodle intensively, set apache_high_php_limits in 3-BASE-SERVER
|
||||
|
||||
# Regional OSM vector maps use much less disk space than bitmap/raster versions
|
||||
# Regional OSM vector maps use far less disk space than bitmap/raster versions.
|
||||
# Instructions: https://github.com/iiab/iiab/wiki/IIAB-Maps
|
||||
osm_vector_maps_install: True
|
||||
osm_vector_maps_enabled: True
|
||||
|
||||
|
@ -357,41 +358,16 @@ minetest_install: False
|
|||
minetest_enabled: False
|
||||
|
||||
|
||||
# CONSIDER THESE 2 NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD, AS OF 2018:
|
||||
# - http://download.iiab.io/content/OSM/vector-tiles/
|
||||
# - http://oer2go.org/viewmod/en-worldmap-10
|
||||
# CONSIDER THESE NEW OPENSTREETMAP (OSM) APPROACHES INSTEAD:
|
||||
#
|
||||
# DOWNLOAD EITHER OSM MANUALLY, OR BETTER YET TRY IIAB'S ADMIN CONSOLE:
|
||||
# http://box/admin -> Install Content -> Get OER2GO(RACHEL) Modules
|
||||
# 2019: https://github.com/iiab/iiab/wiki/IIAB-Maps SEE ABOVE osm_vector_maps_*
|
||||
# 2018: http://download.iiab.io/content/OSM/vector-tiles/
|
||||
# 2017: http://oer2go.org/viewmod/en-worldmap-10
|
||||
#
|
||||
# Unmaintained
|
||||
# osm_install: False
|
||||
# osm_enabled: False
|
||||
|
||||
# Unmaintained (better to install from http://teamviewer.com or prep scripts at http://download.iiab.io)
|
||||
# teamviewer_install: False
|
||||
# teamviewer_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# docker_install: False
|
||||
# docker_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# schooltool_install: False
|
||||
# schooltool_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# debian_schooltool_install: False
|
||||
# debian_schooltool_enabled: False
|
||||
|
||||
# Unmaintained (consider Calibre or Calibre-Web above?)
|
||||
# pathagar_install: False
|
||||
# pathagar_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# sugar_stats_install: False
|
||||
# sugar_stats_enabled: False
|
||||
|
||||
# Unmaintained
|
||||
# xovis_install: False
|
||||
# xovis_enabled: False
|
||||
|
|
Loading…
Reference in a new issue