Vicibox Redux 3.0.8 Database Schema and password

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Vicibox Redux 3.0.8 Database Schema and password

Postby Trying » Wed Nov 24, 2010 9:34 am

I decided to open a new thread on these issues.

We now used three different servers using the 3.0.8 64bit disc on all these servers. We used three different options to see if the problems are replicated on all the installs.

Server 1

Update OS - N
Update SVN - N
Turn firewall off - Y
Database - Y
Web - N
Telephony - N
Large Database Support - Y

Then I simply hit enter on all the defaults. (MySql username = cron Password = 1234)

Result: The database schema shows in system settings. MySql -p with password 1234 gives a wrong password error. When I leave the password empty I gain access to MySql.

Server 2

Update OS - N
Update SVN - Y
Turn firewall off - Y
Database - Y
Web - N
Telephony - N
Large Database Support - Y

Then I simply hit enter on all the defaults. (MySql username = cron Password = 1234)

Result: This installation does not download the SVN, it installs the SVN version that is on the disc. The database schema does not show in system settings. MySql -p with password 1234 gives a wrong password error. When I leave the password empty I gain access to MySql.

Server 3

Update OS - Y
Update SVN - Y
Turn firewall off - Y
Database - Y
Web - N
Telephony - N
Large Database Support - Y

Then I simply hit enter on all the defaults. (MySql username = cron Password = 1234)

Result: This installation does download the SVN. The database schema does not show in system settings. MySql -p with password 1234 gives a wrong password error. When I leave the password empty I gain access to MySql.[/u]
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby williamconley » Wed Nov 24, 2010 5:22 pm

MySql -p with password 1234
will never work. what this is asking the system to do is "log in to mysql as the present user (root!) with a password of 1234". But root has no password. Cron, on the other hand, has a passwod of 1234. So:
Code: Select all
mysql -u cron -p1234
will work much better.
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby Trying » Wed Nov 24, 2010 5:34 pm

Thanks William! Now I am only left with one "issue" :D
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby williamconley » Wed Nov 24, 2010 6:18 pm

have you been able to try other scenarios to verify "OSUpdate"="Y" is the only way to get your installations to download SVN?

(not just a fluke?)
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby Kumba » Wed Nov 24, 2010 10:38 pm

Use SVN will use the SVN Code on the disk. This has nothing to do with downloading a more current SVN.

OS Update will cause it to update the operating system, AND connect out to the internet and update the SVN Code on the disk to the current.

Nothing will make it update the SVN Code unless you select "OS Update".

I will see if I can duplicate the schema issue you are describing.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby williamconley » Thu Nov 25, 2010 12:55 am

would it not be more "clear" to remove the SVN Update if OS update is "N"? (thus removing the misunderstanding?)

or change the phrase to "SVN Install" instead of "SVN Update"? (unless he copied that wrong ... i don't have one in front of me.
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby Trying » Thu Nov 25, 2010 2:00 am

Hi

The SVN update is not an issue for me - I just mentioned it to illustrate the different methods I used to install. Only the database schema is the issue. Thanks a lot for the help! I have downloaded several discs and used 5 different servers now just in case but keep getting the same result.
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby iulianm » Thu Nov 25, 2010 6:27 am

I had the same problem;

What I saw in apache logs was some queries being made with some rows that didn't exists in database

The solution for me was:

mysql

use asterisk
\. /usr/src/astguiclient/trunk/extras/upgrade_2.4.sql
iulianm
 
Posts: 36
Joined: Thu Nov 25, 2010 6:26 am
Location: Romania

Postby Trying » Thu Nov 25, 2010 6:32 am

I am soooo happy to see other people also get this! I thought I am a total moron by now! :D

ERROR 1091 (42000) at line 587 in file: './upgrade_2.4.sql': Can't DROP 'uniqueid'; check that column/key exists


Is this the same error you got?
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby iulianm » Thu Nov 25, 2010 7:16 am

that is the error that you receive when you run to update mysql database from the sql?

I din't looked exacly but that error is there beceause it can't find that column in your database.

Anyway after I run that upgrade the system is working.
iulianm
 
Posts: 36
Joined: Thu Nov 25, 2010 6:26 am
Location: Romania

Postby Kumba » Thu Nov 25, 2010 8:18 pm

The phrase "Update SVN" is never presented as a wizard option. It only every says "Use SVN".

If you want to update things select Update. It's that simple. Use SVN only uses the SVN code preasent on the disk.

As far as the DB Schema not updating that is confirmed. I am not sure why that is happening, but the short-fix is to run this command as root on the database:

/usr/bin/mysql asterisk --execute="\. /usr/src/astguiclient/trunk/extras/upgrade_2.4.sql"

An alternative would be doing what Iulianm suggested, which runs the same sql file just in a different method.

I am trying to figure out why the schema is not updating completely. It partially updates but not fully.
Last edited by Kumba on Tue Nov 30, 2010 10:34 pm, edited 2 times in total.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby Trying » Fri Nov 26, 2010 1:43 am

Hi Kumba

Thank you very much for the feedback. Yes, apologies, when I reported the issue I wasn't in front of a server so I got the wording messed up a bit.
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Trying » Mon Nov 29, 2010 5:16 am

Hi Kumba

Will there be a 3.0.9 release when this bug is fixed or will it be fixed within 3.0.8?
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 282 guests