iiab / iiab

Internet-in-a-Box - Build your own LIBRARY OF ALEXANDRIA with a Raspberry Pi !
https://internet-in-a-box.org
GNU General Public License v2.0
931 stars 74 forks source link

Kolibri Bug Scrub for IIAB 7.0+ #1545

Open holta opened 5 years ago

holta commented 5 years ago

@arky let's track all these small Kolibri issues that have emerged recently, so everything comes together smoothly for IIAB 7.0:

tstauch commented 5 years ago

Kolibri login page continuously reloads without user interaction.

Completely new fresh install on both Nuc (Ubuntu 18.0.4) and RPi (2019-04-08-raspbian-stretch-lite),

iiab: Full System (3).

On both environments, opening Kolibri from the main menu (/kolibri) results in this indefinite page reload.

I managed to stall the refresh and enter credentials (guessed Admin/changeme) and clicked Login. I then momentarily saw a black bar message saying "You were automatically logged out due to inactivity".

Console log shows some errors:

http://192.168.0.34/kolibri/api/auth/facilityusername/?facility&search=Admin&1560796325304=1560796325304 Response: 403 Forbidden

holta commented 5 years ago

Kolibri login page continuously reloads without user interaction.

Completely new fresh install on both Nuc (Ubuntu 18.0.4) and RPi (2019-04-08-raspbian-stretch-lite),

iiab: Full System (3).

On both environments, opening Kolibri from the main menu (/kolibri) results in this indefinite page reload.

I managed to stall the refresh and enter credentials (guessed Admin/changeme) and clicked Login. I then momentarily saw a black bar message saying "You were automatically logged out due to inactivity".

Console log shows some errors:

http://192.168.0.34/kolibri/api/auth/facilityusername/?facility&search=Admin&1560796325304=1560796325304 Response: 403 Forbidden

Thank you @tstauch !

1) Can you run confirm you're running Kolibri 0.12.3 by running the following?

/usr/local/kolibri/bin/kolibri --version

2) Can you read thru known issue #1532 to see if we can finally crack this in cooperation with Kolibri's upstream staff @rtibbles @jredrejo and @benjaoming ?

rtibbles commented 5 years ago

The 403 looks indicative of a CSRF issue still, with the CSRF token from the cookie still being set to something from a different service.

holta commented 3 years ago

FYI Kolibri 0.14.4 is supposed to be released today:

(Please try it if they do release!)

holta commented 3 years ago

Kolibri 0.14.4's release process has begun... https://github.com/learningequality/kolibri/releases/tag/v0.14.4

Changelog excerpt: "File downloads now run concurrently, taking better advantage of a device's bandwidth and reducing the time needed to import resources from Kolibri Studio or other content sources"

.deb files (and pip .pex files, and other installation packages) can take a few days to appear here: (but let's try it when that happens!) https://learningequality.org/download/

PS .deb files etc should also appear under "Assets" at https://github.com/learningequality/kolibri/releases/tag/v0.14.4 in coming days.

jvonau commented 3 years ago

2739