learninglocker
learninglocker copied to clipboard
/data/xAPI/activities/state gives 500 due to failed mongo connection
What version were you using?
v7
Found this in /var/log/learninglocker/xapistd_error-4.log
Failed Mongo connection: no primary found in replicaset or invalid replica set name
Hi, did you found a solution ?
This worked for me:
Find your "../current/xapi/.env" and change the line MONGO_URL=mongodb://localhost:27017/learninglocker_v2?replicaSet=rs0 to MONGO_URL=mongodb://localhost:27017/learninglocker_v2