Installing open source FreePBX 16 today I got a new surprise:
# fwconsole ma downloadinstall contactmanager
No repos specified, using: [standard] from last GUI settings
Downloading module 'contactmanager'
Processing contactmanager
Verifying local module download...Verified
Extracting...Done
Download completed in 1 seconds
Updating tables contactmanager_groups, contactmanager_group_entries, contactmanager_entry_speeddials, contactmanager_entry_numbers, contactmanager_entry_images, contactmanager_entry_userman_images, contactmanager_entry_xmpps, contactmanager_entry_emails, contactmanager_entry_websites...Done
log file created /var/log/asterisk/contactmanager_module_hook.log
In Contactmanager.class.php line 3874:
/var/spool/asterisk/incron is not a directory
Indeed that directory does not exist. A workaround:
mkdir -p /var/spool/asterisk/incron
and then install the module.
However I am concerned about this. Contact Manager is an open source module, and the incron system is for Sysadmin and commercial modules.
I speculate that developers who are used to working on Distro are used to making assumptions that everyone is using Distro and SNG7 OS and that the framework for commercial modules will be there. But I would very much like to push back against this.
PLEASE start from an assumption of open source install on unknown Linux and not from an assumption of Distro install. I will file a bug report on the aforementioned error. But it’s annoying that I have to.