# Enabling the forum on maple

**URL:** <https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324>\
**Category:** Tutor Help\
**Tags:** tutor, tutor-forum\
**Created:** [February 8, 2023, 5:55pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324 "2023-02-08T17:55:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 8, 2023, 5:55pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/1 "2023-02-08T17:55:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![regis](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/regis/32/2640_2.png) [@regis](https://discuss.openedx.org/u/regis)\
**Post date:** [February 9, 2023, 8:10am UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/2 "2023-02-09T08:10:18Z")

</div>

> [@Pat\_Gunn](#):
>
> plugins enable forum; config save ; local stop ; images build openedx ; local start -d

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.

Source: [GitHub - overhangio/tutor-forum: This plugin adds discussion forums to your Open edX platform, such that students can have conversations about the courses they are following right in your LMS](https://github.com/overhangio/tutor-forum/)

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 9, 2023, 8:33am UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/3 "2023-02-09T08:33:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![regis](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/regis/32/2640_2.png) [@regis](https://discuss.openedx.org/u/regis)\
**Post date:** [February 9, 2023, 9:52am UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/4 "2023-02-09T09:52:06Z")

</div>

Can you post a screenshot? cc @ghassan who is a maintainer for the tutor-forum plugin.

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 9, 2023, 1:15pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/5 "2023-02-09T13:15:47Z")

</div>

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:  
[![](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e96178771033d1450f9612e9a1e68680fc6d2824.jpeg) ](https://dl.dropboxusercontent.com/s/pyjj9dofedzqcn5/openedx_forum_issue.jpg?dl=0)

---

<div class="post-metadata">

**Author:** ![ghassan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/ghassan/32/2779_2.png) [@ghassan](https://discuss.openedx.org/u/ghassan)\
**Post date:** [February 13, 2023, 1:38pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/6 "2023-02-13T13:38:39Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 13, 2023, 2:15pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/7 "2023-02-13T14:15:03Z")

</div>

Please find attached a screenshot of the dev console; nothing looks particularly worrying there unless that source map thing is it.

[![](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/8/8ccb01a52332997dadd17419e30aa13040471bfb.jpeg) ](https://dl.dropboxusercontent.com/s/h0z9oz5dab10dl1/openedx_forum_issue_2.jpg?dl=0)

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.

---

<div class="post-metadata">

**Author:** ![ghassan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/ghassan/32/2779_2.png) [@ghassan](https://discuss.openedx.org/u/ghassan)\
**Post date:** [February 13, 2023, 3:32pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/8 "2023-02-13T15:32:26Z")

</div>

> [@Pat\_Gunn](#):
>
> I think the content people tried changing the theme; If they did I doubt they intended to change the forum page styling

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

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 13, 2023, 3:59pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/9 "2023-02-13T15:59:55Z")

</div>

Is there a trivial, non disruptive way to revert to that image?

---

<div class="post-metadata">

**Author:** ![ghassan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/ghassan/32/2779_2.png) [@ghassan](https://discuss.openedx.org/u/ghassan)\
**Post date:** [February 13, 2023, 4:15pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/10 "2023-02-13T16:15:33Z")

</div>

i think if you haven’t change the docker tag of the open edx image, then it can be done by:

- Getting rid of the built image
  - remove the built docker open edx image, `docker image rm overhangio/openedx:tag ` _double tab and it will suggest version, remove all_
  - Rename the openedx built image to any thing _in case you wouldn’t want to remove them_.

- repull the openedx image `tutor images pull openedx`

Note when removing the image you need to stop the container which suppose to be lms/cms and their workers.

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 14, 2023, 10:33pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/11 "2023-02-14T22:33:07Z")

</div>

I’ve tried a lot of variants on your suggested command (didn’t use the port 3737 interface; used the commandline) and it doesn’t seem to be valid.

```auto
root@ip-IP:/home/ubuntu# docker image ls | grep overhangio
overhangio/openedx-mfe 13.0.1 2bffa58b5ca2 12 months ago 78.3MB
overhangio/openedx 13.1.0 bb9569681c41 12 months ago 2.85GB
overhangio/openedx <none> 2e1fb7aa0665 13 months ago 2.84GB
overhangio/openedx-permissions 13.1.0 b24e3add4256 13 months ago 5.61MB
overhangio/openedx-notes 13.0.0 4b2c60123a65 14 months ago 642MB
overhangio/openedx-forum 13.0.0 f99db731b6d4 14 months ago 547MB

root@ip-IP:/home/ubuntu# docker image rm overhangio/openedx:tag
Error: No such image: overhangio/openedx:tag

root@ip-IP:/home/ubuntu# docker image rm overhangio/openedx
Error: No such image: overhangio/openedx

```

---

<div class="post-metadata">

**Author:** ![ghassan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/ghassan/32/2779_2.png) [@ghassan](https://discuss.openedx.org/u/ghassan)\
**Post date:** [February 16, 2023, 11:03am UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/12 "2023-02-16T11:03:58Z")

</div>

> [@Pat\_Gunn](#):
>
> ```auto
> overhangio/openedx <none> 2e1fb7aa0665 13 months ago 2.84GB
> 
> ```

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

* * *

1. [docker rmi | Docker Docs](https://docs.docker.com/engine/reference/commandline/rmi/#examples)

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 16, 2023, 5:28pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/13 "2023-02-16T17:28:18Z")

</div>

Thanks; I did as you instructed but it didn’t seem to change anything. Still no UI to post to the forums.

---

<div class="post-metadata">

**Author:** ![regis](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/regis/32/2640_2.png) [@regis](https://discuss.openedx.org/u/regis)\
**Post date:** [February 23, 2023, 3:33pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/14 "2023-02-23T15:33:37Z")

</div>

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:

 ![Screenshot from 2023-02-23 16-29-20](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e139d356b3d92fba6af8523fd048cb88dbd02f40.png)

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/ ?

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 23, 2023, 4:39pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/15 "2023-02-23T16:39:50Z")

</div>

I don’t have a hidden element there; it goes straight from page-header-secondary to forum-search.

I will dig through the user configuration to see if I can find the create\_thread permission.

Thanks for the lead.

—Pat

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 23, 2023, 5:50pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/16 "2023-02-23T17:50:15Z")

</div>

Actually, I found that text but it’s not where yours is in the DOM; there’s a section that looks like this:

```auto
<section class="discussion inline-discussion" data-discussion-id="<%- discussionId %>">
    <div class="add_post_btn_container <% if (read_only) { %> is-hidden <% } %>">
        <button class="btn-link new-post-btn"><%- gettext("Add a Post") %></button>
    </div>

    <article class="new-post-article is-hidden"></article>

    <div class="inline-discussion-thread-container">
        <section class="inline-threads" data-discussion-id="<%- discussionId %>">
        </section>

        <div class="inline-thread">
            <div class="forum-nav-bar">
                <button class="btn-link all-posts-btn">
                    <span class="icon fa fa-chevron-prev" aria-hidden="true"></span>
                    <span aria-hidden="true"><%- gettext('All Posts') %></span>
                    <span class="sr-only"><%- gettext('Return to all posts') %></span>
                </button>
            </div>
            <div class="forum-content">
            </div>
        </div>
    </div>
</section>

```

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).

---

<div class="post-metadata">

**Author:** ![ghassan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/ghassan/32/2779_2.png) [@ghassan](https://discuss.openedx.org/u/ghassan)\
**Post date:** [February 23, 2023, 6:23pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/17 "2023-02-23T18:23:20Z")

</div>

Did you enable discussion in course advanced settings? i.e. have you followed this doc [17.1. Creating Course Discussions — Building and Running an Open edX Course: Maple Release documentation](https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-maple.master/manage_discussions/discussions.html#id10)

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 23, 2023, 6:38pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/19 "2023-02-23T18:38:25Z")

</div>

I think so.To be sure it’s course-specific, I just made a few more topics for the course in that UI and they show up in the filter topics on the left.

---

<div class="post-metadata">

**Author:** ![ghassan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/ghassan/32/2779_2.png) [@ghassan](https://discuss.openedx.org/u/ghassan)\
**Post date:** [February 23, 2023, 8:31pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/20 "2023-02-23T20:31:05Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![Pat\_Gunn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/pat_gunn/32/4462_2.png) [@Pat\_Gunn](https://discuss.openedx.org/u/Pat_Gunn)\
**Post date:** [February 23, 2023, 9:17pm UTC](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324/21 "2023-02-23T21:17:42Z")

</div>

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.

[Next page](https://discuss.openedx.org/t/enabling-the-forum-on-maple/9324.md?page=2)
