WinSCP does not respond when accessing MP3 folder

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

WinSCP does not respond when accessing MP3 folder

Postby WisemanK » Tue May 05, 2015 3:41 am

Hi,

Disk space is full and as a result unable to connect to vicidial server to make calls. I log in through putty and checked to find the disk space is full.

I would like to download the recordings onto another pc/server for storage rather than delete the calls, i have logged in using WinSCP and gone to /var/spool/asterisk/monitorDONE/MP3 and soon as i click on mp3 it fails to open the folder.

Any Assistance will be highly appreciated.
WisemanK
 
Posts: 1
Joined: Tue May 05, 2015 3:21 am

Re: WinSCP does not respond when accessing MP3 folder

Postby bobchaos » Tue May 05, 2015 12:14 pm

When you disk is loaded 100%, you`ll have a hard time doing anything at all because most apps need to write something, log files, temporary files, access files, etc... Try making some space using plain old rm -f, once there`s a few MBs free I bet WinSCP will be more cooperative.

*Edit*
This process could easily be automated by using the archiving scripts supplied with Vicidial. I`d advise you setup an archiving FTP server, and then cook up a little cron job to delete old recordings on that server. You could, of course have that job running on the dialing server itself, but why tempt the devil? I'd rather find out i`m out of recording space because I can`t find a recording in the archives than because my production system died on me :/
bobchaos
 
Posts: 171
Joined: Fri Jan 06, 2012 12:46 pm

Re: WinSCP does not respond when accessing MP3 folder

Postby paolo » Tue Jun 02, 2015 2:05 pm

The data is probably too large for you to be able to access the mp3 folder through winscp

I would suggest running a script to delete old recordings

/usr/bin/find /var/spool/asterisk/monitorDONE/MP3 -maxdepth 2 -type f -mtime +70 -print | xargs rm -f

that command would delete recordings 70 days from today
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
paolo
 
Posts: 48
Joined: Wed Oct 08, 2014 11:38 am

Re: WinSCP does not respond when accessing MP3 folder

Postby williamconley » Sun Jul 12, 2015 10:23 pm

1) Delete logs to make a small amount of space on the HD. Also delete the "ORIG" recordings folder content if your files are in MP3.

2) Activate the Vicidial FTP function for client audio recordings to push these files to another server

VERIFY that the files being moved are both accessible and linked to the proper location in the leads/agents recording pages by moving a SINGLE file first (with a manual run of the script set to move only one file) and verifying those links download a valid file from the FTP server before activating the full script.

3) Immediately delete all the files in the FTP folder (which is where they are moved after being sent to the FTP server, so you no longer need the local copies)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WinSCP does not respond when accessing MP3 folder

Postby boybawang » Sun Jul 19, 2015 1:09 am

delete the log files first

rm -rf /var/log/astguiclient/*

then delete the apache2 logs or httpd logs

rm -rf /var/log/apache2/access.log; rm -rf /var/log/apache2/error.log; touch -f /var/log/apache2/access.log; touch -f /var/log/apache2/error.log

then delete ORIG folder

rm -rf /var/spool/asterisk/monitorDONE/ORIG
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: WinSCP does not respond when accessing MP3 folder

Postby williamconley » Thu Jul 23, 2015 11:42 pm

And then recreate any folders you deleted! with the same attributes! LOL 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 59 guests