Issue:
tutor dev quickstartfails withCode Block ERROR 2003 (HY000): Can't connect to MySQL server on 'mysql' (111) [10/10] Waiting for MySQL service (this may take a while)... MySQL initialisation error
This sometimes just goes away if you wait a minute and try again
Issue:
tutor dev stopdoesn’t actually stop anythingCheck your container names with
docker ps. They should be of the formtutor_nightly_dev_myservice.If they do not have the
nightlysuffix, you may be accidentally running the latest tutor release instead of tutor-nightly. You can check this by runningtutor config printroot. If you are running thenightlyversion, the directory name will be/some/thing/tutor-nightly. Otherwise it will just be/some/thing/tutorIf they say
localinstead ofdev, runtutor local stop
tutor images build --no-cache allseems to still be using cached layerstry using
tutor dev dc build --no-cacheinstead
Possible code mounting issue?
Code Block Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./manage.py": stat ./manage.py: no such file or directory: unknown
Came up any time a command that used docker-compose ‘run’ under the hood. (eg
tutor dev run lms bash)Resolved by just doing a
tutor stoptutor startwith no mount
⚠️ The current environment stored at /Users/username/Library/Application Support/tutor/env is not up-to-date: ...If you had been running tutor-nightly and installed a non-nightly release brach of a plugin it may have updated your tutor-nightly install to the latest named release.
you can check your tutor and plugin versions with
pip listre-installing the nightly branch of tutor should resolve this
ERROR: for cms Cannot start service cms: Ports are not available: listen tcp 0.0.0.0:8001: bind: address already in useThis often pops up if you have been running minikube or otherwise using kubectl
Sometimes
minikube deletewill fix it
lsof -i:8001will show you what’s running there. you can useps -ef | grep <process>to find the process id and kill it
Content Comparison
General
Content
Integrations