I recently upgraded to 10.13.66-6, and am getting this error:
Reload failed because retrieve_conf encountered an error: 255
When I click on More Info I get:
exit: 255
Unable to continue. Invalid argument supplied for foreach() in /var/www/html/admin/modules/sng_mcu/functions.inc/dialplan.php on line 57
I had the same problem. Was ugrading to FreePBX 13.0.15. After I executed the rm command above, it is now indicated that I have a broken sng_mcu module. I went to module admin to fix it, but cannot. I get the following status message:
Thanks for that; I did get an error, but the broken module has gone away. Not sure what that module was supposed to do, but maybe nothing I need as you said.
Now on to bigger fish if you are interested!
My previous FreePBX version was 6.12.65-30 and, although the new FreePBX version (13.0.15) is displayed in the GUI at the bottom of all pages I have accessed, in the System Admin module the version is also displayed at the top left, but it is the old version being displayed. However, things seem to be working so far.
My other problem is the new UCP. It just doesn’t work. There is extensive debugging in the new version so I have copied it here:
Whoops\Exception\ErrorException thrown with message “Invalid argument supplied for foreach()”
Stacktrace: #5 Whoops\Exception\ErrorException in /var/www/html/admin/modules/voicemail/ucp/Voicemail.class.php:624 #4 Whoops\Run:handleError in /var/www/html/admin/modules/voicemail/ucp/Voicemail.class.php:624 #3 UCP\Modules\Voicemail:getMailboxCount in /var/www/html/admin/modules/voicemail/ucp/Voicemail.class.php:412 #2 UCP\Modules\Voicemail:getBadge in /var/www/html/admin/modules/voicemail/ucp/Voicemail.class.php:423 #1 UCP\Modules\Voicemail:getMenuItems in /var/www/html/admin/modules/ucp/htdocs/includes/Modules.class.php:63 #0 UCP\Modules:generateMenu in /var/www/html/admin/modules/ucp/htdocs/index.php:196
The content of your log is partially interpreted as formating codes by the forum software…
You might want to use the “pre-formatted” tag on that part of your message…
As for the reason of your problem I tend to agree with @tonyclewis…
As for System Admin showing an old version there are scripts that can be manually run to automatically upgrade from one version to the other (taking care of not forgetting any) or System Admin Pro can do that for you.
I am not sure though how you migrated from FreePBX 12 to FreePBX 13 (ie was it supposed to only change the FreePBX version or the distro version as well) and I am far from an expert on those scripts so if you still have this problem after making sure your modules are up to date I would suggest creating a new message thread and hopefully someone who knows those scripts well (like a dev) will pitch in…
I would suggest you make a backup before doing anything else…
Thanks Gentleman. I think I am going to restart with a new install. I am at an early stage of my development and don’t have to worry about keeping a system up. It appears that I jumped the gun and skipped a few versions with the wrong upgrade script. It was a complete distro upgrade to answer your question. I am having so much fun that I sometimes speed read, a skill I don’t have!