Upgrade from A to B Branch
از ویکی پارس پویش
- Note
- All VoIP Tariffs and Charges will be erased by upgrade process. If client uses VoIP services, make sure he backed up everything.
- Backup Database (Dump/Restore if installing on new machine)
- Backup And Delete /usr/local/IBSng /etc/init.d/IBSng
- Extract B Branch files in /usr/local/IBSng
- Run setup script of B Branch and skip table import
- Run from_A_Branch_mig.py in script directory and SAVE THE OUPUT!
python /usr/local/IBSng/scripts/from_A_Branch_mig.py > /tmp/OUTPUT
- Run from_A_branch_upgrade.sql in db directory by psql
psql -U ibs IBSng < /usr/local/IBSng/db/from_A_branch_upgrade.sql
- Run OUPUT generated by python script by psql
psql -U ibs IBSng < /tmp/OUTPUT
- Check Configuration file for changes