From fef79752c4879aabc2c937a13560e67d594eb95d Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 21 Nov 2019 12:38:36 -0500 Subject: [PATCH 1/5] Update fl.yml --- roles/2-common/tasks/fl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/2-common/tasks/fl.yml b/roles/2-common/tasks/fl.yml index 24d9f9683..35ee81fd4 100644 --- a/roles/2-common/tasks/fl.yml +++ b/roles/2-common/tasks/fl.yml @@ -1,6 +1,6 @@ # fl.yml signifies "file layout" -- name: Create directories with ownership root:root and permissions 0755 (1 in /etc, 3 in {{ iiab_base }} and 15 in /library) # iiab_base is /opt/iiab +- name: Create directories with ownership root:root and permissions 0755 (1 in /etc, 1 in {{ py3_dist_path }}, 3 in {{ iiab_base }} and 15 in /library) # py3_dist_path is /usr/lib/python3/dist-packages, iiab_base is /opt/iiab file: path: "{{ item }}" owner: root From b2fc1f9e36b5b09aa7b79064f3de42019316b4de Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 21 Nov 2019 12:56:38 -0500 Subject: [PATCH 2/5] Revert Kolibri to 0.12.8 + explain where to get working apt/.deb installers for Kolibri --- roles/kolibri/defaults/main.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/roles/kolibri/defaults/main.yml b/roles/kolibri/defaults/main.yml index 20f52bfab..74b138417 100644 --- a/roles/kolibri/defaults/main.yml +++ b/roles/kolibri/defaults/main.yml @@ -16,7 +16,20 @@ # https://github.com/iiab/iiab/issues/1675 # https://github.com/learningequality/kolibri/issues/5664 -kolibri_deb_url: https://learningequality.org/r/kolibri-deb-latest +kolibri_deb_url: https://github.com/learningequality/kolibri/releases/download/v0.12.8/kolibri_0.12.8-0ubuntu1_all.deb +# kolibri_deb_url: https://learningequality.org/r/kolibri-deb-latest +# 2019-11-21 #2045 - above URL currently redirects to broken Kolibri 0.12.9 release: +# https://storage.googleapis.com/le-releases/downloads/kolibri/v0.12.9/kolibri_0.12.9-0ubuntu1_all.deb +# +# When Kolibri releases a broken apt (.deb) installer (as happened twice year) +# the workaround is to replace the above URL with something like: +# https://github.com/learningequality/kolibri/releases/download/v0.12.8/kolibri_0.12.8-0ubuntu1_all.deb (example past release...these URL's can be found by clicking on "Assets" within releases at https://github.com/learningequality/kolibri/releases) +# https://launchpad.net/~learningequality/+archive/ubuntu/kolibri/+files/kolibri_0.12.9-0ubuntu2_all.deb (example pre-release) +# +# Recently published .deb files can also sometimes be found within: +# http://ppa.launchpad.net/learningequality/kolibri/ubuntu/pool/main/k/kolibri-source/ +# Corresponding with: +# https://launchpad.net/~learningequality/+archive/ubuntu/kolibri # Kolibri folder to store its data and configuration files. kolibri_home: "{{ content_base }}/kolibri" # /library/kolibri From c52875e22a9235cbb15603d0e879a2aaf36d1ccf Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 21 Nov 2019 13:04:01 -0500 Subject: [PATCH 3/5] Clarify Kolibri patched pre-release from @jredrejo --- roles/kolibri/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kolibri/defaults/main.yml b/roles/kolibri/defaults/main.yml index 74b138417..039d92421 100644 --- a/roles/kolibri/defaults/main.yml +++ b/roles/kolibri/defaults/main.yml @@ -24,7 +24,7 @@ kolibri_deb_url: https://github.com/learningequality/kolibri/releases/download/v # When Kolibri releases a broken apt (.deb) installer (as happened twice year) # the workaround is to replace the above URL with something like: # https://github.com/learningequality/kolibri/releases/download/v0.12.8/kolibri_0.12.8-0ubuntu1_all.deb (example past release...these URL's can be found by clicking on "Assets" within releases at https://github.com/learningequality/kolibri/releases) -# https://launchpad.net/~learningequality/+archive/ubuntu/kolibri/+files/kolibri_0.12.9-0ubuntu2_all.deb (example pre-release) +# https://launchpad.net/~learningequality/+archive/ubuntu/kolibri/+files/kolibri_0.12.9-0ubuntu2_all.deb (example 2019-11-21 patched pre-release from @jredrejo) # # Recently published .deb files can also sometimes be found within: # http://ppa.launchpad.net/learningequality/kolibri/ubuntu/pool/main/k/kolibri-source/ From 1c1c828b52894af4f9e35eadab155eb737a13ebe Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 21 Nov 2019 13:13:58 -0500 Subject: [PATCH 4/5] Explain "Assets" under individual Kolibri releases (to find .deb URL's) --- roles/kolibri/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kolibri/defaults/main.yml b/roles/kolibri/defaults/main.yml index 039d92421..46a6da4f6 100644 --- a/roles/kolibri/defaults/main.yml +++ b/roles/kolibri/defaults/main.yml @@ -23,7 +23,7 @@ kolibri_deb_url: https://github.com/learningequality/kolibri/releases/download/v # # When Kolibri releases a broken apt (.deb) installer (as happened twice year) # the workaround is to replace the above URL with something like: -# https://github.com/learningequality/kolibri/releases/download/v0.12.8/kolibri_0.12.8-0ubuntu1_all.deb (example past release...these URL's can be found by clicking on "Assets" within releases at https://github.com/learningequality/kolibri/releases) +# https://github.com/learningequality/kolibri/releases/download/v0.12.8/kolibri_0.12.8-0ubuntu1_all.deb (example past release...these URL's can be found by clicking on "Assets" under individual releases at https://github.com/learningequality/kolibri/releases) # https://launchpad.net/~learningequality/+archive/ubuntu/kolibri/+files/kolibri_0.12.9-0ubuntu2_all.deb (example 2019-11-21 patched pre-release from @jredrejo) # # Recently published .deb files can also sometimes be found within: From af6c1ebc126e7dc8ec161b3412f500602948e029 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 21 Nov 2019 15:35:06 -0500 Subject: [PATCH 5/5] Restore https://learningequality.org/r/kolibri-deb-latest which should now be fixed upstream --- roles/kolibri/defaults/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/roles/kolibri/defaults/main.yml b/roles/kolibri/defaults/main.yml index 46a6da4f6..0214c66bb 100644 --- a/roles/kolibri/defaults/main.yml +++ b/roles/kolibri/defaults/main.yml @@ -16,19 +16,17 @@ # https://github.com/iiab/iiab/issues/1675 # https://github.com/learningequality/kolibri/issues/5664 -kolibri_deb_url: https://github.com/learningequality/kolibri/releases/download/v0.12.8/kolibri_0.12.8-0ubuntu1_all.deb -# kolibri_deb_url: https://learningequality.org/r/kolibri-deb-latest -# 2019-11-21 #2045 - above URL currently redirects to broken Kolibri 0.12.9 release: +kolibri_deb_url: https://learningequality.org/r/kolibri-deb-latest +# 2019-11-21 issue #2045 - above URL had redirected to this broken Kolibri 0.12.9 release: # https://storage.googleapis.com/le-releases/downloads/kolibri/v0.12.9/kolibri_0.12.9-0ubuntu1_all.deb # -# When Kolibri releases a broken apt (.deb) installer (as happened twice year) -# the workaround is to replace the above URL with something like: +# When Kolibri releases a broken apt (.deb) installer (as happened twice year) the workaround is to replace the above URL with something like: # https://github.com/learningequality/kolibri/releases/download/v0.12.8/kolibri_0.12.8-0ubuntu1_all.deb (example past release...these URL's can be found by clicking on "Assets" under individual releases at https://github.com/learningequality/kolibri/releases) # https://launchpad.net/~learningequality/+archive/ubuntu/kolibri/+files/kolibri_0.12.9-0ubuntu2_all.deb (example 2019-11-21 patched pre-release from @jredrejo) # # Recently published .deb files can also sometimes be found within: # http://ppa.launchpad.net/learningequality/kolibri/ubuntu/pool/main/k/kolibri-source/ -# Corresponding with: +# Corresponding to: # https://launchpad.net/~learningequality/+archive/ubuntu/kolibri # Kolibri folder to store its data and configuration files.