I just checked and the files associated with the node in you channel are different from the assessment items and files in the “Khan Academy (English)” channel, so the problem should get fixed if you SYNC assessment items and files data for your “Form 3 Biology” channel.
I still don’t understand how this is possible. You said you used the Import from Channels option recently, so you should have gotten the latest files (the imported node should have the same data as the source node which is working), so there might be a bug going on…
In order to try to debug this, I had previously requested your help with this:
@ivan
Thanks for your feedback. I just did a SYNC of those items, republished and then synced it down to our local Kolibri. The images are still not showing in the Form 3 Biology lessons.
The process I followed is I opened the channel, I clicked “SYNC” then chose assessement items and files data.
It finished the sync, then I published. It showed up in Kolibri with a new version. So I clicked “Import”, “Kolibri Studio (Online)” and then agreed to update the version. It showed 0 resources to delete or download. Once finished, I went and checked the assessment items and no change. Below is an example.
As to how the channel was created, I did not do that. A Peace Corps volunteer in the US, who had been living/working here in this village, put these channels together for me. He had to leave bc Peace Corps shut down their worldwide operations bc of Covid. So, I can’t say what procedure he followed to create these channels with the missing images. Still doesn’t explain why I can’t get them to sync and download. Very strange…
Hi Chris, thanks for your patience as we resolve this issue, and thanks for reporting detailed debug information at each step of the process.
I can confirm the SYNC operation worked. The node in your channel now has exactly the same files and assessment items as the source node in the KA channel.
Just to be sure that we’re on the same page, you realize this exercises has 12 questions and only six of these questions contain images, right? So if in your testing you were expecting an image to show up on each question, that is not the correct expectation. Since the exercises has "randomize": true, it is possible you have to solve up to 7 questions before you see an image show up in a question.
If you don’t see any images at all even after solving 7 exercises, one more thing you could try to fix this is to delete the Cells topic and the re-import it.
I can confirm the images show up with a direct link to my system following your instructions. So, is there a way to fix that without having to download the content again? I have not yet downloaded because I have limited metered data these days.
In that case no need to do the delete & reimport — you already have the latest node + files + everything.
The root cause is something to do with the browser — for some reason it is not showing the images for you inside the lesson editor. The content is fine (and probably was fine to begin with).
I’ll have to “escalate” the issue with my colleagues who will know more about that, and for that purpose it would be great if you can provide the following info:
confirm whether images for Question 9 show up or don’t show up in lesson editor (it is a .png, not a .svg)
post the exact URLs to the images that are showing up (after you did the replacement to your local installation).
re-post the Kolibri server info (since you updated, I’ll need the info again)
post the info about the browser version and device you’re using as client
I have a suspicion it is some sort of interaction static file serving, caching, and kolibri-server, but don’t know exactly. BTW, do you see missing in other exercises?
re-post the Kolibri server info (since you updated, I’ll need the info again)
Version: 0.14.0b8
OS: Linux-4.19.69-v7±armv7l-with-debian-9.11
Python: 3.5.3
Installer: kolibri(apt) with kolibri-server Version: 0.3.8~beta2-0ubuntu1
Server: undefined
Database: /home/pi/.kolibri/db.sqlite3
Free disk space: 49 GB
Server time: Tue Jul 07 2020 19:40:38 GMT+0100 (WAT)
Server timezone: Africa/Douala
post the info about the browser version and device you’re using as client
Browsers: MacBook Pro: Mac OS 10.14.6, Safari Version 13.1.1 (14609.2.9.1.3), Firefox 78.0.1 (64-bit),
iPad2 iOS 9.3.5 (Safari), iOS 13 (Safari),
Galaxy Tab 8: Android 8.1.0 Chrome 69.0.3497.100
In terms of next steps, it would be very helpful if you can do the following tests and report back your findings (either here or on the github issue):
A. Try to access the exercise directly outside the lesson editor. I think the link for you should be: http://kolibri.jv:8080/en/learn/#/topics/c/2a4defb24e0449ec8147cf21d4b92429 but if that doesn’t work navigate to the exercise manually from Learn > Channels > Form 3 Biology > Cells > Prokaryotic and Eukaryotic Cells. Answer a few questions until you hit one with an image. Does the image show?
B. Try creating a new Lesson and use the same exercise (in case there was some problem with the data in the old lesson, and it is reusing the old exercise data despite the exercise being fixed). Do the images for Q8, Q9 show in the new lesson?
Do the delete-then-import procedure for that content node (if you use the checkboxes to select only that exercise to delete and re-import it shouldn’t be a heavy download). Then repeat checks A and B again to see maybe fixed.
One last theory is that kolibri-server + nginx is somehow caching the wrong files, so restarting the server might clear the cache. I’m not 100% sure of the commands but try: sudo systemctl stop kolibri-server followed by sudo systemctl start kolibri-server.