Users can still add notes and create new issues, provided they do not contain attachments.APPLICATION ERROR #504
No file was uploaded. Please go back and Choose a file before pressing Upload.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Up to this point, our users have uploaded 84301 attachments to Mantis. The error started occurring today at 11:12 AM Central. I contacted everyone that has access to the virtual machine hosting Mantis, and everyone that has admin access to the site, to see if they changed anything, and they said no.
What I have tried:
- Checked disk space on VM (80GB free)
- Restarted the site in IIS
- Rebooted the VM
- Checked Windows event log for errors
- Tried different browsers (Chrome, Firefox, Edge)
- Enabled verbose logging with $g_log_level = LOG_DATABASE | LOG_WEBSERVICE;, attempted to upload an attachment multiple times, and then checked the Mantis log for errors. All I saw were SQL queries, no errors.
- Checked MySQL log for errors
- Attempted to check if mantis_bug_file_table exceeded any table, row size, or index size limits (InnoDB engine).
- Deleted a large attachment and then uploaded an attachment smaller than the one I deleted. I received the same error. The row count in mantis_bug_file_table went down by 1, and still remains that way.
- Checked IIS log for errors
- Checked max file size in IIS (28.6 MB)
- Checked max file size in Mantis (4.8 MB)
- Checked max file size in PHP (2 MB)
- Checked CPU, network, memory usage on the VM for the past 24 hours for anomalies
Attached a screenshot of our admin/check/index.php. I believe the three errors about collation were there before this issue started happening.
In short, uploading attachments was working, and now it's not. I would appreciate any troubleshooting tips you can provide.