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.

All New Sentastico!
#1
All New Sentastico!
Sentastico Thread: http://forums.sentora.org/showthread.php...59#pid1159
-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
Thanks given by: Cantalupo , Ron-e , warmax356 , reverendspam
#2
RE: All New Sentastico!
Very good!! Big Grin
Thanks given by:
#3
RE: All New Sentastico!
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.

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Thanks given by:
#4
RE: All New Sentastico!
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
Thanks given by:
#5
RE: All New Sentastico!
(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

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Thanks given by:
#6
RE: All New Sentastico!
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
Thanks given by:
#7
RE: All New Sentastico!
(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?

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Thanks given by:
#8
RE: All New Sentastico!
@[Tgates] you cann add the chrown to the installer? As once the installer execute it might be under root?

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

10$ free to start your VPS
Thanks given by:
#9
RE: All New Sentastico!
(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
Thanks given by:
#10
RE: All New Sentastico!
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
Thanks given by:


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

Forum Jump:


Users browsing this thread: 2 Guest(s)