Moodle 3.1.2+ (Build: 20161014)
I'm trying to move some assignments and activities from one course to another and I've hit some serious road blocks. I was getting a generic 500 error until I turned on debugging, display IIS errors and not just the generic 500 page, etc. I've also been looking at ETW logging and Microsoft Message Analyzer, server logs in Event Viewer (There are none, so I'm doing something wrong), and the text log files and I can't find any more information than "500 error" and the following error page when I turned off the stock 500 error page:
instantiating backup controller be8e362a52d34460dc38f70d22badc0b
setting controller status to 100
loading controller plan
setting controller status to 300
applying plan defaults
setting controller status to 400
setting file inclusion to 1
checking plan security
setting controller status to 500
checking plan security
checking plan security
checking plan security
saving controller to db
calculating controller checksum 68261278b2e696ccce909d5878afd85b
The checksum and backup controller string always changes, but the rest is the same each time I try either the backup link, or choose a course to import from. I have no idea what's causing this.
Background and other issues: I moved this site when it was still v2.9 from Ubuntu and Apache to Windows 2012 IIS 8.5 about 6 months ago. Initial performance was flawless. After upgrading to 3.0 users would sometimes get 500 errors when logging in, and now in 3.1.2 most users see at least one 500 error when logging in or taking a quiz, thus losing their work.
Are there any steps I can take to root out the problem?
Can caching have anything to do with this? I was using WinCache according to the default instructions in the wincache moodle documentation until I just upgraded to 3.1.2 but I am not using it now (importing/backup still doesn't work).