I’m working on upgrading from makefile to tutor. Here is a summary of where I am on this:
Here are notes that might help Regis improve the instructions:
-
I suspect it might be best to make stop before backing up, but that wasn’t mentioned.
-
I noticed I had to sudo to do the cp -r to backup.
-
It wasn’t totally clear if it mattered where I was when I did tutor local quickstart. It seemed to work from my original openedx directory. I like all those green OK’s going by.
-
Unfortunately I had a problem with the certificates. See below:
Databases ready.
HTTPS certificates generation
docker run --rm -it --volume /home/frohro/.local/share/tutor/data/letsencrypt:/etc/letsencrypt/ -p 80:80 --entrypoint=sh certbot/certbot:latest -c certbot certonly --standalone -n --agree-tos -m admin@edx.fweb.wallawalla.edu -d edx.fweb.wallawalla.edu -d studio.edx.fweb.wallawalla.edu -d preview.edx.fweb.wallawalla.edu
certbot certonly --standalone -n --agree-tos -m admin@edx.fweb.wallawalla.edu -d notes.edx.fweb.wallawalla.edu
docker: Error response from daemon: driver failed programming external connectivity on endpoint gallant_brattain (69fbf58008ed2b6d421af3a2207a24e31b82053bc1ecb201f5e53fd558f2af37): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.
Error: Command failed with status 125: docker run --rm -it --volume /home/frohro/.local/share/tutor/data/letsencrypt:/etc/letsencrypt/ -p 80:80 --entrypoint=sh certbot/certbot:latest -c certbot certonly --standalone -n --agree-tos -m admin@edx.fweb.wallawalla.edu -d edx.fweb.wallawalla.edu -d studio.edx.fweb.wallawalla.edu -d preview.edx.fweb.wallawalla.edu
certbot certonly --standalone -n --agree-tos -m admin@edx.fweb.wallawalla.edu -d notes.edx.fweb.wallawalla.edu
frohro@fweb:~/openedx-docker$
So I stopped apache2, which was a tip from tony-h when I needed to renew certificates, and ran tutor local quickstart again.
Now I think it is up!
However, I can’t sign in yet. I’ll go read the docs.
I did tutor local createuser --staff --superuser yourusername user@email.com with my credentials, but all my classes are gone, and I suspect all my students are lost too.
I tried reindexing the courses, with no effect.
Then I decided this was not likely something I’ll fix in a minute or two so I went to restart my old makefile setup. It reminded me I had not restarted apache2, so I did that and it is back up and running at the moment, so all is well.
It would be nice to finish the upgrade though.
I’m tempted to make stop the old one, and do ttutor local start --detach, again now that apache2 is up, but I really don’t know what I’m doing, and don’t want to mess things up.
Any ideas?
Thanks,
Rob