Internal Server Error #

I’m running nextcloud on kali linux on a raspberry PI. Once I get to the installation page i can select my external hard disk as the data folder and everything seesm to work until i get an internal server error, there is nothing in the nextcloud logs but I get the following on the Apache2 logs:
https://pastebin.com/DsZnpSuB

System:
Kali Linux 2019.4
Running on a Raspberry PI

Check the file permissions of your data folder on the hard disk. The nextcloud is running with the permissions of the web server, this user need read and write permissions on the folder.

the permissions are set as follow:
drwxr-xr-x 5 www-data www-data 4096 Nov 11 21:48 NextCloud

That is my Data folder where my external hard disk is mounted.