to fix the issue, i re installed nextcloud, letsencrypt, amd mariadb.
I followed this guide and it worked perfectly.
Don't let the command line scare you, it's not that hard.
I have been away for a while and was not using my nextcloud for sometime (maybe 2 months).
I tried to open the web gui the other day and i get a 504 error on the page. (made sure time the zone was setup properly in omv, saw this an a fix. does nexcloud in docker have a time zone setting?)
I have checked the settings in mariadb and nextcloud and they seem to be correct.
i have restarted the both images in docker, still the same.
i have read the logs and it seems i have a connection issue between nextcloud and the mariadb. i'll post the logs.
Hopefully someone can lend me hand.