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* - Gleno0h - 12-27-2009 01:16 AM

Just updated to 1.0.3 omega and installed this piece of nice software!

After a critical fail to my system (luckely not many domains) i had to reinstall everything.

Please finish the tutorial for the packages so i can make some for wordpress, joomla etc that doesnt have the German language but English/Dutch...

Thank you for this app!

Happy Newyear.


RE: New ispCP Software Installer *RC1* - Gleno0h - 12-27-2009 06:56 AM

I am getting this error after doing ... well nothing actually ... Its something with permissions, but how come it changed and how to fix it?

error on top of software upload page:
Code:
Warning: move_uploaded_file(/var/www/ispcp/gui/software/sw_depot/phpbb3_0_5-21.tar.gz) [function.move-uploaded-file]: failed to open stream: Permission denied in /var/www/ispcp/gui/admin/software_manage.php on line 88

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/www/ispcp/gui/phptmp/phpvzWEWf' to '/var/www/ispcp/gui/software/sw_depot/phpbb3_0_5-21.tar.gz' in /var/www/ispcp/gui/admin/software_manage.php on line 88

The red line is line 88:
admin/software_manage.php

Quote:SQL_QUERY;
$rs = exec_query($sql, $query, array($user_id, "waiting_for_input", "waiting_for_input", "waiting_for_input", "waiting_for_input", "0", $filename, "waiting_for_input", "waiting_for_input", "waiting_for_input", "waiting_for_input", "1", "toadd", "yes"));
$sw_id = $sql->Insert_ID();
if ($file == 0) {
$dest_dir = Config::get('GUI_SOFTWARE_DEPOT_DIR').'/'.$filename.'-'.$sw_id.$extension;
if (!is_dir(Config::get('GUI_SOFTWARE_DEPOT_DIR'))) {
@mkdir(Config::get('GUI_SOFTWARE_DEPOT_DIR'),0755,true);
}
if (!move_uploaded_file($_FILES['sw_file']['tmp_name'], $dest_dir)) {
// Delete software entry
$query = "DELETE FROM `web_software` WHERE `software_id` = ?";
exec_query($sql, $query, array($sw_id));
$sw_wget = "";
set_page_message(tr('ERROR: Could not upload file. Max. upload filesize ('.ini_get('upload_max_filesize').'B) reached?'));
$upload = 0;
}
}

Could it be because i did the gui and engine permission security fix?
1.0.3 ispCP

Thanks in advance.


RE: New ispCP Software Installer *RC1* - FISA4 - 12-27-2009 10:15 AM

(12-27-2009 01:16 AM)Gleno0h Wrote:  Please finish the tutorial for the packages so i can make some for wordpress, joomla etc that doesnt have the German language but English/Dutch...

Thank you for this app!

Happy Newyear.

I will translate the remaining parts of the documentation ASAP.
(My dogs destroyed my ext. HDD. I lost 500GB datas.)

For the moment:
to create other Languages, (same release of software) you only have to exchange the sql.sql and edit the install.xml (change language to i.e. en_GB, change description).

It is rarely required, that you have to edit the bash-script for language settings. Please have a look at it.

After that, please send me your package, so I can put it into the repository.

Greets

FISA4


RE: New ispCP Software Installer *RC1* - Gleno0h - 12-27-2009 12:38 PM

(12-27-2009 10:15 AM)FISA4 Wrote:  
(12-27-2009 01:16 AM)Gleno0h Wrote:  Please finish the tutorial for the packages so i can make some for wordpress, joomla etc that doesnt have the German language but English/Dutch...

Thank you for this app!

Happy Newyear.

I will translate the remaining parts of the documentation ASAP.
(My dogs destroyed my ext. HDD. I lost 500GB datas.)

For the moment:
to create other Languages, (same release of software) you only have to exchange the sql.sql and edit the install.xml (change language to i.e. en_GB, change description).

It is rarely required, that you have to edit the bash-script for language settings. Please have a look at it.

After that, please send me your package, so I can put it into the repository.

Greets

FISA4

Well, thats easy Tongue ill look into it tomorrow.

By the way the question above from me with the permission is fixed, the security fix on the first page changes the rights (chmod) on the "sw_depot" and "2" folder.


RE: New ispCP Software Installer *RC1* - FISA4 - 12-27-2009 12:46 PM

(12-27-2009 12:38 PM)Gleno0h Wrote:  ...
By the way the question above from me with the permission is fixed, the security fix on the first page changes the rights (chmod) on the "sw_depot" and "2" folder.

OK, then we have to create a fix to correct the permissions.


RE: New ispCP Software Installer *RC1* - mafia - 12-31-2009 12:18 AM

hello

j I install the new version 1.0.3-1 ispCP Omega
I want to know is a new version of Software
Install thank you very much


RE: New ispCP Software Installer *RC1* - TheCry - 12-31-2009 01:52 AM

I'm working on it..
Wait to next year.
If someone installs the Installer through ispCP 1.0.3.1 and after installing you will get this error
Code:
Warning: require_once(/var/www/ispcp/gui/include/client-functions.php) [function.require-once]: failed to open stream: Permission denied in /var/www/ispcp/gui/include/ispcp-lib.php on line 230

Fatal error: require_once() [function.require]: Failed opening required '/var/www/ispcp/gui/include/client-functions.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/ispcp/gui/include/ispcp-lib.php on line 230
change to "/var/www/ispsp/" and start following command on console
Code:
chown -R vu2000:www-data gui/
After this chnage in the directory
Code:
/var/www/ispcp/engine/setup
and set the permissions new
Code:
./set-gui-permissions.sh
./set-engine-permissions.sh

At last you need to set the permission for the sofwaredepot
Code:
chmod 755 /var/www/ispcp/gui/software/*

That's all.


RE: New ispCP Software Installer *RC1* - monotek - 01-01-2010 05:34 AM

Sorry, i dont want to read the full thread. I hope somebody is so nice an answers my question anyway.

Is aps suupport allready implemented?


RE: New ispCP Software Installer *RC1* - TheCry - 01-01-2010 11:37 PM

(01-01-2010 05:34 AM)monotek Wrote:  Is aps suupport allready implemented?
Not yet... Maybe later


RE: New ispCP Software Installer *RC1* - guyana - 01-21-2010 11:58 PM

Isn't it better to develop a software installer that meets the standards specified here.

http://www.apsstandard.org

They have a lot of ready made packages available.