tried already setting the storage folder ownership to
www-data and also my user, i tried
chmod -R 7777 storage as well. I also tried setting to www-data the whole /var/www.
I don’t know what to try anymore, I don’t have this problem in another computer where I have the project. Just cloned this one from gitlab.
A brief extract of the browser’s console