I solved the problem by going into mdl_quiz_sections and deleting the 6 records from the table. Once the upgrade was complete, I went and checked and the records had been recreated. I wish I knew why this happened but I'm happy I was able to complete the upgrade!
Installing and upgrading help
Error writing to database - duplicate entry
This discussion has been locked so you can no longer reply to it.