{"id":24155,"library":"openedx-forum","title":"Open edX Forum","description":"Open edX Forum is the forum application for Open edX platforms, providing threading, commenting, search, and moderation. Version 0.4.3 requires Python >=3.12 and supports MySQL and Typesense backends while dropping MongoDB and Python 3.11 support. Active development with frequent releases.","status":"active","version":"0.4.3","language":"python","source_language":"en","source_url":"https://github.com/openedx/forum","tags":["openedx","forum","discussion","lms","mysql","typesense"],"install":[{"cmd":"pip install openedx-forum","lang":"bash","label":"Install"}],"dependencies":[{"reason":"Django ORM for MySQL backend","package":"django","optional":false},{"reason":"MySQL database driver","package":"mysqlclient","optional":false},{"reason":"Async task queue for email notifications","package":"celery","optional":true},{"reason":"Typesense search backend","package":"typesense","optional":true}],"imports":[{"note":"The main entry point is at the package level.","wrong":"from openedx_forum.forum import start_forum","symbol":"start_forum","correct":"from openedx_forum import start_forum"}],"quickstart":{"code":"import os\nfrom openedx_forum import start_forum\nos.environ.setdefault('DJANGO_SETTINGS_MODULE', 'openedx_forum.settings.dev')\nstart_forum()","lang":"python","description":"Starts the forum application with default dev settings."},"warnings":[{"fix":"Use the mongo2mysql management command before upgrading to 0.4.3.","message":"MongoDB backend removed in v0.4.3. Must migrate to MySQL before upgrading.","severity":"breaking","affected_versions":"<0.4.3"},{"fix":"Upgrade Python environment to 3.12+ before installing v0.4.2+.","message":"Python 3.11 support dropped in v0.4.2. Requires Python >=3.12.","severity":"breaking","affected_versions":"<0.4.2"},{"fix":"Migrate to MySQL backend using the official migration tools.","message":"MongoDB backend deprecated since v0.4.0; removed in v0.4.3. Both MySQL and MongoDB backends existed temporarily but now only MySQL is supported.","severity":"deprecated","affected_versions":"0.4.0-0.4.2"},{"fix":"Set up Typesense and configure settings accordingly.","message":"Typesense search backend introduced in v0.4.1. Existing Elasticsearch/other backends are not supported.","severity":"breaking","affected_versions":">=0.4.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install openedx-forum' then import 'from openedx_forum import start_forum'.","cause":"Package not installed or wrong import path.","error":"ModuleNotFoundError: No module named 'openedx_forum'"},{"fix":"Install mysqlclient: 'pip install mysqlclient' or use apt/yum for system dependencies.","cause":"MySQL backend requires mysqlclient package.","error":"django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?"},{"fix":"Upgrade to forum v0.4.3+ and migrate to MySQL. Ensure DATABASES setting points to MySQL.","cause":"MongoDB backend was removed; trying to connect to MongoDB.","error":"pymongo.errors.ServerSelectionTimeoutError: No servers found"},{"fix":"Upgrade to v0.3.7 or later.","cause":"Bug in sorting threads after pin/unpin in older versions.","error":"RuntimeError: Threads count mismatch after pin/unpin"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}