403 Forbidden when trying to upgrade
Posted: 04 Mar 2026, 06:02
We got v2.26.2 currently and host provider upgraded to PHP 8.4 (from 8.0) which broke some SOAP-related stuff. Seeing that https://github.com/mantisbt/mantisbt/pull/2087 was fixed in 2.28.0 I was set to upgrade to that version.
Like with other upgrades I always follow the steps in https://mantisbt.org/docs/master/en-US/ ... preinstall which I did this time as well.
But, when I got to this step:
Why does 2.28.0 throw a Forbidden error? I cannot access the error logs since it's on a hosted server so I cannot get the exact details.
Like with other upgrades I always follow the steps in https://mantisbt.org/docs/master/en-US/ ... preinstall which I did this time as well.
But, when I got to this step:
We get "403 forbidden" when trying to do so. Exact message was "You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe". Tried to add a generic .htaccess file but we still got Forbidden to matter what we did. I gave up and rolled back to 2.26.2.Execute the upgrade script. From your web browser, access
https://yoursite/mantisbt-NEW/admin/install.php
where mantisbt-NEW is the name of the directory where the new release was extracted
Why does 2.28.0 throw a Forbidden error? I cannot access the error logs since it's on a hosted server so I cannot get the exact details.