SVN UPDATE

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

SVN UPDATE

Postby dennis » Sun Nov 10, 2024 3:57 am

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...
dennis
 
Posts: 11
Joined: Sat Oct 26, 2024 11:38 pm

Re: SVN UPDATE

Postby carpenox » Sun Nov 10, 2024 4:06 am

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
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: SVN UPDATE

Postby dennis » Sun Nov 10, 2024 4:16 am

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...
dennis
 
Posts: 11
Joined: Sat Oct 26, 2024 11:38 pm

Re: SVN UPDATE

Postby williamconley » Sun Nov 10, 2024 4:42 pm

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.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: SVN UPDATE

Postby carpenox » Mon Nov 11, 2024 6:51 am

I don't think that file has been updated in years
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: SVN UPDATE

Postby mflorell » Mon Nov 11, 2024 8:39 am

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.
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: SVN UPDATE

Postby williamconley » Mon Nov 11, 2024 1:34 pm

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-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: SVN UPDATE

Postby carpenox » Tue Nov 12, 2024 10:29 am

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.
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 44 guests