Upgrade Your Vicibox: A Comprehensive Guide from Version 9 to Version 11
Upgrading your Vicibox system from version 9 to version 11 demands careful consideration and a systematic approach due to potential compatibility challenges and underlying software alterations. Follow these outlined steps diligently for a successful upgrade:
Backing Up the Previous System
Begin by safeguarding your previous Vicibox 9 system:
cd /usr/share/astguiclient/
./ADMIN_backup.pl --archive_path=/home/
cd /home/
# Create directory
mkdir Backup
mv Previous_Server_IP_ALL_3.tar.gz Backup/
cd Backup/
tar -xvf Previous_Server_IP_ALL_3.tar.gz
# copy to the new server
scp Previous_Server_IPasterisk3.gz root@New_Server_IP:/home/
Goto already upgraded server to copy ‘Trunk’
cd /usr/src/astguiclient/
scp -rp trunk root@New_Server_IP:/home
Newly created Machine (`Vicibox11` already installed) e.g. `IP: New_Server_IP`
Check the Server time
timedatectl
yast (# select timezone and add NTP server)
Goto home directory and gunzip the backup
cd /home/
gunzip Previous_Server_IPasterisk3.gz
Take backup of your newly created machine
cd /usr/share/astguiclient/
./ADMIN_backup.pl --db-only --archive_path=/home
Database
mysql
> show databases;
# 1st of all drop the asterisk database using command
> drop database asterisk;
# Again create the asterisk database using command
> create database asterisk;
> exit
Import Database
Import database already taken from previous system
mysql -u root -p asterisk < /home/Previous_Server_IPasterisk3
Modify IP address if you change the IP Address
/usr/share/astguiclient/ADMIN_update_server_ip.pl (# give relevant answers)
Copy trunk using command
cd /usr/src/astguiclient/
mv trunk trunk-orig
cp -rp /home/trunk/ .
cd trunk/
./install.pl
Goto database for upgradation
mysql
> use asterisk;
> \. /usr/src/astguiclient/trunk/extras/upgrade_2.14.sql
> exit
Restart all the service
systemctl restart asterisk.service
systemctl restart apache2.service
systemctl restart mysql.service
Run install.pl again if SVN version not updated
cd /usr/src/astguiclient/trunk/
./install.pl
By meticulously following these steps, you can smoothly upgrade from Vicibox 9 to Vicibox 11 while mitigating potential compatibility issues. Remember, attention to detail and precision in execution are vital for a successful upgrade process.