Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error encountered when launching Course in the CTS #40

Open
L1ncx opened this issue May 25, 2022 · 3 comments
Open

Error encountered when launching Course in the CTS #40

L1ncx opened this issue May 25, 2022 · 3 comments

Comments

@L1ncx
Copy link

L1ncx commented May 25, 2022

I'm encountering this error when trying to launch a course I uploaded (from course_package) in the AU > Launch

imageimage

Steps to reproduce:

  1. Launch the CTS client http://127.0.0.1:3399/client/#/ and login
  2. Click New Course and upload a course from the course_package directory
  3. Test the uploaded course, create an Actor
  4. In the Assignable Units Pane, click Launch

This is my cts/.env configuration

image

I've read in the other issues that it may need to install an actual LRS, is this also the case here?

@artstood
Copy link

artstood commented May 26, 2022

As far as I remmember I`ve faced the same problem, and yes the link to actual LRS solved this issue. You can install it locally or use the cloud. I used LRS.io in cloud but that approach produced another kind of problems for me

@catmeme
Copy link

catmeme commented May 27, 2022

Easiest local LRS to add locally, then link your other services by adding - lrs under their depends_on

  lrs:
    environment:
      - LRSQL_API_KEY_DEFAULT=basic_secret
      - LRSQL_API_SECRET_DEFAULT=basic_secret
      - LRSQL_ADMIN_USER_DEFAULT=basic_secret
      - LRSQL_ADMIN_PASS_DEFAULT=basic_secret
      - LRSQL_DB_NAME=lrsql.sqlite.db
    image: yetanalytics/lrsql
    ports:
      - "8080:8080"
    networks:
      - public

@servosdesign
Copy link

servosdesign commented May 24, 2023

Easiest local LRS to add locally, then link your other services by adding - lrs under their depends_on

  lrs:
    environment:
      - LRSQL_API_KEY_DEFAULT=basic_secret
      - LRSQL_API_SECRET_DEFAULT=basic_secret
      - LRSQL_ADMIN_USER_DEFAULT=basic_secret
      - LRSQL_ADMIN_PASS_DEFAULT=basic_secret
      - LRSQL_DB_NAME=lrsql.sqlite.db
    image: yetanalytics/lrsql
    ports:
      - "8080:8080"
    networks:
      - public

How did you get this working with lrsql in a docker container? I have the api key and secret key and everything, but somehow i'm unable to launch to courses like in the picture for this issue. Thank you @catmeme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants