Page 1 of 1

SVN UPDATE

PostPosted: Sun Nov 10, 2024 3:57 am
by dennis
Good day,

This is my first post, sorry in advance if I done wrong. I just updated my SVN with these steps:
Steps to update SVN version of your Vicidial Setup:

"1) Backup your existing Vicidial Setup

You can manually take backup or use existing backup script provided by Vicidial.
Using Vicidial backup script: perl /usr/share/astguiclient/ADMIN_backup.pl
2) Download latest SVN trunk version or a specific SVN version

mkdir /usr/src/astguiclient
cd /usr/src/astguiclient
To download latest SVN:
svn checkout svn://svn.eflo.net:3690/agc_2-X/trunk

To download specific SVN (For eg. 3271):
svn checkout -r 3271 svn://svn.eflo.net:3690/agc_2-X/trunk
3) Run the Install script
cd /usr/src/astguiclient/trunk
perl install.pl"

When I am done updating this happened, "WARNING: Code expects different schema: 1720". And when I tried logging in an agent, it gives me this error: "ERROR: System Settings missing". And then I checked the system settings, it is all blank except the warning sign.

What could be the problem? I am noobie here, could someone help me with it? A step-by-step will do.

I updated this using putty.

Thank you in advance...

Re: SVN UPDATE

PostPosted: Sun Nov 10, 2024 4:06 am
by carpenox
Check out this article:

https://dialer.one/how-to-update-your-v ... ubversion/

You need to run this line: mysql -p -f --database=asterisk < /usr/src/astguiclient/trunk/extras/upgrade_2.14.sql

Chris

Re: SVN UPDATE

PostPosted: Sun Nov 10, 2024 4:16 am
by dennis
carpenox wrote:Check out this article:

https://dialer.one/how-to-update-your-v ... ubversion/

You need to run this line: mysql -p -f --database=asterisk < /usr/src/astguiclient/trunk/extras/upgrade_2.14.sql

Chris


Thank you very much for this, I already fixed the problem using this steps...

Re: SVN UPDATE

PostPosted: Sun Nov 10, 2024 4:42 pm
by williamconley
For clarity: There is an 'UPGRADE' document in

/usr/src/astguiclient/trunk

It's the official upgrade method with lots of notes. It may (or may not) change from version to version, so always check it.

Re: SVN UPDATE

PostPosted: Mon Nov 11, 2024 6:51 am
by carpenox
I don't think that file has been updated in years

Re: SVN UPDATE

PostPosted: Mon Nov 11, 2024 8:39 am
by mflorell
The UPGRADE document was last updated in July of this year(4 months ago). We typically only add new general features to the changes list, but the instructions at the top are rarely changed.

Re: SVN UPDATE

PostPosted: Mon Nov 11, 2024 1:34 pm
by williamconley
Since we're having the discussion...

I'm not sure the UPGRADE document is really there for technicians who install/upgrade/customize vicidial on a daily basis.

Stating that it's "not been changed in years" implies that it's for some reason less worth reading because it's old. But in reality: it's always worth a look to refresh your memory, even if you read it yesterday.

Accidentally forgetting one step in the Upgrade process causes hair loss. A quick refresh of the Official Upgrade document can both avoid that hairloss AND allow a technician to actually be aware if there is, in fact, a change.

Evens the playing field. Whether you've been installing Vicidial servers for a decade or a day, a quick read never hurts.

Implying otherwise is bad form.

Moving that information elsewhere and not specifying to ALSO check the official document is also bad form. Your Other location for that information may have a delay (or in fact become quite stale, as evidenced by GoAutoDial's multi-month and then multi-year lag) which could cause end users to be led astray..

Always ALSO refer users to the official documentation. It's just good business.

Code: Select all
/usr/src/astguiclient/trunk/UPGRADE


8-)

Re: SVN UPDATE

PostPosted: Tue Nov 12, 2024 10:29 am
by carpenox
I typically just look at the files code themselves that are updated during SVN upgrades, scroll down to the date for the day and see what was changed.