This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Cannot add Packages in Sentastico
#11
RE: Cannot add Packages in Sentastico
(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/

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.
please help i am totally lost.

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
Reply
Thanks given by:
#12
RE: Cannot add Packages in Sentastico
Did you remember to chown www-data:www-data for same files and folders also?
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#13
RE: Cannot add Packages in Sentastico
Hi Guys I am new using sentastico

I am using CentOS 7.2.1511 not sure how to get the Sentora version... but I changed the owner and group for Apache instead of root on the folders /etc/sentora, /var/sentora, /var/sentora/hostdata and I used the commands "find /etc/sentora -type d -exec chmod 755 {} \;" "find /var/sentora -type d -exec chmod 755 {} \;" and all folders has the permissions 755... but I am still facing the error message "Error getting package information. Try again later.

If problem persists, contact your server administrator."

Any idea? thanks!!
Reply
Thanks given by:
#14
RE: Cannot add Packages in Sentastico
And this happens with all packages?

Confused  Looking into it.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#15
RE: Cannot add Packages in Sentastico
(09-27-2016, 01:04 AM)TGates Wrote: And this happens with all packages?

Confused  Looking into it.

yes sir  Undecided
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentastico white screen zustudios 3 9 ,161 01-27-2020, 03:20 AM
Last Post: Jettaman
How to Sentastico Packages update? lycuc 11 33 ,554 08-11-2018, 11:14 AM
Last Post: TGates
Sentastico "add" button does nothing Saveriott12 10 29 ,084 03-02-2018, 05:50 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 2 Guest(s)