I just virtualized one FPBX on Hyper-V 2016 and imported the settings from a physical server. Everything ran (more or less) without bigger errors.
One thing is voicemail-notification are not delivered / stored properly. Calls are always shown in the calls list in UCP, but voicemails sometimes are shown with attachments, sometimes neither they nor the attachements are shown in vm-list (and are not delivered via email).
In “voicemail settings”, if I try to change something and apply it, I get the followinig error:
exit: 255
Unable to continue. SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘hooks-noid’ for key ‘uniqueindex’ in /var/www/html/admin/libraries/BMO/DB_Helper.class.php on line 268
#0 /var/www/html/admin/libraries/BMO/DB_Helper.class.php(268): PDOStatement->execute(Array)
#1 /var/www/html/admin/libraries/BMO/Hooks.class.php(117): FreePBX\DB_Helper->setConfig(‘hooks’, Array)
#2 /var/www/html/admin/libraries/BMO/Hooks.class.php(27): FreePBX\Hooks->updateBMOHooks()
#3 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php(159): FreePBX\Hooks->getAllHooks()
#4 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php(27): FreePBX\DialplanHooks->getBMOHooks()
#5 /var/lib/asterisk/bin/retrieve_conf(854): FreePBX\DialplanHooks->getAllHooks(Array)
#6 {main}
edit:
besides importing settings, I installed German sounds via:
mkdir /var/lib/asterisk/sounds/de
cd /var/lib/asterisk/sounds/de
wget -O core.zip https___www.asterisksounds.org/de/download/asterisk-sounds-core-de-sln16.zip
wget -O extra.zip https___www.asterisksounds.org/de/download/asterisk-sounds-extra-de-sln16.zip
unzip core.zip
unzip extra.zip
chown -R asterisk.asterisk /var/lib/asterisk/sounds/de
find /var/lib/asterisk/sounds/de -type d -exec chmod 0775 {} ;´
(don´t really know why FreePBX does not support German sounds by default)
So maybe this is a permission problem?