Reinstallation or troubleshooting steps

The site was not created by me and is said to have been working for a while.
But something happened and the site stopped working, I don’t understand the topic, but I will solve the problem.
Firstly I do:

I try do quickstart with sudo even though it’s not recommended (by the way why?)
Quickstart ran, but stopped ufter tutor_local_forum-job_run installing.

Creating tutor_local_forum-job_run ... done
Waiting for mongodb/elasticsearch...
2022/02/21 20:24:04 Waiting for: tcp://mongodb:27017
2022/02/21 20:24:04 Waiting for: http://elasticsearch:9200
2022/02/21 20:24:04 Received 200 from http://elasticsearch:9200
2022/02/21 20:24:04 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
2022/02/21 20:24:09 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
2022/02/21 20:24:14 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
2022/02/21 20:24:19 Problem with dial: dial tcp 172.18.0.14:27017: connect: connection refused. Sleeping 5s
2022/02/21 20:34:01 Problem with dial: dial tcp: lookup mongodb on 127.0.0.11:53: server misbehaving. Sleeping 5s
2022/02/21 20:34:04 Timeout after 10m0s waiting on dependencies to become available: [tcp://mongodb:27017 http://elasticsearch:9200]
ERROR: 1
Error: Command failed with status 1: docker-compose -f /root/.local/share/tutor/env/local/docker-compose.yml -f /root/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /root/.local/share/tutor/env/local/docker-compose.jobs.yml run --rm forum-job sh -e -c bundle exec rake search:initialize
bundle exec rake search:rebuild_index

rules on permission denied directory

edxadmin@ocs:~$ ls -l /home/edxadmin/.local/share
ls: cannot access '/home/edxadmin/.local/share': Permission denied
edxadmin@ocs:~$ sudo ls -l /home/edxadmin/.local/share
[sudo] password for edxadmin:
total 0
drwx------ 2 root docker  6 мар 25  2021 keyrings
drwx------ 2 root docker 21 мар 19  2021 mc
drwx------ 2 root docker  6 мар 19  2021 nano
drwxrwxr-x 3 root docker 19 мар 25  2021 virtualenv

What can I do in this case? Are there any steps to solve this problem?

They might have run tutor as root the first time. The project root should have been created if tutor used to run on the machine.

Run sudo tutor config printroot to check for the root user.
Otherwise, also check tutor config printroot for other users you suspect they might have used.

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