(08-13-2016, 12:58 PM)TGates Wrote: After checking on another server, the owner had the wrong permissions for both /etc/sentora/ and /var/sentora/please help i am totally lost.
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.
i think i followed how to add permissions but now i am lost... i get this message... i added chmod with recursive to change permissions:
sudo chmod -R 0755 /var/sentora/hostdata/
sudo chmod -R 0755 /etc/sentora/
sudo chmod -R 0755 /var/sentora/
and now i am getting this on the sentora:
Error getting package information. Try again later.
If problem persists, contact your server administrator.
on prompt i get this:
ubuntu@sp:/etc$ zppy repo list
Warning: fopen(etc/zppy-cache/repo.list): failed to open stream: Permission denied in /etc/sentora/panel/bin/zppy on line 265
Warning: fread() expects parameter 1 to be resource, boolean given in /etc/sentora/panel/bin/zppy on line 266
Currently configured repositories:
please help