liigi wrote:Hi
u say the /usr/src/astguiclient/trunk/extras sql scripts ?? the last line is "1587" but system settings show ( SVN Version:3179 , DB Schema Version: 1582) .So i need to run perl install.pl ? ,Only in the Database or all servers ?
I had only verified the asterisk logs in the dialer, because i have 6 dialers , all was install with the same dvd ,same realese 3179 , but only 1, the most newly instaled have this problem . Recently I put a new dialer and it worked fine until today that I restart the database services and now that dialer does not want make calls. I am thinking that the problem could be in the Database
in the database which logs can help me diagnose the problem ?¡
Your database in system settings is 5 versions behind the code. If you've installed from this code already (as it sounds like you have), then the code is more recent than the database and does not match. Reinstalling the code will not make it match the database.
Either downgrade the svn revision level until the last line is "1582" and then install that version of Vicidial with "perl install.pl", or upgrade the database using the sql file. I recommend deleting all the entries presently in the sql file before "1582" as they have already run and may not want to run again without crashing (ie: if the script tries to create an index or field that already exists, the command will fail, and the script will stop right there ... and NOT run the five entries you specifically need to run ... so just run those five instead and you're good!).
Also note that any time you run perl install.pl, you should include the "sample-conf-files" option. Sometimes there are changes to the conf files that are integral to Vicidial's functionality (not merely preferences). If you don't include the sample conf files, eratic failures can occur. But if you always include them, you're good to go ... assuming of course you have not customized them! Any customizations need to be re-edited after the upgrade. This includes (specifically) the "externip" value of sip.conf since that's almost always edited.