Operating System (e.g. Windows, MacOS, Linux): Windows 10
Browser (e.g. Chrome, Firefox, Safari): Chrome
Channel (Name of the channel you were working on): English1
Description of problem: Can not upload an html zip file.
Operating System (e.g. Windows, MacOS, Linux): Windows 10
Browser (e.g. Chrome, Firefox, Safari): Chrome
Channel (Name of the channel you were working on): English1
Description of problem: Can not upload an html zip file.
Hey there k2edutech, I think we’ll need a bit more information to better help so I have a few questions:
index.html
file in its root directory? I think that Studio expects there to be that file as its the file that is loaded when rendered in Kolibri.I hope this can help us find a resolution!
Best regards,
Jacob
Hi Jacob,
Yes, I have enough space, only 11% is used right now, and the zip file has the index.html. The attachment image shows the Debug Console output.
Regards
K2edutech
Thanks for the additional information.
I think that the confusion might be in the second part that you underlined. Ricecooker will not upload a file that already exists which is why it says new there.
Are you not seeing the file you’ve uploaded reflected in the channel?
My colleague @blaine mentioned that this part of the Ricecooker doc might help clarify.
I hope this helps!
Best regards,
Jacob
Regards,
K2edutech
Hi @k2edutech,
I’ve altered your last post. Please be advised that this forum is publicly accessible, and sharing sensitive information like your API token isn’t appropriate.
You’re correct that you need the --update
flag, as it’s mentioned in the documentation. Also, that same documentation has some clarity on the operation of a content integration (aka ‘chef’) script, such as:
At the end of the chef run the complete channel (files and metadata) will be uploaded to “draft version” of the channel called a “
staging
tree”.
Please be aware that the ‘staging tree’ is separate from the deployed version of the channel, and the staging version is only accessible through a special URL output at the end of the script. So to clarify, you’re seeing that it did not remove the files nor update your HTML5 zip after running your script and checking the staging tree? I had checked your staging tree the other day and did see some changes along those lines.
Since the script is not working for me, can I add an HTML5 zip file manually in an existing channel?
The chef scripts are only one way to curate content on Kolibri Studio. You may also use the Studio web interface to curate content from existing channels and upload your own content. Please be aware that you cannot alter a cheffed channel through the Studio web interface. Kolibri Studio documentation
Regards,
Blaine
Hi Blaine,
Regards,
K2edutech
I ran a test run, but I got an error message “500 Server Error”, as shown below. What is this error about?
K2edutech
Hi @k2edutech,
ricecooker
, you may have received updates to it. We have internal team members using it without running into these issues thoughRegards,
Blaine