DCAS Open EdX Documentation

DCAS Open EdX Documentation

  • Docs

›Trouble-Shooting

Creating a Course

  • Create a New Online Course
  • Set Course Schedule & Details
  • Add Sections, Subsections & Units
  • Managing Unit and Component
  • Adding Videos
  • Adding HTML
  • Adding Discussions
  • Adding Problems

    • Adding Problems
    • Problem Types
    • Drag and Drop
    • Pointing on a picture
  • Adding Images and Figures
  • Uploading Static Content
  • Course Visibility
  • Creating pages
  • Grading
  • Commonly Used Advanced Settings

Running a Course

  • Managing Certificates
  • Common Instructor Dashboard Tasks
  • Managing Course Discussions

Advanced Management

  • Importing / Exporting Courses
  • Change a user’s password
  • Inactivate / Activate a User
  • Understanding User Roles
  • Set a user to staff or superuser
  • Server Tasks

    • SSH into Server
    • Set or Change a Password

Migration

  • Migrate EdX (Single-Server)
  • Migrate the Theme

Migrate MySQL

  • Migrating MySQL Database off of Single-Server

Migrate Mongo

  • Migrating Mongo Database off of Single-Server

Configuration

  • Enable and Update Additional Languages
  • Enable Downloads from Instructor tab in LMS
  • Configure and Enable Certificate
  • Configure Open Response Assessment

Configure Ecommerce

  • Basic Ecommerce Setup
  • Setup JWT Keys
  • Getting Course Details on Checkout Page
  • Troubleshoot Ecommerce

Discovery Setup

  • Configure Discovery

Comprehensive theming

  • Setup Comprehensive Theming

Microsites

  • Setup Microsites
  • Common Microsite Configurations

API

  • Setup API
  • Common APIs Demonstration
  • Customizing an API
  • DCAS API Handoff for LMS

Xblock

  • Xblock introduction
  • Xblock installation and uninstallation
  • Xblock Development

Scaling the architecture

  • Scaling Mongo
  • Scaling MySQL
  • Dedicated Storage Configuration Outline
  • Azure Storage Configuration

    • Azure Storage Configuration
    • Basic Configuration
    • Private Blob Configuration

SCORM

  • SCORM Azure Storage

Trouble-Shooting

  • Forgot admin username or password
  • Server error
  • Can't reach your site
  • Problems with RabbitMQ
  • Can't login to LMS or CMS
  • Locate the error
  • Jobs are stucking
  • Mongodb not working
  • Forums Breaking Issue
  • Check open edx services status
  • Problem with mysql
  • Can't receive email
  • CSRF token error

Forgot admin username or password

Introduction

Forgotten passwords can be resolved most of the time by using the "reset password" link on the login page. However, there may be scenarios where a user cannot get email for some reason. In this case, an administrator may reset a password via the shell.

Reset password via shell access

If you don't know the email for admin user you first need to fetch that which you can do through mysql.

SSH into your edx server and connect to your MySQL database. E.g.:

mysql -u root

Xblock Components

change the database to edxapp

use edxapp;

View auth username and email. Note the username.

select username,email from auth_user;

Exit MySQL. Run the commands to reset a users password.

sudo -H -u edxapp bash
cd /edx/app/edxapp/edx-platform
source /edx/app/edxapp/edxapp_env
python manage.py lms changepassword [username]

You are able to reset the password and provide that password to the user.

Create new user using command line

You can also create a new superuser using django command line interface just by using the below command.

sudo su edxapp -s /bin/bash
source /edx/app/edxapp/edxapp_env
cd
/edx/bin/python.edxapp /edx/bin/manage.edxapp lms manage_user username_here email_here@example.com --staff --superuser --settings=aws

Note: The --staff and --superuser flags give the user staff and superuser access. Omit them for users without these roles.

← SCORM Azure StorageServer error →
  • Introduction
  • Reset password via shell access
  • Create new user using command line
DCAS Open EdX Documentation
Docs
Create an Online Course
More
Curricu.me Website
Copyright © 2022 DCAS