After checking on another server, the owner had the wrong permissions for both /etc/sentora/ and /var/sentora/
ALL of /etc/sentora/ should be owned and grouped by apache.apache for CentOS and www-data:www-data for Ubuntu.
Same goes for /var/sentora/hostdata/
Tested on his server running CentOS 7 with proper file/folder permissions and it worked as intended.
Permissions on my server are 0755 for the above files/folders.
ALL of /etc/sentora/ should be owned and grouped by apache.apache for CentOS and www-data:www-data for Ubuntu.
Same goes for /var/sentora/hostdata/
Tested on his server running CentOS 7 with proper file/folder permissions and it worked as intended.
Permissions on my server are 0755 for the above files/folders.