asahd on v2.5.2
asahd on v2.5.2
asahd on master
Restore nginx.conf.example (compare)
asahd on v2.5.2
asahd on feature-symantic
asahd on master
Added full document toggle to s… Added post and patch metadata. Updated Metadata to update stat… and 6 more (compare)
asahd on feature-symantic
Fixes statement creations being… (compare)
happy-machine on Statement_component
fixed default naming in Stateme… (compare)
asahd on feature-symantic
Changes Forwarding UI, updates … (compare)
ht2 on feature-symantic
Start of shareable dashboards u… Removed filter required paramet… Added validation for shareable … and 49 more (compare)
happy-machine on Statement_component
working as Map (compare)
So After some tries to write statements, I've found my first error traces - or at least a starting point:
2021-09-23 21:05:29:525 - ^[[31merror^[[39m: Failed Mongo connection: no primary found in replicaset or invalid replica set name
2021-09-23 21:05:30:535 - ^[[31merror^[[39m: Failed Mongo connection: no primary found in replicaset or invalid replica set name
2021-09-23 21:05:31:544 - ^[[31merror^[[39m: Failed Mongo connection: no primary found in replicaset or invalid replica set name
2021-09-23 21:05:32:550 - ^[[31merror^[[39m: Failed Mongo connection: no primary found in replicaset or invalid replica set name
2021-09-23 21:05:32:551 - ^[[31merror^[[39m: 32f0e76c-3363-4bf6-9971-a6b3b7e503b2: jscommons handled - A server error occurred
{ message: ^[[32m'Too many retries'^[[39m,
stack:
^[[32m'Error: Too many retries\n at Object.<anonymous> (/usr/local/learninglocker/releases/ll-20210923-ac0803ea165dd49ad74e059a294f5635708d3b80/xapi/node_modules$
Any idea why this would be when Mongo and LL seem to be working in the webapp side? I'm certain mongoDB is talking to LL since I can login and configure LL error-free.
I'm also only using a local mongo install.
If the system that a learning locker instance is forwarding statements to has an outage, is there a decent way to re-retry all statements that didn't successfully forward?
If nothing else, at a glance it looks like one might be able to just edit some values in mongo and the queues might pick things up again?
Anyone having issues with statement forwarding?
I get an error message: "message": "ForwardingRequestError: Unable to connect to \"https://websitename.com/actions/public-api/papi/lrs-completion\"
Started happening beginning of this month...
Hi everyone,
I start Learning locker by docker (https://github.com/michzimny/learninglocker2-docker)
I follow to this video (https://www.youtube.com/watch?v=LiIl_0TF_eE) to add a statementPOST /data/xAPI/statements
But I receive the response{
"more": "",
"statements": []
}
And I saw the log that is the GET method. I don't understand, anyone could help me? Thanks
Hello to all.
I have installed LL v7.1.0 on Ubuntu 18.04 with the deployll.sh script, but I am facing several issues.
The installation script completes successfully without errors, just some warnings, and MongoDB, NginX, PM2, Redis, Nodev10 are all installed successfully, and all daemons are up and running normally.
Afterwards, NginX and MongoDB are running normally, the UI is working and I am able to login, add users, etc, MongoDB is working and behaving normally, but not much else. xAPI is not working.
Redis is installed successfully and its daemon working normally, but is unable to connect to anything, spawns and kills sub-processes too frequently and throws errors.
I have researched every one of the issues but I am unable to find a solution, so I would need your help.
Thanks in advance.
The most serious issues are:
/usr/local/learninglocker/releases/.pm2/pm2.log
PM2 | Error: EACCES: permission denied, open '/var/run/api-0.pid'
PM2 | Error: EACCES: permission denied, open '/var/run/ui-1.pid'
PM2 | Error: EACCES: permission denied, open '/var/run/ui-2.pid'
PM2 | Error: EACCES: permission denied, open '/var/run/scheduler-3.pid'
PM2 | Error: EACCES: permission denied, open '/var/run/xapi-4.pid'
PM2 | Error: EACCES: permission denied, open '/var/run/xapi-5.pid'
/var/log/learninglocker/api_stderr-0.log
0|API | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
0|API | at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
0|API | [32m'Error: Unauthorised\n at _default (/usr/local/learninglocker/releases/ll-20211025-ac0803ea165dd49ad74e059a294f5635708d3b80/webapp/api/dist/server/webpack:/learninglocker/webapp/lib/errors/BaseError.js:5:18)\n at new _default (/usr/local/``learninglocker/releases/ll-20211025-ac0803ea165dd49ad74e059a294f5635708d3b80/webapp/api/dist/server/webpack:/learninglocker/webapp/lib/errors/Unauthorised.js:4:17)\n ...
/var/log/learninglocker/scheduler_stderr-3.log
3|Schedule | [ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
3|Schedule | at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
3|Schedule | Error: ENOENT: no such file or directory, chdir '/usr/local/learninglocker/current/webapp'
/var/log/learninglocker/xapi_stderr-5.log
5|xAPI | 2021-10-21 23:31:25:953 - [31merror[39m: 3ceebe3e-fe71-4994-9979-504f3c7842ca: jscommons handled - A server error occurred
5|xAPI | [32m'Error: Too many retries\n at Object.<anonymous> (/usr/local/learninglocker/releases/ll-20211018-ac0803ea165dd49ad74e059a294f5635708d3b80/xapi/node_modules/jscommons/src/mongoRepo/utils/connectToDb/retryConnection.ts:8:11)\n at step (/usr/local/``learninglocker/releases/ll-20211018-ac0803ea165dd49ad74e059a294f5635708d3b80/xapi/node_modules/jscommons/dist/mongoRepo/utils/connectToDb/retryConnection.js:32:23)\n ...
5|xAPI | 2021-10-21 23:33:35:924 - [31merror[39m: Failed Mongo connection: no primary found in replicaset or invalid replica set name
5|xAPI | Error: ENOENT: no such file or directory, chdir '/usr/local/learninglocker/current/xapi'
@hallshouse
Thanks for your immediate response.
Edited .env file and the warnings regarding the Mongo replicaset have disappeared.
In addition to the errors above, I forgot to mention that I am seeing errors in api_stdout-0.log2021-10-27 14:55:35:149 - ^[[32minfo^[[39m:
==> 🌎 API is running on port 8080
==> 💻 Send requests to http://undefined:8080
Where should the "undefined" be defined?
After I installed LL and by mistake i put the admin password as "1" . It was weak password. I am unable to login. how can I reset it ???????
I used createSiteAdmin.js but it shows an error :
createSiteAdmin.js:1
import logger from 'lib/logger';
and long message lines.
could any one figure how to solve this issue or find a way to reset password
"context": {
"extensions": {
"https://www.paediatriccoughapp.com/extension/nickname": "FightingCough",
"https://www.paediatriccoughapp.com/extension/specialty": "MyNick",
"https://www.paediatriccoughapp.com/extension/country": "Germany"
Hello all. I have installed LL on my ubuntu machine and every thing is ok. But when I try to send an xAPI statements to the LRS, I find that the statements are not sent. The browser debugger shows the following err:
'POST http://localhost/data/xAPI/statements 500 (Internal Server Error)
ADL.XHR_request @ xapiwrapper.js:1525
XAPIWrapper.sendStatement @ xapiwrapper.js:331
sendStatement @ interaction.js:41
onclick @ index.html:39'
I tried using SCORM LRS , there everything goes well.
Help plz
I need to filter by seconds and minutes, rather than hours.
It can be done in the code view of the Data > Source > Query Builder / Statement Explorer by dropping $dte from the query, e.g. the below query, which gives statements within the same second at millisecond precision.
Are there plans to include minutes and seconds in the UI?
Also, it is a bit of dark art to find out how $dte really works, as it seems to not like short periods of time. The same query as below with $dte will briefly flash a pink error message. Z-index is wrong, so partially obscured at the top of the UI.
I found the error message in the browser console: ' Cast to date failed for value "Invalid Date" at path "timestamp" for model "Statement" '. I suspect the reference to "model" is down to the Mongoose model, and the short time interval fails validation?
Is there some documentation of what $dte and other operators allow?
{
"$and": [
{
"$comment": "{\"criterionLabel\":\"A\",\"criteriaPath\":[\"timestamp\"]}",
"timestamp": {
"$gte": "2021-12-29T11:28:27.922Z",
"$lt": "2021-12-29T11:28:27.999Z"
}
}
]
}
Finally, is there a way I can ask for NOW or currentMoment minus some timeframe, e.g. NOW minus 10 seconds? Thank you for any help on this. :-)
"message":"Privileges not sufficient for this operation"
(request/response). Is this something the clients needs to set up in the web client or is the XHR flawed?