Page 1 of 1

vicibox redux 0.1.6 crashes if you do not select SVN

PostPosted: Thu Apr 01, 2010 9:48 pm
by williamconley
it cannot find the install.pl script because it is in the wrong folder (it was still in the conf folder)

solution: BEFORE typing "vicibox-install" at the final stage of installation:

Code: Select all
nano +259 /usr/local/bin/vicibox-install

Added “cd /usr/src/astguiclient/agc_2.2.0” below “# Install ViciDial” for explicit 2.2.0, but you COULD add cd ../agc_2.2.0 to the line ABOVE "# Check for SVN option" instead (which would allow the trunk install to override it if svn selected)

This moves the active folder to /usr/src/astguiclient/agc_2.2.0 which has install.pl actually in it! LOL

Probably causing the crash. Hopefully that’s the only bug.

Also to pretty it up a bit. (i've had a couple agents think it stalled and waste time running htop to see what's up, generally on slowpoke test boxes, though):

below: cd /var/lib/asterisk/sounds

added:
Code: Select all
echo
echo "Converting audio to various formats - stage one - . This may take a while"
echo
above:
find ./*.wav -type f -exec wav2ulaw '{}' \;

If you are in the middle of this and don't want to run through the entire installation again, you CAN delete everything above the # Install ViciDial line if you put in the cd line explicitly EXCEPT you need to leave the FUNCTIONS at the top of the file and those few lines above them.

That's only if your crash was where mine was, at:
Code: Select all
OK
Starting service MySQL                                                                                     done
Can't open perl script "install.pl": No such file or directory
ERROR! ERROR!  Something has gone horribly wrong! Processing stopped!

Failure Area : Could not run ViciDial installer

PostPosted: Fri Apr 02, 2010 1:48 pm
by Kumba
Changes have been made. New Version 0.1.7 available as soon as it uploads.

PostPosted: Fri Apr 02, 2010 9:31 pm
by williamconley
brilliant. thanks.

i especially like the fact that the install STOPS before the final push. makes troubleshooting relatively simple. :)

PostPosted: Mon Apr 05, 2010 2:59 am
by Kumba
That's the idea. No installer is foolproof but I tried to make it somewhat transparent when it messed up.

BTW, ViciBox Redux v.1.7 is now uploaded.

PostPosted: Fri Mar 23, 2012 7:18 am
by racosta79
Hello guys, if you have this error is because the agc_2.2.0 directory was not decompressed from the file vicidial-2.2.1.tar.gz

So, just extract it inside /usr/src/astguiclient/ and re-run the vicibox-install script.

Regards