Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
All New Sentastico!
01-23-2016, 04:36 AM
-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
Posts: 273
Threads: 40
Joined: Nov 2014
Reputation:
5
Sex: Male
Thanks: 168
Given 42 thank(s) in 22 post(s)
RE: All New Sentastico!
01-23-2016, 01:12 PM
Very good!!
Posts: 683
Threads: 40
Joined: Jul 2014
Reputation:
29
Sex: Male
Thanks: 96
Given 205 thank(s) in 159 post(s)
RE: All New Sentastico!
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.
Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: All New Sentastico!
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
-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
Posts: 683
Threads: 40
Joined: Jul 2014
Reputation:
29
Sex: Male
Thanks: 96
Given 205 thank(s) in 159 post(s)
RE: All New Sentastico!
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.txt I 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.php
The directory /etc/sentora/panel/modules/sentastico/packages has 755 permissions and owner is root root
Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: All New Sentastico!
01-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.
-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
Posts: 683
Threads: 40
Joined: Jul 2014
Reputation:
29
Sex: Male
Thanks: 96
Given 205 thank(s) in 159 post(s)
RE: All New Sentastico!
01-24-2016, 07:21 PM
(This post was last modified: 01-24-2016, 07:22 PM by Ron-e.)
(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/packages
This is how i installed it, can the installer check if that directory is from apache and if not change it to apache?
Posts: 4 ,002
Threads: 193
Joined: Jul 2014
Reputation:
83
Sex: Undisclosed
Thanks: 72
Given 435 thank(s) in 395 post(s)
RE: All New Sentastico!
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
Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: All New Sentastico!
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?
-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
Posts: 3 ,663
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: All New Sentastico!
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();
-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
|