User Tools

Site Tools


public:learning_locker

LEARNING LOCKER

Learning Locker is a conformant open source Learning Record Store (LRS) started in 2013 by HT2 Labs (now Learning Pool); a type of data repository designed to store learning activity statements generated by xAPI (Tin Can) compliant learning activities. This website provides technical documentation for Learning Locker, for anything else please see the main website.

Learning locker is installed on this VM: 46.18.25.117 spaziod.inf.unibz.it

Installation was done using an Ubuntu 18.04.5 LTS template and then running the installation script:

curl -o- -L https://raw.githubusercontent.com/LearningLocker/deploy/master/deployll.sh > deployll.sh && bash deployll.sh

Update from 18.04 to 20.04 on 29/11/2023!

Restarting the services

To restart the services, simply run the following command:

sudo su learninglocker
service pm2-learninglocker restart

Service status

learninglocker@spaziod:~$ pm2 status

┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
│ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
│ 0  │ API                │ cluster  │ 192… │ online    │ 0.3%     │ 117.6mb  │
│ 3  │ Scheduler          │ cluster  │ 2    │ online    │ 0.3%     │ 81.7mb   │
│ 1  │ UIServer           │ cluster  │ 2    │ online    │ 0.1%     │ 67.6mb   │
│ 2  │ Worker             │ cluster  │ 2    │ online    │ 0.3%     │ 111.5mb  │
│ 4  │ xAPI               │ cluster  │ 2    │ online    │ 0.1%     │ 74.6mb   │
│ 5  │ xAPI               │ cluster  │ 2    │ online    │ 0.3%     │ 75.6mb   │
└────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘

Learning Locker

Service logs

pm2 logs

Log files permissions:

/var/log/learninglocker# ls -l
total 309880
-rw-r--r-- 1 learninglocker learninglocker       755 Oct 23 12:42 api_stderr-0.log
-rw-r--r-- 1 learninglocker learninglocker  49408130 Oct  7 09:20 api_stderr-0.log.bz2
-rw-rw-r-- 1 learninglocker learninglocker 265909741 Jul  6 10:27 api_stderr-0.log.gz
-rw-rw-r-- 1 learninglocker learninglocker    813847 Oct 23 12:41 api_stdout-0.log
-rw-rw-r-- 1 learninglocker learninglocker     11340 Oct 23 12:33 scheduler_stderr-3.log
-rw-rw-r-- 1 learninglocker learninglocker    941749 Oct 23 17:33 scheduler_stdout-3.log
-rw-rw-r-- 1 learninglocker learninglocker      6230 Oct 23 12:33 ui_stderr-1.log
-rw-rw-r-- 1 learninglocker learninglocker      1900 Oct 23 12:33 ui_stdout-1.log
-rw-rw-r-- 1 learninglocker learninglocker    103465 Oct 23 12:33 worker_stderr-2.log
-rw-rw-r-- 1 learninglocker learninglocker     51884 Oct 23 12:33 worker_stdout-2.log
-rw-rw-r-- 1 learninglocker learninglocker     11102 Oct 23 12:33 xapi_stderr-4.log
-rw-rw-r-- 1 learninglocker learninglocker     11648 Oct 23 12:33 xapi_stderr-5.log
-rw-rw-r-- 1 learninglocker learninglocker      2652 Oct 23 12:46 xapi_stdout-4.log
-rw-rw-r-- 1 learninglocker learninglocker      2652 Oct 23 12:47 xapi_stdout-5.log
/data/www/wiki.inf.unibz.it/data/pages/public/learning_locker.txt · Last modified: 2023/11/29 11:25 by kohofer