ispCP - Board - Support
New ispCP Software Installer *RC1* - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Enhancements (/forum-43.html)
+--- Thread: New ispCP Software Installer *RC1* (/thread-7463.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


RE: New ispCP Software Installer *RC1* - Over - 04-24-2010 06:41 PM

Please check the licks, Ty Tongue


RE: New ispCP Software Installer *RC1* - spidersoftware - 04-25-2010 05:41 AM

Sorry, the link from the first post its broken, but i donwload from http://github.com/TheCry/ispCP-software-installer

I try install, i see all correct in the log. the log it this.

#################################################################
# #
# ******* ispCP Software Installer installation script ******** #
# Please make sure, ispCP is already installed on your system! #
# You install the ispCP software installer on your own risk. #
# #
# *** Version: RC 4 *** #
# !!! This installer is testet ispCP Stable 1.0.5!!! #
# #
#################################################################

Please enter the full path to your ispCP installation [/var/www/ispcp]
/var/www/ispcp
Please enter the full path to your ispcp.conf [/etc/ispcp]
/etc/ispcp

Please enter ispCP's database [ispcp]
ispcp2

Please enter your MySQL root account [root]
root

Please enter your MySQL root password

Please repeat your password

Got all needed information now.
Hit any key to start the installation or press 'Strg + C' to abort.
j
Checking for perl XML parser - Please wait

Perl XML parser found!


Import required database fields - Please wait

Import successful


Setting database index for software - Please wait

Setting index succesful


Installing new files for ispCP software installer - Please wait
`./newfiles/engine/ispcp-sw-mngr' -> `/var/www/ispcp/engine/ispcp-sw-mngr'
`./newfiles/engine/ispcp-pkt-mngr' -> `/var/www/ispcp/engine/ispcp-pkt-mngr'
`./newfiles/gui/admin/software_activate.php' -> `/var/www/ispcp/gui/admin/software_activate.php'
`./newfiles/gui/admin/software_delete.php' -> `/var/www/ispcp/gui/admin/software_delete.php'
`./newfiles/gui/admin/software_manage.php' -> `/var/www/ispcp/gui/admin/software_manage.php'
`./newfiles/gui/admin/software_download.php' -> `/var/www/ispcp/gui/admin/software_download.php'
`./newfiles/gui/admin/software_import.php' -> `/var/www/ispcp/gui/admin/software_import.php'
`./newfiles/gui/admin/software_change_rights.php' -> `/var/www/ispcp/gui/admin/software_change_rights.php'
`./newfiles/gui/admin/software_rights.php' -> `/var/www/ispcp/gui/admin/software_rights.php'
`./newfiles/gui/admin/software_reseller.php' -> `/var/www/ispcp/gui/admin/software_reseller.php'
`./newfiles/gui/client/software_delete.php' -> `/var/www/ispcp/gui/client/software_delete.php'
`./newfiles/gui/client/software_install.php' -> `/var/www/ispcp/gui/client/software_install.php'
`./newfiles/gui/client/software.php' -> `/var/www/ispcp/gui/client/software.php'
`./newfiles/gui/client/software_view.php' -> `/var/www/ispcp/gui/client/software_view.php'
`./newfiles/gui/reseller/software_delete.php' -> `/var/www/ispcp/gui/reseller/software_delete.php'
`./newfiles/gui/reseller/software_upload.php' -> `/var/www/ispcp/gui/reseller/software_upload.php'
`./newfiles/gui/themes/omega_original/admin/software_manage.tpl' -> `/var/www/ispcp/gui/themes/omega_original/admin/software_manage.tpl'
`./newfiles/gui/themes/omega_original/admin/software_delete.tpl' -> `/var/www/ispcp/gui/themes/omega_original/admin/software_delete.tpl'
`./newfiles/gui/themes/omega_original/admin/software_rights.tpl' -> `/var/www/ispcp/gui/themes/omega_original/admin/software_rights.tpl'
`./newfiles/gui/themes/omega_original/admin/software_reseller.tpl' -> `/var/www/ispcp/gui/themes/omega_original/admin/software_reseller.tpl'
`./newfiles/gui/themes/omega_original/client/software_install.tpl' -> `/var/www/ispcp/gui/themes/omega_original/client/software_install.tpl'
`./newfiles/gui/themes/omega_original/client/software.tpl' -> `/var/www/ispcp/gui/themes/omega_original/client/software.tpl'
`./newfiles/gui/themes/omega_original/client/software_view.tpl' -> `/var/www/ispcp/gui/themes/omega_original/client/software_view.tpl'
`./newfiles/gui/themes/omega_original/reseller/software_upload.tpl' -> `/var/www/ispcp/gui/themes/omega_original/reseller/software_upload.tpl'
`./newfiles/gui/themes/omega_original/images/icons/cd.png' -> `/var/www/ispcp/gui/themes/omega_original/images/icons/cd.png'
`./newfiles/gui/themes/omega_original/images/icons/cd_big.png' -> `/var/www/ispcp/gui/themes/omega_original/images/icons/cd_big.png'
`./newfiles/gui/themes/omega_original/images/icons/asc.gif' -> `/var/www/ispcp/gui/themes/omega_original/images/icons/asc.gif'
`./newfiles/gui/themes/omega_original/images/icons/desc.gif' -> `/var/www/ispcp/gui/themes/omega_original/images/icons/desc.gif'

Installing new files successful


Setting correct paths in patch file - Please wait

Setting paths successful


Patching existing ispCP files - Please wait
patching file /etc/ispcp/ispcp.conf
(Stripping trailing CRs from patch.)
patching file ispcp-rqst-mngr
(Stripping trailing CRs from patch.)
patching file ispcp_common_code.pl
(Stripping trailing CRs from patch.)
patching file admin/domain_details.php
(Stripping trailing CRs from patch.)
patching file admin/domain_edit.php
(Stripping trailing CRs from patch.)
patching file admin/hosting_plan_add.php
(Stripping trailing CRs from patch.)
patching file admin/hosting_plan_edit.php
(Stripping trailing CRs from patch.)
patching file admin/reseller_add.php
(Stripping trailing CRs from patch.)
patching file admin/reseller_edit.php
(Stripping trailing CRs from patch.)
patching file admin/user_delete.php
(Stripping trailing CRs from patch.)
patching file client/hosting_plan_update.php
(Stripping trailing CRs from patch.)
patching file client/index.php
(Stripping trailing CRs from patch.)
patching file client/webtools.php
(Stripping trailing CRs from patch.)
patching file include/admin-functions.php
(Stripping trailing CRs from patch.)
patching file include/client-functions.php
(Stripping trailing CRs from patch.)
patching file include/ispcp-functions.php
(Stripping trailing CRs from patch.)
patching file include/reseller-functions.php
(Stripping trailing CRs from patch.)
patching file reseller/domain_delete.php
(Stripping trailing CRs from patch.)
patching file reseller/domain_details.php
(Stripping trailing CRs from patch.)
patching file reseller/domain_edit.php
(Stripping trailing CRs from patch.)
patching file reseller/hosting_plan.php
(Stripping trailing CRs from patch.)
patching file reseller/hosting_plan_add.php
(Stripping trailing CRs from patch.)
patching file reseller/hosting_plan_edit.php
(Stripping trailing CRs from patch.)
patching file reseller/index.php
(Stripping trailing CRs from patch.)
patching file reseller/user_add1.php
(Stripping trailing CRs from patch.)
patching file reseller/user_add2.php
(Stripping trailing CRs from patch.)
patching file reseller/user_add3.php
(Stripping trailing CRs from patch.)
patching file themes/omega_original/admin/domain_details.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/admin/domain_edit.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/admin/hosting_plan_add.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/admin/hosting_plan_edit.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/admin/menu_users_manage.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/admin/reseller_add.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/admin/reseller_edit.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/client/index.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/client/menu_webtools.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/client/webtools.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/css/ispcp.css
(Stripping trailing CRs from patch.)
patching file themes/omega_original/css/jquery.ispcpTooltips.js
(Stripping trailing CRs from patch.)
patching file themes/omega_original/orderpanel/package_info.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/reseller/domain_details.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/reseller/domain_edit.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/reseller/hosting_plan_add.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/reseller/hosting_plan_edit.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/reseller/index.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/reseller/menu_general_information.tpl
(Stripping trailing CRs from patch.)
patching file themes/omega_original/reseller/user_add2.tpl
`./patches/new/orders_add.php' -> `/var/www/ispcp/gui/reseller/orders_add.php'
`./patches/new/orders_update.php' -> `/var/www/ispcp/gui/reseller/orders_update.php'
`./patches/new/package_info.php' -> `/var/www/ispcp/gui/orderpanel/package_info.php'
Patching succesful

Hit any key to start to set the permissions
g
Setting ispCP permissions - Please wait
Setting Engine Permissions: ... done
Setting GUI Permissions: .... done


Updating existing hosting plans - Please wait


Create software directory - Please wait
install: creating directory `/var/www/ispcp/gui/software'


Checking for resellers and create softwarefolders for them - Please wait
install: creating directory `/var/www/ispcp/gui/software/2'

Creating resellers software subfolders succesful


Create softwarefolders for softwaredepot - Please wait
install: creating directory `/var/www/ispcp/gui/software/sw_depot'
Creating softwaredepot subfolders succesful


#######################################################
# #
# ispCP Software Installer was successfully installed #
# #
#######################################################


But when i go to CP , i dont see nothing special, application dont show.
I search the original file, because i thing... a problem intalling icons in CP.

I try this for test and say this error

http://www.mydomin/client/software.php

Fatal error: Call to undefined method Config::getinstance() in /var/www/ispcp/gui/client/software.php on line 7

I check web_software and web_software_inst Tables in my DB, files, are correct installer.

Files from client for example are copy and privileg
-r--r----- 1 vu2000 www-data 12809 Apr 24 18:40 software.php
-r--r----- 1 vu2000 www-data 1312 Apr 24 18:40 software_delete.php
-r--r----- 1 vu2000 www-data 22118 Apr 24 18:40 software_install.php
-r--r----- 1 vu2000 www-data 6813 Apr 24 18:40 software_view.php

This dir its empty
/var/www/ispcp/gui/software/2

Need do any thing to activate mod??

Any suggestion??

Thank you , agreet.


RE: New ispCP Software Installer *RC1* - TheCry - 04-26-2010 01:35 AM

Sorry... But the GitHub is noch actually!!!
We startet the work in the a branch.
There we find a lot of bugs... We had corrected them...
Now we will vreate a new package for the installer.

No... You don't have to install any mods...
At first you need to log in as admin to activate teh apps installer for the reseller.
After this you can use the app-installer under the reseller!


RE: New ispCP Software Installer *RC1* - spidersoftware - 04-26-2010 03:50 AM

Thank you.

Is correct, in users i see a button software manage, but when i go to push see this error.

Fatal error: Call to undefined method Config::getinstance() in /var/www/ispcp/gui/admin/software_manage.php on line 7

This error its for???
I can solve??? know about its refer??

Wait for the new release??

Note:if you have got a new beta and need help for test i can help you.

A greet, and thank you for this contribution.


RE: New ispCP Software Installer *RC1* - TheCry - 04-26-2010 03:49 PM

(04-26-2010 03:50 AM)spidersoftware Wrote:  Fatal error: Call to undefined method Config::getinstance() in /var/www/ispcp/gui/admin/software_manage.php on line 7

This files are updated to the new trunk...
So you need to change in every file who show you this error
Code:
Config::getInstance()->get
to
Code:
Config::get

I think, then it will work!

Look on the Github my last changes
http://github.com/TheCry/ispCP-software-installer/commit/32c64c3ec2ce95271fa0bc213d25b942e748d52d#diff-3


RE: New ispCP Software Installer *RC1* - spidersoftware - 04-27-2010 06:39 AM

Thank you Thecry, Now Run Big Grin .

This solve the problem.

I am testing now, and have got any questions and problems.

I dont see any distribution for install, i think need uploade, i try whit a remote file from joomla in spanish, this:
http://joomlacode.org/gf/download/frsrelease/12176/49557/Joomla_1.5.16-Spanish-pack_completo.tar.gz

The panel say error, file 0 Bytes.
I try zip file and say need Tar.gz


I try uploadin from my PC, the some file.
SAy me first installing:
Installing your uploaded packet. Please refresh this site.

Refresh and now say:
Failure in softwarepacket. Deleting!

I refresh again and:
No software in softwaredepot available!


I upload from mi PC W7 and this path:
C:\Users\MYUSER\Desktop\Joomla_1.5.16-Spanish-pack_completo.tar.gz
I test this for the error in path, but its correct.
I try too whit other remote dir and always installing

Only can upload special packs??
provisional method for Uploads??

Any suggestion???
I can download a new version for test?

Thank you , a greet.

Note:edit.

For future check, i think be ussefull for your dev,if i use this path in remote
/root/Joomla_1.5.16-Spanish-pack_completo.tar.gz


Notice: Undefined index: host in /var/www/ispcp/gui/admin/software_manage.php on line 102

Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/ispcp/gui/admin/software_manage.php on line 102

Warning: fsockopen() [function.fsockopen]: unable to connect to :80 (Unknown error) in /var/www/ispcp/gui/admin/software_manage.php on line 102


RE: New ispCP Software Installer *RC1* - TheCry - 04-27-2010 03:09 PM

Sorry my friend... Only this packages are allowed:
http://addons.isp-control.net/unofficial/apps_installer/apps_installer_packages/

They need a special format... That's the reason for the failures.
A spanish format of joomla doesn't exist at the moment...


RE: New ispCP Software Installer *RC1* - spidersoftware - 04-27-2010 05:00 PM

Thank you for the info, more later test whit any of this packeges.

But if i want modify any of this packages, or add new packages, how i can add new packages??

Which files need to modify??
Its very Difficult add new Packs???
Any info for Start??

Send my any info for start and make test, i can change the joomla DE for spanish For E.g.

Thank you for your time, a greet.


RE: New ispCP Software Installer *RC1* - TheCry - 04-27-2010 05:05 PM

Yes there is manual:
http://www.isp-control.net/documentation/autoinstaller:packagecreate
But the full manual ist only in german.

I will uupdate the Joomla packages to 1.5.16 in the next days...
Then i will create a package for spain!


RE: New ispCP Software Installer *RC1* - spidersoftware - 04-27-2010 07:20 PM

Thank you again, but the manual i see in english, and its very shoort.

I try to add packages, I can`t Wait jejej.

I see and all the configuration its on the pakages.

I see the structure:
SQL:
sql.sql - file for install the DB, i think its the original Joomla Install joomla.sql locate in \installation\sql\mysql >Confirm me this please

XML :

The XML configuration File whit all the info about the Installation, detqails version etc.. and uninstall.

Web:
The joomla files for the installation, structure similar to the original, but
havenĀ“t got the Install Folder.

My questions:
Principal files for modify, i think are SQL.SQL, and the XML.

But i dont see the install folder, and this folder have got a lot of files, where are locate in the Isp-software installer this files?
Not need?

Thank you, and if you can send me a full manual, its very apreciate (in german, english or other lenguage.

A greet