The address below in the repo and the cyberpanel setup file is incorrect. http://yum.mariadb.org/10.4/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
The correct address is http://archive.mariadb.org/yum/10.4/centos7-amd64
I was able to complete the installation by changing this address from the repo and Cyberpanel.sh file.
http://yum.mariadb.org/10.4/centos7-amd64
change
https://archive.mariadb.org/yum/10.4/centos7-amd64
Operating system Centos 7