Web installer on Rpi4 problem

I am trying to install Nextcloud Files on a Rpi4 2GB. I flashed Raspberry Pi OS bullseye light version and followed this guide:
https://pimylifeup.com/raspberry-pi-nextcloud-server/
which is the only one I found for a non-snap/docker installation.
Everything goes according to the plan and I get access to the web interface for the Initial Setup.
After stating login account and database name, I hit Finish Setup. It rolls for a while and then I get a timeout page. When I refresh I get to a login page where the credentials I previously gave don’t work.
I think there has to be something with php memory or time limit and the installation cannot complete, but I don’t know exactly.
Any help would be appreciated.