Issue:
tutor dev quickstart
fails 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 stop
doesn’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
nightly
suffix, 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 thenightly
version, the directory name will be/some/thing/tutor-nightly
. Otherwise it will just be/some/thing/tutor
If they say
local
instead ofdev
, runtutor local stop
tutor images build --no-cache all
seems to still be using cached layerstry using
tutor dev dc build --no-cache
instead
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 stop
tutor start
with 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 list
re-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 use
This often pops up if you have been running minikube or otherwise using kubectl
Sometimes
minikube delete
will fix it
lsof -i:8001
will show you what’s running there. you can useps -ef | grep <process>
to find the process id and kill it
Page Comparison
General
Content
Integrations