IIS Upgrade 3.11 to 4 current fails with 500 no errors in logs

IIS Upgrade 3.11 to 4 current fails with 500 no errors in logs

Michael Pennington發表於
Number of replies: 2

Running on IIS - upgrading from 3.11 to current stable release

I am trying to upgrade and I am getting a 500 error but cannot find anything in IIS logs or PHP logs that show what error is occurring.  I have turned on debug in web.config

<system.web>
        <compilation debug="True" />
        <customErrors mode="Off" />
</system.web>   

I have also tried to put in the information to show debug from https://docs.moodle.org/400/en/Internet_Information_Services#Directory_permissions

Neither are showing me the true error, just get the generic 500 error and a blank page.

The one thing that is happening is that whenever I go to the root of the moodle website it redirects me to /admin/index.php  so there is something out there doing a redirect. I have tried with upgrade key on and off, same result, tried going directly to /login/index.php and get redirected to /admin/index.php.

Thoughts?

Thanks

Michael

評比平均分數: -
In reply to Michael Pennington

Re: IIS Upgrade 3.11 to 4 current fails with 500 no errors in logs

Howard Miller發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片
I know nothing whatever about IIS but I would suggest that if an Error 500 isn't turning up in the logs somewhere then something is wrong with the logging. Or you're looking in the wrong place.

If you haven't done so already, switch on Debugging in Moodle.
In reply to Howard Miller

Re: IIS Upgrade 3.11 to 4 current fails with 500 no errors in logs

Michael Pennington發表於
Thank you for your input! I never was able to find any errors in the logs.
I did manage to find a solution. Through trial and error I tracked it down to being the adaptable theme causing the error. I removed it and was able to upgrade to Moodle 4. Then I went to the GitLab of the Adaptable theme and pulled the latest version from there. Apparently there had been some small changes that hadn't made it to the latest release version on the Moodle website.
Hooray!
Thanks!
Michael
評比平均分數:Useful (1)