POSSA/freepbx-weather-by-zip

Can't upgrade this module

Closed this issue · 2 comments

install.php script fails during upgrade when it tries to create the feature code that already exists. Uninstall old version first than install new version will work.

Page on how to properly set/read feature codes:
http://www.freepbx.org/trac/wiki/ApiFeaturecodes

Problem was not caused by feature code definition in install.php. Problem was caused by install.sql, when INSERT commands tried to overwrite existing records. Problem solved in ver. 1.3.0 beta 1 by changing to REPLACE commands.