by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 11 2018 10:21

    asahd on v2.5.2

    (compare)

  • Sep 11 2018 10:21

    asahd on v2.5.2

    (compare)

  • Sep 11 2018 10:19

    asahd on master

    Restore nginx.conf.example (compare)

  • Sep 11 2018 10:05

    asahd on v2.5.2

    (compare)

  • Sep 11 2018 10:04

    asahd on feature-symantic

    (compare)

  • Sep 11 2018 10:04

    asahd on master

    Added full document toggle to s… Added post and patch metadata. Updated Metadata to update stat… and 6 more (compare)

  • Sep 11 2018 10:04
    asahd closed #1232
  • Sep 11 2018 09:05
    asahd labeled #1232
  • Sep 11 2018 09:05
    asahd unlabeled #1232
  • Sep 11 2018 08:42
    asahd synchronize #1232
  • Sep 11 2018 08:42

    asahd on feature-symantic

    Fixes statement creations being… (compare)

  • Sep 10 2018 15:07

    happy-machine on Statement_component

    fixed default naming in Stateme… (compare)

  • Sep 10 2018 12:45
    asahd synchronize #1232
  • Sep 10 2018 12:45

    asahd on feature-symantic

    Changes Forwarding UI, updates … (compare)

  • Sep 10 2018 11:45
    ht2 synchronize #1232
  • Sep 10 2018 11:45

    ht2 on feature-symantic

    Start of shareable dashboards u… Removed filter required paramet… Added validation for shareable … and 49 more (compare)

  • Sep 04 2018 16:29
    cutz opened #1246
  • Sep 04 2018 14:20
    samjaved closed #1245
  • Aug 30 2018 22:20
    ryansmith94 assigned #1242
  • Aug 30 2018 16:43

    happy-machine on Statement_component

    working as Map (compare)

ysguy
@ysguy
Hi Guys, just upgraded my LL installation, now when i run pm2 status i 2x XAPI and nothing else. before there was the standard 4 (API, Worker, XAPI, UIServer). Help....
image.png
ysguy
@ysguy
image.png
image.png
Ran upgrade twice, same errors no workers. Something weird in the installer script with the {INSTALL_DIR} variable, which should return nothing as there is no folder there.
ysguy
@ysguy
FYI, the all.json in the webapp dir had variables in it instead of paths. However the xapi.json was correct. I edited the all.json and substituted the {INSTALL_DIR} etc with paths, saved and ran pm2 start all.json and it works now
well shucks, the installer did nothing, still on 4.10.2
ysguy
@ysguy
or maybe the UI doesnt update the version?
Florian Tolk
@FlorianTolk
I just watched the tutorial for the LL install using the AMI and just had 2 questions
Does the AMI include SSL by default? And what are the credentials to the DB when using the AMI? I am assuming they are the same as the default from the installation shell, but I wanted to make sure
Eugene Chaykin
@strannick-ru

Hello, all. I read the docs, but I don't anderstand -- how works statement forwarding?

I make the test statement forwarding to https://test.url with no-auth and looks to web-server logs on test.url
After it, I try to make new statement with:
curl --location --request POST 'https://ll.test.url/data/xAPI/statements' …
I see a uuid in output and new statement in data / source
But nothing in logs on https://test.url web-server

What I doing wrong?

ma1069
@ma1069
Hi there. I have a question... is there a way to "clean up" the learning locker database? I have been using learning locker for a while, now, but recently the related application got some success and we started facing scaling issues. The main bottleneck seems to be the DB, and now I have "solved" the problem by enlarging the mongodb network. However, even if the problem seems to be mitigated, the system feels pretty slow even when there is nobody connected. My thought is that the db grew a lot, but for 90% it's full of data we don't really care about: lots of access data related to years ago that doesn't mean much anymore, incomplete test tentatives, and so on... Is there a way to "clean" data and improve the overall learning locker performance?
ma1069
@ma1069
In addition to what has been written before, is it really possible that a three nodes cluster in mongoAtlas cannot withstand a learning locker instance with 700k statements? It's 1.5GB total, and the service requires up to 20/30 seconds to answer to any request even when I am the only active user. We added all the indexes we could, the ones suggested from the learninglocker website and the ones suggested by mongo atlas itself, but performance is still terrible. Is this normal for every ll setup?
Stephen Lambert
@tallbalddr_twitter
Hey all, thanks for a great product. This may be a stupid question- I have a correlation visualisation that groups by a desired persona attribute (persona.import.Rotation). The visualisation works when I am logged in Learning Locker, but the wheel just spins when accessing the Shareable dashboard. The other visualisations load on the dashboard. I've tested other visualisations that group by this persona attribute. I was just wondering how I could fix it?
Michael Thorausch
@Scapin_gitlab
I got a new laptop with german win 10 and now the verbs a displayed in german instead of english. Can I configure the UI of LL to use a desired language for displaying statements?
Alizamin Jafarli
@AlizaminJ
@ryansmith94, by default the time set by LL is GMT, is it possible to change it to my local time?
Alizamin Jafarli
@AlizaminJ
@ryansmith94 , another question: while trying to connect to mongoDB in mongoshell, I cannot execute any query - constantly getting "unauthorized". Thanks a lot in advance!
Michael Thorausch
@Scapin_gitlab
I have an connect to an Redis Cache on a different machine from LL via port 6379. But I do not succeed connecting via SSL port 6380.
Michael Thorausch
@Scapin_gitlab
..continued: My question: is SSL/TSL connection basically possible and how do I have to specify the connect string? At the moment I configured in .env: REDIS_URL=redis://username:password@host:6380/0 which does not work.
Ladres
@Ladres
Hello everyone. I started using a louse product recently. And I had a problem using Xapi. I installed my Learning Locker on the local server. Later, I used the Logstore xAPI plugin for my moodle project located on a remote web server. I have a question, how can I get data from a remote web server to my local LL? I used my xAPI endpoint, key and secret in the parameters of the Logstore xAPI plugin, but this does not work. I think I need to deploy Learning Locker on a web server, but can I avoid it. How can I fix it? Thanks.
Florian Tolk
@FlorianTolk
@Ladres Does the endpoint in your plugin end with a "/"
If not, adding this should solve your problem as most xAPI wrappers and plugins do not check for this by default, and then try to send to http://lrs.url.com/xapistatements instead of http://lrs.url.com/xapi/statements
Ladres
@Ladres
@FlorianTolk Thanks, the endpoint didn’t really end with "/". But this did not solve the problem.
Florian Tolk
@FlorianTolk
@Ladres can you send a screenshot of your plugin, or list all of the settings (with the auth blurred of course)
I have had no issue with the plugin working with LL in the past...
Ladres
@Ladres
@FlorianTolk I send the settings of my plugin, as well as a screenshot of my LL.
logstore xapi.png
ll client.png
Florian Tolk
@FlorianTolk
This may seem like an odd, question, but is your moodle instance on teh same machine as your learning locker machine?
Ladres
@Ladres
Now not, when I put my moodle instance and LL on one machine everything worked fine. The problem arose when I tried to get data from my moodle plugin on a remote machine.
Florian Tolk
@FlorianTolk
That's the problem. The localhost url referrs to your "local machine" or the ip address 127.0.0.1

If the two machines are on the same network, you can replace the localhost section with the IP of your
LL machine. Otherwise you need to do some additional networking work.

If it's on the same machine, your endpoint will actually look something like http://128.118.62.9/data/xAPI/

The actual number will obviously be different, but it would look something like this

Ladres
@Ladres
Thanks. I will try to solve this problem as part of my task.
Ryan Smith
@ryansmith94
@FlorianTolk no the AMI doesn't include SSL, that's typically something we apply at the load balancer. You should be able to find the DB credentials in the .env file in the webapp folder.
@strannick-ru you'd have to check the worker logs on the server with pm2 logs worker
@ma1069 700k statements on a 3 node replica set should be fine depending on the specs of the nodes. We have instances of LL running on 3 node replica sets with over 1 billion statements. If you want to delete some statements via the database you certainly can do that.
@Scapin_gitlab LL will use the browser's language, I'm not sure if your browser will allow you to select a language per site.
@AlizaminJ you can change the timezone in your organisation's settings.
@AlizaminJ I'd suggest checking that you're authenticating correctly in your mongoshell using the database configuration from the ".env" file in the webapp folder on your LL server. Otherwise I suggest requesting support from the mongoshell maintainers.
@Scapin_gitlab sorry I'm unable to help with that Redis question, outside my expertise.
@tallbalddr_twitter which version of Learning Locker are you using? Looks like a fix for that might have been applied to Enterprise but not to OS. If so you should be able to replace the code in the "lib/services/auth/modelFilters/persona.js" file with the following code. Feel free to make a pull request for that and link me to it in this chat to get it merged.
import getScopesFromAuthInfo from 'lib/services/auth/authInfoSelectors/getScopesFromAuthInfo';
import getOrgFilter from 'lib/services/auth/filters/getOrgFilter';
import NoAccessError from 'lib/errors/NoAccessError';
import {
  MANAGE_ALL_PERSONAS
} from 'lib/constants/orgScopes';
import { VIEW_SHAREABLE_DASHBOARD } from 'lib/constants/scopes';

import getModelsFilter,
{
  getSiteAdminFilter,
  checkAllowedTokenType,
  checkAllScope
} from 'lib/services/auth/filters/utils/getModelsFilter';

const globalModelFilter = ({ viewAllScopes, editAllScopes }) =>
  async ({ actionName, authInfo }) => {
    const scopes = getScopesFromAuthInfo(authInfo);

    const tokenType = authInfo.token.tokenType;
    switch (actionName) {
      case 'view': {
        switch (tokenType) {
          case 'organisation':
            return getOrgFilter(authInfo);
          default: {
            const isValid = [...viewAllScopes, ...editAllScopes].some(s => scopes.includes(s));
            if (isValid) return getOrgFilter(authInfo);
            throw new NoAccessError();
          }
        }
      }
      default: {
        const isValid = [...viewAllScopes, ...editAllScopes].some(s => scopes.includes(s));
        if (isValid) return getOrgFilter(authInfo);
        throw new NoAccessError();
      }
    }
  };
kjquast
@kjquast
I can login to my running AWS instance via ssh, but not via the Public DNS defined. What could be the reason?
shulamitco
@shulamitco
hii i have LL instance on AWS ec2 and I want to connect LL to other MongoDB account. - not to the default one
Is anybody knows if its possible and how.
thenks
Michael Steigman
@michaelsteigman
hi all. working on an OpenShift/Kubernetes setup for our institution and wanted to see if anyone could take a look at my build log and clue me in on the output, specifically the errors related to grpc. i’ve pasted the log here - https://pastebin.com/tF1zRrQq. the build environment is RHEL7 with Node 10. thanks in advance!
(note that the build ultimately appears to succeed)
the commands used to start the build are:
npm install -g yarn
yarn install --ignore-engines && yarn build-all
ekennedy80
@ekennedy80
I'm trying to clear my Learning Locker instance for testing. Can anyone help me come up with the correct REST API call to clear the data?
Alain Raap
@asm.raap_gitlab
I am trying to integrate Kaltura xAPI videoserver events with LL. The videos are viewed in courses in a Moodle LMS. Anyone experience here how to get this integration working?
Michael Thorausch
@Scapin_gitlab
Hi everybody.
I installed the xAPI-Service inside an Azure Docker Resource via "docker pull learninglocker/xapi-service". Installation was succesful.
I started the image also successfully by "docker run -d -p 8080:80 --env MONGO_URL=<...> --env MONGO_DB=<...> --env REDIS_URL=<...> --env REDIS_PREFIX=<...> <image -name>".
The xapi-service is running and connected to a MongoDB. But when I try to use the service ("http://<servername>.com/xAPI/statements?agent..") I get http error 502 "Cannot Connect". Any suggestions?
Ian Blackburn
@Ian247
@ekennedy80 if you're on version 3.11.0 or above you can use the statement deletion API http://docs.learninglocker.net/http-statement-deletion/
Ryan Smith
@ryansmith94
Wow sorry, not checked in on here for a while it seems.
@kjquast I'm not too sure sorry sounds like a AWS question rather than a LL question.
@shulamitco you would need to change your config according to the docs.
@michaelsteigman it looks like you're missing an option at front of your yarn install. Have a look through our custom install docs.
@asm.raap_gitlab sorry not experienced that, sounds cool though. You might need to use the xapi launch plugin in Moodle
@Scapin_gitlab make sure the port on the machine is exposed, I think the url will be /data/xAPI too
Michael Steigman
@michaelsteigman

thanks @ryansmith94. However, when i add that bit, i get

[4/4] Building fresh packages…
Done in 357.27s.
yarn run v1.22.4
$ babel-node api/build --release && babel-node ui/buildServer --release && babel-node ui/buildClient --release && babel-node cli/build --release && babel-node worker/build --release
/bin/sh: babel-node: command not found
error Command failed with exit code 127.

i’m building from HEAD on master
Julian Davis
@juliandavis71
Hi all - anyone know how you can pull down an attachment sent using CryptoJS from LL?
cevrimiciders
@cevrimiciders
Hi everyone, how can i fully uninstall learning locker. I installed using wget script
Manu-REMY
@Manu-REMY
Hi, I've installed LL on a raspberry pi4 with 4Gb of ram running ubuntu 18.04. I'm facing the issue "There was an error communicating with the login server" while I try to log in. I've restarted pm2-learninglocker service but the error still comes up... Thanks for help.
Manu-REMY
@Manu-REMY
In fact, an error occurred during the installation :
deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse
Unit mongod.service does not exist, proceeding anyway.
[LL] Attempting to start mongod service....
[LL] If this fails you will need to check how the Mongo service is setup for your system and manually start it
Failed to start mongod.service: Unit mongod.service not found.
Failed to enable unit: Unit file mongod.service does not exist.
I've got an old instance of learning locker at aws. I've installed my new one on my own server. How can I restore my statements on my new instance of LL? Thanks for help