LMS is not displaying any new published changes

Hi everyone,

I am facing strange issue with tutor latest release, where LMS is not displaying any new published changes. Only top level Section is displayed however subsection(s) and unit(s) are not visible to the students.

Screenshot from Studio

and LMS

CMS and LMS workers logs, not sure if this is normal?

ubuntu@ip-172-31-30-217:~/.local/share/tutor/env/local$ tutor local logs --tail=10 cms-worker
docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.prod.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.tmp.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.override.yml --project-name tutor_local logs --tail 10 cms-worker
Attaching to tutor_local_cms-worker_1
cms-worker_1                 | [2022-07-18 06:23:15,403: ERROR/MainProcess] consumer: Cannot connect to redis://redis:6379/0: Redis is loading the dataset in memory.
cms-worker_1                 | Trying again in 6.00 seconds... (3/100)
cms-worker_1                 | 
cms-worker_1                 | [2022-07-18 06:23:21,412: ERROR/MainProcess] consumer: Cannot connect to redis://redis:6379/0: Redis is loading the dataset in memory.
cms-worker_1                 | Trying again in 8.00 seconds... (4/100)
cms-worker_1                 | 
cms-worker_1                 | [2022-07-18 06:23:29,426: INFO/MainProcess] Connected to redis://redis:6379/0
cms-worker_1                 | [2022-07-18 06:23:29,429: INFO/MainProcess] mingle: searching for neighbors
cms-worker_1                 | [2022-07-18 06:23:30,441: INFO/MainProcess] mingle: all alone
cms-worker_1                 | [2022-07-18 06:23:30,464: INFO/MainProcess] celery@edx.cms.core.default.%2df6fd620ab5 ready.
ubuntu@ip-172-31-30-217:~/.local/share/tutor/env/local$ tutor local logs --tail=10 lms-worker
docker-compose -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.prod.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.tmp.yml -f /home/ubuntu/.local/share/tutor/env/local/docker-compose.override.yml --project-name tutor_local logs --tail 10 lms-worker
Attaching to tutor_local_lms-worker_1
lms-worker_1                 | 2022-07-18 06:23:15,990 ERROR 1 [celery.worker.consumer.consumer] [user None] [ip None] consumer.py:451 - consumer: Cannot connect to redis://redis:6379/0: Redis is loading the dataset in memory.
lms-worker_1                 | Trying again in 6.00 seconds... (3/100)
lms-worker_1                 | 
lms-worker_1                 | 2022-07-18 06:23:21,998 ERROR 1 [celery.worker.consumer.consumer] [user None] [ip None] consumer.py:451 - consumer: Cannot connect to redis://redis:6379/0: Redis is loading the dataset in memory.
lms-worker_1                 | Trying again in 8.00 seconds... (4/100)
lms-worker_1                 | 
lms-worker_1                 | 2022-07-18 06:23:30,010 INFO 1 [celery.worker.consumer.connection] [user None] [ip None] connection.py:22 - Connected to redis://redis:6379/0
lms-worker_1                 | 2022-07-18 06:23:30,013 INFO 1 [celery.worker.consumer.mingle] [user None] [ip None] mingle.py:40 - mingle: searching for neighbors
lms-worker_1                 | 2022-07-18 06:23:31,024 INFO 1 [celery.worker.consumer.mingle] [user None] [ip None] mingle.py:49 - mingle: all alone
lms-worker_1                 | 2022-07-18 06:23:31,057 INFO 1 [celery.apps.worker] [user None] [ip None] worker.py:176 - celery@edx.lms.core.default.%879aba223501 ready.

I have tried following workarounds but none of them have helped.

  1. Server restart
  2. tutor local restart
  3. Troubleshooting — Tutor documentation
  4. tutor local run cms ./manage.py cms force_publish ..

Could anyone please guide what else I shall look for?I have observed logs there are no errors when it comes to existing course.
For existing subsection(s) we are able to add new units which are working as expected.

Thanks!

Hello @mzia,

Check LMS and MFE logs, those logs would be helpful to find the culprit.

And also check the status of your services using tutor local status.

What version of open edX are you running?

@pdpinch I am running nutmeg.1.

Thanks @jramnai. I did check the logs and there were no errors.
“tutor local status” was okay i.e. required services were up.

I restarted the tutor and noticed that cms_worker logs were not flowing, stuck on

celery@edx.lms.core.default.%879aba223501 ready.

I am not sure if this is bug, I restarted only cms_worker, after that the LMS started to publish the changes as expected. I have noticed that I had to do this step whenever I restart tutor local or do stop-start.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.