Hello all,
I’m running the Maple release of OpenEdx (with Tutor, I think) from an AMI on AWS; I’m an experienced SRE but still a novice with OpenEdx. I’ve done
plugins enable forum; config save ; local stop ; images build openedx ; local start -d
and the forums now show up in the UI for the course our content people have built. There’s nothing alarming in local logs --follow forum and doing reloads on the /discussion/forum/ URL in the courseware shows the get requests; everything’s returning 200s and happy.
The problem is there doesn’t seem to be any UI to post to the forums; /discussion/forum/ offers to filter topics and says Discussion Home and then the name of our course, but that’s the limit of it.
Some docs I found suggest this can happen if there are blackout dates set for forums, but we don’t have any configuration like that. Viewing the source for the page shows me an “article class=new-post-article is-hidden” but I’m not entirely certain that’s the relevant UI anyway.
I get the feeling I’m very close to having this working; hoping someone might tell me what I’ve missed.
Every time you enable a plugin, you should run tutor local launch. Or if you are running an older release (<v15.0.0) tutor local quickstart. In the case of the forum there is no need to re-build the openedx image. This might be causing the issue that you are facing, so start by running this command.
Thank you Regis for the suggestion; I reran local quickstart from the admin console and it stopped the containers, did some reconfiguration, and started them back up.
Unfortunately, this did not change anything; there is still no UI to post to the discussions.
Sure. (the account for this is called admin but we see the same with other users as well). The URL ends in
/courses/course-v1-IDENTIFIER/discussion/forum/
I don’t have permission to upload the image to the forum because my account here is relatively new; here is a dropbox Link:
I suspect its a front-end issue where there is error in JS/HTML /courses/course-v1-IDENTIFIER/discussion/forum/ would it be doable to check the output of browser dev console when opening the page.
Another question: is seems you are building your openedx image, is this beacuse you have theme change?, did you change the styling of fourm page?
Please find attached a screenshot of the dev console; nothing looks particularly worrying there unless that source map thing is it.
I think the content people tried changing the theme; If they did I doubt they intended to change the forum page styling (but we’re all very new to OpenEdx so it’s possible that mistakes were made). We’ve never used the forums with OpenEdx before - haven’t even gotten them working yet.
It could be that they change a general/common componenet which is used in multiple pages… again just speculating.
in any case to check my hypothesis, it can be done by using the default Open edX image that come be prebuilt with tutor, snd see if the problem persist, if yes. then it has nothing to do with theme changes
I might not have accurate instruction, but in any case this the one you need to remove or rename, you can do via id which is 2e1fb7aa0665 so docker rmi 2e1fb7aa0665[1] shall do it
And then pull it again tutor images pull openedx and lastly restart the services/containers
If you inspect the DOM, can you find a hidden new-post-btn button? It should be located to the left of the “Search all posts” field. Here is a screenshot:
If there is no hidden element there, it might be because the user does not have the “create_thread” permission. Have you created any particular course role in http:///admin/student/courseaccessrole/ ?
If I tinker with the DOM, I can get “Add a Post” to show up with the interface I want, but when I do a test post I get “Your request could not be processed” (and the post attempt doesn’t actually seem to even hit the backend).
Just throughing a guess, it might be the user you are logged with doesn’t have permission to add/create topic.
The membership can be viewd/edited from instructor tab then sub-tab membership. I don’t have deep knowledge if permission mapping, but I think if you are an admin in the course you should be able to create topic,
I don’t see any UI bits to manage any permission with that name, and I made my admin account an instructor and the UI to do new posts in the discussion forum is not present; it has the same lack of posting UI that my test user has.