BUG Asterisk Logfiles Module FATAL ERROR on upgrade

cfny332

New Member
Joined
May 13, 2011
Messages
15
Reaction score
0
upgraded my piaf 1.7.5.5.5 + purple system (asterisk 1.8.3 ) CentOS 5.5 and Kernel version 2.6.35.4-cloudPBX 32 bit. using the upgrade tools from 2.8 all the way to 2.11 with no problems all the way until the end.

my Asterisk Logfile module failed to upgrade from 2.10.0.1 to 2.11.0.5 with this fatal error:

Please wait while module actions are performed
FATAL ERROR
alter table logfile_logfiles add column security varchar(25) null default NULL [nativecode=1060 ** Duplicate column name 'security']SQL -
alter table logfile_logfiles add column security varchar(25) null default NULL
Trace Back
/var/www/html/admin/libraries/sql.functions.php:25 die_freepbx()
[0]: alter table logfile_logfiles add column security varchar(25) null default NULL [nativecode=1060 ** Duplicate column name 'security']SQL - <br /> alter table logfile_logfiles add column security varchar(25) null default NULL

/var/www/html/admin/modules/logfiles/install.php:33 sql()
[0]: alter table logfile_logfiles add column security varchar(25) null default NULL

/var/www/html/admin/libraries/module.functions.php:1581 include_once()
[0]: /var/www/html/admin/modules/logfiles/install.php

/var/www/html/admin/libraries/module.functions.php:1548 _modules_doinclude()
[0]: /var/www/html/admin/modules/logfiles/install.php
[1]: logfiles

/var/www/html/admin/libraries/module.functions.php:1157 _module_runscripts()
[0]: logfiles
[1]: install
[2]:

/var/www/html/admin/page.modules.php:397 module_install()
[0]: logfiles

/var/www/html/admin/config.php:306 include()
[0]: /var/www/html/admin/page.modules.php

Any Idea?

AJ
 
uninstall the module and reinstall the latest version.
 
Looks like a patch from Xorcom broke the logger module. Sorry we did not catch it before publishing.
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top