Gallery issues with generating preview

I am relatively new to Nextcloud and have tried to adopt it in place of my iCloud setup.

I am running it on unRAID, as a docker with MariaDB/Lets Encrypt/Nginx so its accessible outside the network.

My issue Im having is running the Preview Generator command: ./occ preview:generate-all -vvv

I get this output: Pastebin

I am not sure what I need to do to fix it, as Im pretty new to all of this, but trying to learn. Googling has lead me nowhere really.

If there is any information needed, please let me know, Id like to get this fixed. As of right now when I go to the Gallery tab on Nextcloud, and click Photos, it just spins and spins, but never loads anything.

Try

default_authentication_plugin=mysql_native_password

in your mysql config.
Fixed the same (or similar) error for me.