01-23-2016, 04:36 AM
01-23-2016, 01:12 PM
Very good!! 

01-24-2016, 01:23 AM
When i try to add a package i get this message:
Quote:Error getting package information. Try again later.
If problem persists, contact your server administrator.
01-24-2016, 06:27 AM
@[Ron-e], Does it happen with all the packages or just a few?
Make sure you can access: http://sen-packs.mach-hosting.com/packages.txt
Make sure you can access: http://sen-packs.mach-hosting.com/packages.txt
01-24-2016, 03:35 PM
(01-24-2016, 06:27 AM)TGates Wrote: [ -> ]Does it happen with all the packages or just a few?Jep, it does happen with all packages.
(01-24-2016, 06:27 AM)TGates Wrote: [ -> ]Make sure you can access: http://sen-packs.mach-hosting.com/packages.txtI can wget and read the file with php and i see the list in the "add packages" tab.
maybe this helps;
Code:
[Sun Jan 24 06:38:59 2016] [error] [client -snipIP-] PHP Notice: Undefined index: pkg_zipname in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 33, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:00 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/?module=sentastico
[Sun Jan 24 06:39:02 2016] [error] [client -snipIP-] PHP Notice: Undefined index: pkg_zipname in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 33, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:19 2016] [error] [client -snipIP-] PHP Warning: fopen(../../../modules/sentastico/packages/wordpress_4.1.zip): failed to open stream: Permission denied in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 89, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:19 2016] [error] [client -snipIP-] PHP Warning: fputs() expects parameter 1 to be resource, boolean given in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 90, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:19 2016] [error] [client -snipIP-] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 91, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:19 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: xmlArray in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 146, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:19 2016] [error] [client -snipIP-] PHP Warning: unlink(../../../modules/sentastico/packages/wordpress_4.1.zip): No such file or directory in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 158, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:25 2016] [error] [client -snipIP-] PHP Notice: Undefined index: pkg_zipname in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 33, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php
[Sun Jan 24 06:39:26 2016] [error] [client -snipIP-] PHP Notice: Undefined variable: package_desc in /etc/sentora/panel/modules/sentastico/code/sentastico_admin.php on line 239, referer: http://sub.domain.ltd:PORT/modules/sentastico/code/sentastico_admin.php01-24-2016, 06:21 PM
Ahhh, make sure permissions are apache:apache
The issue is that the package can not be saved to the packages folder if owned by root:root
How it works:
If you are an admin, sentastico will show a new tab menu at the top. Select Admin.
On the 'Add Packages' tab Sentastico grabs the list of available packages from the repo and displays them.
When you click 'Add' it downloads the package to the packages folder and scans the new package for 'sentastico.xml' which contains the packages information (Name, Description, Version, etc.) and imports it into the database so that the 'Client Side' can display useful information about the package.
The issue is that the package can not be saved to the packages folder if owned by root:root
How it works:
If you are an admin, sentastico will show a new tab menu at the top. Select Admin.
On the 'Add Packages' tab Sentastico grabs the list of available packages from the repo and displays them.
When you click 'Add' it downloads the package to the packages folder and scans the new package for 'sentastico.xml' which contains the packages information (Name, Description, Version, etc.) and imports it into the database so that the 'Client Side' can display useful information about the package.
01-24-2016, 07:21 PM
(01-24-2016, 06:21 PM)TGates Wrote: [ -> ]Ahhh, make sure permissions are apache:apache
The issue is that the package can not be saved to the packages folder if owned by root:root
How it works:
If you are an admin, sentastico will show a new tab menu at the top. Select Admin.
On the 'Add Packages' tab Sentastico grabs the list of available packages from the repo and displays them.
When you click 'Add' it downloads the package to the packages folder and scans the new package for 'sentastico.xml' which contains the packages information (Name, Description, Version, etc.) and imports it into the database so that the 'Client Side' can display useful information about the package.
This did fixed it:
Code:
chown -R apache:apache /etc/sentora/panel/modules/sentastico/packagesThis is how i installed it, can the installer check if that directory is from apache and if not change it to apache?
01-25-2016, 03:10 AM
@[Tgates] you cann add the chrown to the installer? As once the installer execute it might be under root?
M B
M B
01-25-2016, 05:07 AM
(01-25-2016, 03:10 AM)Me.B Wrote: [ -> ]@[Tgates] you cann add the chrown to the installer? As once the installer execute it might be under root?
M B
In my testing all were owned by apache:apache using zppy install and repo browser so I am not sure why the permissions were not correct. I can add a check to make sure that the packages folder is permissioned properly.
Should they be apache:apache 755 or 766? What would be the best setting?
01-25-2016, 05:17 AM
Suggest update to install.run:
PHP Code:
// Make sure permissions are set properly
function fixPermissions(){
global $controller;
$module_path = "./modules/".$controller->GetControllerRequest('URL', 'module');
$sysOS = php_uname('s');
$zsudo = ctrl_options::GetOption('zsudo');
switch($sysOS){
case 'Linux':
exec("$zsudo chown -R apache.apache " . $module_path);
exec("$zsudo chmod -R 755 " . $module_path);
break;
case 'Unix':
exec("$zsudo chown -R apache:apache " . $module_path);
exec("$zsudo chmod -R 755 " . $module_path);
break;
default:
//windows or incompilable operating system !!Do Nothing!!
break;
}
}
fixPermissions();