V5 update and other issues

I checked bootstrap/cache and it’s owned by the webuser.

also I found the instructions to do install v5 using git in this page
https://forum2.invoiceninja.com/t/install-invoice-ninja-v5-on-enterprise-linux-8/4293

Steps
I created a new folder and used the git part from the instructions above but it gives me http error when I try to view any pdf
also I tried to do force update I got this error
Cannot update system because routes-v7.php is not writable

All folders chown to webuser

Noted that the zip file from this link doesn’t have the .git folder