Aspects' Superset is not showing old enrollments

Hello

I’ve succesfully installed tutor-contrib-aspects plugin in an stage environment, connected to a remote Clickhouse instance.

I’ve runned all the commands suggested in the Data Population Options in tutor plugin documentation and they all completed propertly

The problem is that I can see the Reports tab and Superset application, but it only reflects the enrollments being made AFTER aspects setup (See the following screenshot)

Any suggestion? What am I making wrong?

Thanks in advance

Regards

Hi @Yago , thanks for the explanation. Are you using Tutor local? There is currently an issue where the tutor local do jobs don’t mount the tracking log file and so don’t find any events to carry over. Right now you can work around this by getting a shell on an LMS container and running the management command directly. Presuming you are using the Aspects and Tutor defaults it will look like this:

python manage.py lms transform_tracking_logs \
--source_provider LOCAL \
--source_config '{"key": "/openedx/data/", "prefix": "tracking.log", "container": "logs"}' \
--destination_provider LRS \
--transformer_type xapi

If that doesn’t work, can you please send the results of the command?

Best,

Ty

There are also ways of mounting the directory that may be easier if you run into trouble here. I’ve also opened an issue against Tutor about this: Bug: Jobs do not mount the data dir, causing logs to be lost · Issue #1263 · overhangio/tutor · GitHub

1 Like

Hi @TyHob , thank you very much for your response, it solves the issue with the enrollments!! :clap:

Hope the GitHub issue helps to fix this for the future. Just let me know if I can help somehow.

In the other hand, while my problems with data seem to be fixed, still have some issues with chart visualization. I’ll add more info in Aspects’ dashboards do not reflect pages, problems or video visualizations - Site Operators - Open edX discussions

Bests