- Logon on to your server – ssh root@192.168.100.100
- Navigate to the folder. cd /content/logs
- Type du -sh to view storage in GB for the folder.
- To clear the contents for file name : log-we.log
- echo “” > log-we.log
Auto dialer – Issabel –
When using the auto-dialer module all contacts in the excel file will be dialed at the same time causing irregularities in reporting. To resolve this.
I have solved this by edit this file: /opt/issabel/dialer/CampaignProcess.class.php
Below lines are commented that’s why its not worked. I have uncomment this lines and it works fine. [You should restart the call center]
/*
// En Asterisk13 el Originate Response llega tarde, luego de que el llamado termina, no podemos considerar que está pendiente
// Por ese motivo comentamos por ahora este bloque, para ver cual es el mejor curso de accion en el futuro y evitar
// colocar llamados cuando hay algunos pendientes todavia.
if ($iNumLlamadasColocar > 0) {
// El valor de llamadas predichas no toma en cuenta las llamadas que han
// sido generadas pero todavía no se recibe su OriginateResponse. Para
// evitar sobrecolocar mientras las primeras llamadas esperan ser
// contestadas, se cuentan tales llamadas y se resta.
$iNumEsperanRespuesta = count($listaLlamadasAgendadas) + $this->_contarLlamadasEsperandoRespuesta($infoCampania['queue']);
if ($iNumLlamadasColocar > $iNumEsperanRespuesta) {
$iNumLlamadasColocar -= $iNumEsperanRespuesta;
} else {
$iNumLlamadasColocar = 0;
}
}
Magnus Billing Installation
cd /usr/src/ yum -y install wget wget https://raw.githubusercontent.com/magnussolution/magnusbilling7/source/script/install.sh chmod +x install.sh ./install.sh
Zimbra 9 issue
How to resolve NO RSA when verifying Letsencrypt ssl in Zimbra 9
1 – use screen to install Zimbra 9. You’ll need two screens to do this. If you are not familiar with screen you may use tmux or just login twice on the server you’re going to install it;
2 – on one screen start the installation process as always you get to to the “apply” moment, right after you set the admin password;
3 – on the second screen edit /opt/zimbra/bin/zmcertmgr file, go to the line 1817, and add the option “-nomac” to the @out array, like this:
@out = $self->run(
$self->Openssl, "pkcs12", "-inkey", $keyf,
"-in", $crtf, "-name", $server,
"-export", "-out", $pkcsf, "-passout",
"pass:$kpass", "-nomac", "2>&1"
);
4 – go to the line 1878 and do the very same adding “-nomac” to @out array and save the file
5- Rerun verification command :
sudo su - zimbra -c '/opt/zimbra/bin/zmcertmgr deploycrt comm /opt/zimbra/ssl/letsencrypt/cert.pem /opt/zimbra/ssl/letsencrypt/zimbra_chain.pem'
Fixing Voyager issue in Laravel 7
Have you tried running php artisan voyager:install
but you keep getting an error that a VoyagerServiceProvider.php file is missing.
All your artisan commands are also throwing this error too.
Checking the vendor folder, I found that the tcg/voyager folder was empty and after hours of research I found a solution:
Step 1:
Go to https://github.com/the-control-group/voyager and clone this repo .
Step 2:
Unzip this repo and copy the content of the src
folder into your vendor/tcg/voyager
folder.
Step 3:
Run composer dump-autoload
and php artisan cache:clear
to be sure nothing is being cached.
Step 4:
Run your php artisan voyager:install
command again.
Redis for Laravel
When running laravel you get errors if redis is allowed in the .env file.
- sudo apt install php-dev php-pear
- sudo pecl install redis
- sudo nano /etc/php/8.0/mods-available/redis.ini
- extension=redis.so
- sudo systemctl restart apache2
PHP extensions install for Laravel
Use this command to install php extensions
sudo apt install php php-cli php-common php-json php-zip php-gd php-mbstring php-curl php-xml php-bcmath php-json php-pdo php-tokenizer php-xmlwriter php-ctype php-json php-bz2 php-zip php-dom
Yarn Installation
When installing yarn in ubuntu use the command below.
Remember not to use apt install yarn
sudo apt remove cmdtest
sudo apt remove yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn -y
Updating time in Centos server
To update time to Nairobi, Kenya
Enter the follwoing commands
sudo mv /etc/localtime /etc/localtime.bak
sudo ln -s /usr/share/zoneinfo/Africa/Nairobi /etc/localtime