-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://box/kolibri fails with "502 Bad Gateway" (especially when Kolibri 0.14.2 upgraded to 0.14.3 ?) [kolibri.service systemd timeout issue on boot] #2555
Comments
CLARIF: the problem can temporarily be worked around by reinstalling Kolibri (0.14.2 or?) 0.14.3 as follows:
But then the problem would seem to recur...after the next reboot?? :/ |
is the gateway uwsgi? could be conflicts. do an install with only kolibri |
I don't see how re-installing fixes anything, in the log run just would make the service restart in the current boot process, but to narrow this down try without '--reinstall' that would be the equivalent of If the 502 error returns on the next boot grab the requested info above to check the startup times of the kolibri service. Once this info it obtained restart with |
Ref: #1545 |
Don't think captive_portal comes into play
Kolibri itself does not use uwsgi the kolibri-server package does, kolibri-server is omitted and supply the nginx config file in place of it. We omit kolibri-server because our use of kolibri predates the release of kolibri-server when the role was introduced and we used apache at the time. Think the easiest to rule out rewrites would be to test access between via the menu, going direct to http:/ /yourIP/kolibri and direct to http://yourIP:kolibriPORT. The last one really should not be allowed, kolibri should be bound to 127.0.0.1 only to force the use of the nginx proxy similar to use of a socket in kolibri-server. |
|
That 502 error is served up by nginx, find the file used and make a template to replace it. |
Just FYI the RPi 4 with 1GB RAM contained these 2 Kolibri Channels from https://catalog.learningequality.org :
|
I'm opening a separate ticket so we can track this better.
The problem is not yet well understood, but has occurred on both "RaspiOS with desktop" 2020-08-20 and "Ubuntu Desktop" 20.04.1 — each running recent IIAB 7.2 pre-releases from Aug/Sept. Thanks much to @fisherbryan as we diagnose this.
@jvonau summarizes our suspicions so far:
Possibly related:
The text was updated successfully, but these errors were encountered: