I did a Module update a few days ago on both our primary and secondary and since then I have had the following fatal error emailed to me every night and I can’t access Module Administration on the secondary anymore. The primary is still working fine.
I did not do anything different apart from update the modules through the GUI
Any advice appreciated
no repos specified, using:
[standard,extended,unsupported] from last GUI settings
[FATAL] INSERT INTO module_xml (id,time,data) VALUES
(‘installid’,1415825043,‘c867aeea6d9eb3574a60d74077d39f91’) [nativecode=1062 **
Duplicate entry ‘installid’ for key ‘PRIMARY’]SQL -
INSERT INTO
module_xml (id,time,data) VALUES
(‘installid’,1415825043,‘c867aeea6d9eb3574a60d74077d39f91’)
Trace Back:
/var/www/html/admin/libraries/sql.functions.php:25
die_freepbx()
0: INSERT INTO
module_xml (id,time,data) VALUES (‘installid’,1415825043,‘c867aeea6d9eb3574a60d74077d39f91’)
[nativecode=1062 ** Duplicate entry ‘installid’ for key ‘PRIMARY’]SQL - INSERT INTO module_xml (id,time,data) VALUES
(‘installid’,1415825043,‘c867aeea6d9eb3574a60d74077d39f91’)
/var/www/html/admin/libraries/utility.functions.php:552
sql()
0: INSERT INTO
module_xml (id,time,data) VALUES
(‘installid’,1415825043,‘c867aeea6d9eb3574a60d74077d39f91’)
/var/www/html/admin/libraries/module.functions.php:58
generate_module_repo_url()
/var/lib/asterisk/bin/module_admin:478
module_getonlinexml()
/var/lib/asterisk/bin/module_admin:732 showList()