Current time: 12-23-2024, 07:43 AM Hello There, Guest! (LoginRegister)


Post Reply 
New ispCP Software Installer *RC1*
Author Message
Gleno0h Offline
Junior Member
*

Posts: 19
Joined: Nov 2009
Reputation: 0
Post: #131
RE: New ispCP Software Installer *RC1*
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.
12-27-2009 01:16 AM
Find all posts by this user Quote this message in a reply
Gleno0h Offline
Junior Member
*

Posts: 19
Joined: Nov 2009
Reputation: 0
Post: #132
RE: New ispCP Software Installer *RC1*
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.
12-27-2009 06:56 AM
Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #133
RE: New ispCP Software Installer *RC1*
(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
(This post was last modified: 12-27-2009 10:16 AM by FISA4.)
12-27-2009 10:15 AM
Find all posts by this user Quote this message in a reply
Gleno0h Offline
Junior Member
*

Posts: 19
Joined: Nov 2009
Reputation: 0
Post: #134
RE: New ispCP Software Installer *RC1*
(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.
12-27-2009 12:38 PM
Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #135
RE: New ispCP Software Installer *RC1*
(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.
12-27-2009 12:46 PM
Find all posts by this user Quote this message in a reply
mafia Offline
Banned

Posts: 170
Joined: May 2008
Post: #136
RE: New ispCP Software Installer *RC1*
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
12-31-2009 12:18 AM
Find all posts by this user Quote this message in a reply
TheCry Away
Member
***

Posts: 851
Joined: Oct 2008
Reputation: 21
Post: #137
RE: New ispCP Software Installer *RC1*
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.
(This post was last modified: 12-31-2009 02:27 AM by TheCry.)
12-31-2009 01:52 AM
Find all posts by this user Quote this message in a reply
monotek Offline
Junior Member
*

Posts: 65
Joined: Dec 2006
Reputation: 0
Post: #138
RE: New ispCP Software Installer *RC1*
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?
(This post was last modified: 01-01-2010 05:35 AM by monotek.)
01-01-2010 05:34 AM
Find all posts by this user Quote this message in a reply
TheCry Away
Member
***

Posts: 851
Joined: Oct 2008
Reputation: 21
Post: #139
RE: New ispCP Software Installer *RC1*
(01-01-2010 05:34 AM)monotek Wrote:  Is aps suupport allready implemented?
Not yet... Maybe later
01-01-2010 11:37 PM
Find all posts by this user Quote this message in a reply
guyana Offline


Posts: 3
Joined: Jan 2010
Reputation: 0
Post: #140
RE: New ispCP Software Installer *RC1*
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.
01-21-2010 11:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 5 Guest(s)