Custom Fields issue with 5.0.3

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

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

Custom Fields issue with 5.0.3

Postby thirdhatch » Thu Sep 19, 2013 9:22 pm

Hi,

We are running vicibox 5.0.3 32 bit on an IBM HS21 2 X Dual Core Xeon 3.0 GHz with 8GB of RAM and 72 GB of functional hard drive. This is a small setup meant for around 10 agents. The server runs the database, the dialer, the webserver, etc.

We upgraded from vicibox 3.1.15 to vicibox 5.0.3 by using the upgrade scripts and instructions. It has been working with no difficulties except when we added some new lists with custom fields the database does not seem to be creating the custom_xxx table associated with the lists. I manually copied the structure from another custom list to create the necessary tables but I get this error when I make any changes to the lists: "Could not execute: No database selectedSUCCESS: Custom Field Modified"

Despite the errors, the changes I am requesting on the custom fields page are being made. Not sure why the custom fields function is not working correctly but would love to see a resolution as this system uses them pretty extensively and manually creating the tables each time is a bit bothersome.
thirdhatch
 
Posts: 96
Joined: Fri Jul 09, 2010 1:07 pm

Re: Custom Fields issue with 5.0.3

Postby mflorell » Fri Sep 20, 2013 5:56 am

It's most likely a database permissions issue. I haven't tested that specifically coming from vicibox 3, but that could be the issue. You should make sure that your mysql database user table has a "custom" user in it, and if not, follow the SCRATCH_INSTALL.txt doc instructions for adding one "GRANT ...."
mflorell
Site Admin
 
Posts: 18399
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Custom Fields issue with 5.0.3

Postby Kumba » Fri Sep 20, 2013 9:53 am

The upgrade script does not upgrade you to ViciBox v.5.0.3. It only updates your database schema, SVN version on disk, and create a compatible ViciBox v.4+ table in the database. Unless you re-installed the operating system you are still running ViciBox v.3. You need to go through the ViciBox upgrade threads as well as the UPGRADE document located at /usr/src/astguiclient/trunk to make sure you have the right stuff in place. You are probably also going to be missing some perl modules for some functionality like email, etc.

More then likely you need to add the custom user and password. Assuming it's the default, you can add them by running the following SQL query: grant create,alter to 'custom'@'%' identified by 'custom1234';
Kumba
 
Posts: 958
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: Custom Fields issue with 5.0.3

Postby thirdhatch » Fri Sep 20, 2013 3:14 pm

Kumba, yeah, I upgraded the existing machine, then build a new one on 5.0.3 and restored the database from the old one to the new one. I think the issue is with the custom user not existing or not having permissions to the new database as Matt indicated.

Thanks guys!
thirdhatch
 
Posts: 96
Joined: Fri Jul 09, 2010 1:07 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 37 guests