FAQ/Troubleshooting

This is where troubleshooting docs go.

Common issues

I broke my VM!

Did you take a snapshot? If yes just revert back and continue as normal. If not (or you can't for somereason) you probably messed up the shell during shellshock. Please take a look at the VM Recovery Guide

I don't have a network/internet connection!

  1. Make sure that your host (the computer running the vm) has a network connection. This does not appy if you have an M1/2 Mac.
  2. Try to ping 9.9.9.9. If you don't get a response see the below sections on my network adaptor is ruined.
  3. Try to ping quad9.com. If you do get a response, please come to office hours; Your issue is beyond what a text document can fix. (Hopefully you have a snapshot!)
  4. If step 2 worked, but step 3 did this is likely a DNS issue. Run this command echo nameserver 9.9.9.9 | sudo tee /etc/resolv.conf and see if it works now!
  5. If all else fails, come to OH or revert/rebuild the VM.

My network adaptor is ruined

Go to OH. You will likely need to rebuild the VM or revert to a snapshot.

dcup is not working in a lab

The most likely cause of this is not running dcdown after a previous lab, or having your VM terminate unexpectedly (for example, because you shut your laptop while it was still running) and the old containers are still hanging around, even if they don't show up when you run docsps.

See some helpful instructions from SEED Labs on fixing this issue.

There was some command or code given in a lab, and it's not working

Cut and paste can be a dangerous tool. Many rendering packages will change quotes or other characters into visually identical (but not actually identical) characters, which will not produce the expected result when cutting and pasting into your VM. Be especially careful with quotes and whitespace. If something you are pasting in is not working, try typing it manually instead of cutting and pasting.

FAQ for labs:

  1. Where are the Lab Guidelines?
    1. See here
  2. What should I cite?
    1. When in doubt cite it! Generally speaking the lecture slides/content and material from recitation and OH is okay without a citation.
  3. I don't know what to do.
    1. That's not really a question, but go to OH! Some of these labs are designed to be a bit vague to get you to explore and experiment on your own!