INTERNAL SERVER ERROR after installing MediaDC

I installed nextcloud on truenas, and using it remotely right now using DNS. Everything is working, all good, but then I installed cloud python API then installedMediaDC on nextcloud evrything is working but when I go on MediaDC it shows internal server error. I AM CURRENTLY USING IT REMOTELY DONT KNOW IF IT WILL BE WORKING AT HOME…(COULD IT BE PORT FORWARDING? DO I NEED TO ALLOW ANOTHER PORT? I HAVE ALLOWED 80 AND 443)

Need nextcloud.log file to understand where the error is.