MattW
Well-known member
If you attempt to upgrade to XF2.3, and the server is running cPanel with Imunify360, you might find that it just times out or throws a 503 error during the upgrade process, and it never completes. The files aren’t overwritten, as the upgrade file isn’t fetched from XenForo.
I’ve tracked this down and below in the fix that’s needed:
Error to look for in your logs;
I’ve tracked this down and below in the fix that’s needed:
Code:
[11:43][root@cp8.mattwservices.uk modsec]# pwd
/etc/apache2/conf.d/modsec
Code:
[11:43][root@cp8.mattwservices.uk modsec]# cat modsec2.user.conf
SecRequestBodyNoFilesLimit 10485760
Code:
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd --restart
Error to look for in your logs;
Code:
[Sat Jul 27 16:45:43.609453 2024] [security2:error] [pid 2083665:tid 2083680] [remote IP:63333] [client IP] ModSecurity: Request body no files data length is larger than the configured limit (1048576). [hostname "mortgagepayoff.club"] [uri "/install/oc-upgrader.php"] [unique_id "ZqUWJzsgj-eNQek0XeAsiAABEg4"], referer: https://mortgagepayoff.club/install/oc-upgrader.php