Internal Server Error postgreSQL

Hi, first time installing nextcloud. After creating the database with postgresql I started nextcloud created the user admin, password and etc. It took a few minutes and gave this
It seems to have been installed because in ~/nextcloud it shows /data where it shows the user it had created before the error. I can even see the default nextcloud files on nextcloud/data/USER/files, like 'Nextcloud manual.pdf. The log file strangely has nothing. In config.php everything looks right.

Tutorial followed:

Commands used:

sudo docker run --name postgres -v /home/pi/nextcloud-db:/var/lib/postgresql/data -e POSTGRES_PASSWORD=MYPASSWD --network nextcloud-net -d postgres
sudo docker run --name nextcloud -d -p 8080:80 -v /home/pi/nextcloud:/var/www/html --network nextcloud-net nextcloud