Skip to content
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

Flexbooks do not load #103

Open
joostdam opened this issue Mar 13, 2023 · 7 comments
Open

Flexbooks do not load #103

joostdam opened this issue Mar 13, 2023 · 7 comments
Assignees
Labels
bug Something isn't working frontend

Comments

@joostdam
Copy link
Collaborator

In Kolibri Flexbooks are used to present content. These Flexbooks do not load and give a time-out when accessing them.

See for example: http://kolibri.elimupi.online:8080/en/learn/#/topics/c/0bd3d469d7f24b388184e777027386ce?last=TOPICS_TOPIC_SEARCH&topicId=e3c25f96683f45d093daca45bd326e19

Image

@joostdam joostdam added bug Something isn't working frontend labels Mar 14, 2023
@alonsovidales
Copy link
Collaborator

I'm trying to reproduce this issue, I managed to get all the content in the volume and I can see all the other stuff, audios, videos and so on, but I can't see the Flexbooks, I see that they are in content/static but I don't have that folder or the file as it. Am I missing something?
I also see that by default it is requesting by the port 0, I have no idea why, should I take a look at this or am I missing some configuration? Correcting the port I'm just getting a 404 for that URL and I can't see the content anywhere in the volume.

Screen Shot 2023-04-04 at 00 14 27

@joostdam
Copy link
Collaborator Author

joostdam commented Apr 4, 2023

Interesting, I retried and still get the error as shown in the issue. This is what my Console shows:

image

@alonsovidales
Copy link
Collaborator

What version do you have? the Kolibri 0.15.12 ? 🤔

The problem with the port that I was having is because in /mnt/content/kolibri-home/options.ini the param ZIP_CONTENT_PORT was missing so it was casting to 0, that is used here:

Adding it:

[Deployment]
URL_PATH_PREFIX = /
HTTP_PORT = 8080
ZIP_CONTENT_PORT = 8081
[Python]

Now I can see the timeout, so perhaps it was not necessary in an older version or something like that, I don't understand how it could be working without the port there...

I'm checking how the content is being served now that I have the timeout... some progress 👍

@alonsovidales alonsovidales self-assigned this Apr 4, 2023
@alonsovidales
Copy link
Collaborator

ok, fixed 🥳 #107
It was the config + the firewall for the port 8081, now it works as expected.

@joostdam
Copy link
Collaborator Author

joostdam commented Apr 5, 2023

That is great news, I see a fresh image coming up soon.

@joostdam
Copy link
Collaborator Author

joostdam commented Apr 5, 2023

image
I indeed do have 0.15.11

@ltoning
Copy link
Collaborator

ltoning commented Nov 26, 2023

@alonsovidales can this issue be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

3 participants