SAIL Community Supported PBX

SAIL Forums => Debian => Topic started by: compsos on October 17, 2016, 03:06:45 AM

Title: Conversion from Sail 4 on SME to Debian Sail 5
Post by: compsos on October 17, 2016, 03:06:45 AM
Hi Jeff
Firstly well done with this version it looks and works great.
Is there a safe procedure to convert the DB for ver 4 on SME to Debian V5?
Or is it better to just hand code the fresh install?
G
Title: Re: Conversion from Sail 4 on SME to Debian Sail 5
Post by: sysadmin on October 21, 2016, 08:26:27 PM
Thanks for the nice comments.  We put a lot of work into 5 and it's so far getting a very good reception from the customer base.

4 to 5 is fine.  Just install 4 onto your debian.  Copy the SME DB  (opt/sark/db/sark.db) to debian (watch the permissions and ownership) and run

sh /opt/sark/scripts/srkV4reloader.sh

This will rebuild the V4 DB correctly for Debian.

Next take a copy of the sark db in case of accident before you begin and open port 443 on the sark firewall (otherwise you'll lock yourself out).    Then it's just a question of following the instructions in the wiki to go up to 5.  Download the pointers to the V5 repo and apt-get install sail to do the upgrade.   

:-)