Good morning all.
I got a notification this morning that v5.2.17 is available to upgrade from v5.2.16. When I try run the update, I get the following error that my .htaccess file is not writable.
[2021-08-07 17:03:49] production.ERROR: Cannot update system because .htaccess is not writable {“userId”:2,“exception”:"[object] (App\Exceptions\FilePermissionsFailure(code: 0): Cannot update system because .htaccess is not writable at /var/www/clients/client4/web5/accounts/app/Http/Controllers/SelfUpdateController.php:104)
I have an .htaccess file in the web root folder, as well as one in the public folder. They are 644 and 755 respectively. I have changed these files to 666 and 777 respectively, but the update is still failing with the same error in the log.
Is there another .htaccess file that I’m missing, which is the one that’s trying to be updated?
Chris