US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
Old 02-04-2009, 05:17 PM   #1
Member
 
Join Date: May 2008
Posts: 34
BeoNET is on a distinguished road
Default Joomla WebScript Problem

Quote:
Error: Internal error Script install failed 1 true gzip: stdin has more than one entry--rest ignored tar: Child returned status 2 tar: Error exit delayed from previous errors
This error apears when i try to install Joomla through Web Script from ISP Manager Control Panel Control Panel.

Quote:
#!/bin/sh

COMMAND=$1
DESTFOLDER=$2/$3
DISTFILE=$4

case $COMMAND in
install)
TMP=`mktemp -d /tmp/mambo.XXXXXX`
cd $TMP
trap "cd /; rm -rf $TMP" EXIT
tar --extract --gzip --file $DISTFILE || exit 1
find . -maxdepth 1 -mindepth 1 -exec cp -Rf '{}' $DESTFOLDER ';'
#mv $DESTFOLDER/configuration.php-dist $DESTFOLDER/configuration.php
touch $DESTFOLDER/configuration.php
chmod 666 $DESTFOLDER/configuration.php
#chmod 777 $DESTFOLDER/administrator/backups/
#chmod 777 $DESTFOLDER/administrator/components/
#chmod 777 $DESTFOLDER/administrator/modules/
#chmod 777 $DESTFOLDER/administrator/templates/
#chmod 777 $DESTFOLDER/components/
#chmod 777 $DESTFOLDER/images/
#chmod 777 $DESTFOLDER/images/banners/
#chmod 777 $DESTFOLDER/images/stories/
#chmod 777 $DESTFOLDER/language/
#chmod 777 $DESTFOLDER/mambots/
#chmod 777 $DESTFOLDER/mambots/content/
#chmod 777 $DESTFOLDER/mambots/editors/
#chmod 777 $DESTFOLDER/mambots/editors-xtd/
#chmod 777 $DESTFOLDER/mambots/search/

# Fix bad files
for i in `find $DESTFOLDER -name "*.xml"`
do sed -E "s/^.*<?xml/<?xml/" $i > $DESTFOLDER/tmp.xml && cat $DESTFOLDER/tmp.xml > $i
done
rm -f $DESTFOLDER/tmp.xml
;;
postinstall)
rm -rf $DESTFOLDER/installation
chmod 644 $DESTFOLDER/configuration.php
;;
esac
This is content of Joomla.sh in /usr/local/ispmgr/etc/webscripts

I think the problem is in this part of script:
Quote:
tar --extract --gzip --file $DISTFILE || exit 1
Because when i try to unpack manualy downloaded Joomla.zip installation with command from above i've got same error.

I really need help with this.

Thanks !!!




----------------
Now playing: Hadouken! - Driving Nowhere
via FoxyTunes
BeoNET is offline   Reply With Quote
Old 02-05-2009, 12:11 PM   #2
ISPsystem team
 
Join Date: Jan 2009
Posts: 111
GakcaT is on a distinguished road
Default

You have to replace the next line :
Quote:
tar --extract --gzip --file $DISTFILE || exit 1
The correct line is :
Quote:
unzip $DISTFILE || exit 1
GakcaT is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:38 AM.