Hi Community,
we have a strange behaviour with our Moodle installation for a couple of weeks. The problem is that suddenly, without doing any changes in the backend or elsewhere, our Theme and other plugins seem to not work anymore and all requests to "/pluginfile.php/..." get a 404 error in the log file. All other requests work fine. The error appears every few days and lasts between a few minutes to multiple hours.
The error is active for a few weeks now - before that, we had no problems with Moodle for a very long time. Interestingly we noticed that when the error is active and we visit the "/admin" area of Moodle, the URL is rewritten to "/admin/index.php?cache=1". When we call this URL during the error is active, the error immediately disappears and everything is working fine again. It seems like it has something to do with the "cache=1" parameter in the URL.
I have to mention that we switched to a new Moodle theme about 3 months ago (Adaptable). We already tried to get support from their website, but they said that this must be a problem with Moodle and not with their theme.
We also installed a new plugin some weeks ago (qtype_algebra) which first made some problems during installation but now works fine. All plugins are up to date without error in the plugin list. Moodle has all its newest patches and updates:
- Moodle 3.1.11+ (Build: 20180329)
- No error messages, except the 404 errors in the logs (mentioned above) during the error is active
- Ubuntu 16.04 and Apache Web server with PostgreSQL database
As this is a productive website - any help would be really fantastic!
Thank you,
Claus