14 to 15 Upgrade - failed

Hello All,

I started the process of upgrading 14 to 15 via GUI.
Everything was current for modules & OS.

At some point it failed, but left things a little stuck.
I then ran my manual process for this via command line, but at each step it’s looking like it wants userman and possibly something else.

Unfortunately trying to manually install userman fails as well, same error for trying to install framework, core, etc… ( see 2nd code section ).

Any advice appreciated!

[root@pbx ~]# fwconsole ma downloadinstall versionupgrade
No repos specified, using: [standard,extended,commercial] from last GUI settings

Downloading module 'versionupgrade'
Processing versionupgrade
Verifying local module download...Verified
Extracting...Done
Download completed in 10 seconds
Unable to install module versionupgrade:
 - FreePBX version 15.0.23.12 or higher is required, you have 15.0.0alpha1
Updating Hooks...Done

In Self_Helper.class.php line 213:

  Unable to locate the FreePBX BMO Class 'Userman'A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install userman 2) fwconsole ma enable userman


moduleadmin [-f|--force] [-d|--debug] [--edge] [--ignorecache] [--stable] [--color] [--skipchown] [-e|--autoenable] [--skipdisabled] [--snapshot SNAPSHOT] [--format FORMAT] [-R|--repo REPO] [-t|--tag TAG] [--sendemail] [--onlystdout] [--] [<args>]...

[root@pbx ~]# fwconsole reload
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
Unable to continue. Unable to locate the FreePBX BMO Class 'Userman'A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install userman 2) fwconsole ma enable userman in /var/www/html/admin/libraries/BMO/Self_Helper.class.php on line 213
#0 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(106): FreePBX\Self_Helper->loadObject('Userman')
#1 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(37): FreePBX\Self_Helper->autoLoad('Userman')
#2 /var/www/html/admin/modules/fax/Fax.class.php(11): FreePBX\Self_Helper->__get('Userman')
#3 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(124): Fax->__construct(Object(FreePBX))
#4 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(37): FreePBX\Self_Helper->autoLoad('Fax')
#5 /var/www/html/admin/libraries/BMO/Hooks.class.php(298): FreePBX\Self_Helper->__get('Fax')
#6 /var/www/html/admin/libraries/BMO/Hooks.class.php(39): FreePBX\Hooks->preloadBMOModules()
#7 /var/lib/asterisk/bin/retrieve_conf(81): FreePBX\Hooks->updateBMOHooks()
#8 {main}

[root@pbx ~]# fwconsole versionupgrade --check


  Command "versionupgrade" is not defined.


[root@pbx ~]# fwconsole versionupgrade --upgrade


  Command "versionupgrade" is not defined.


[root@pbx ~]# fwconsole chown
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...

In Self_Helper.class.php line 213:

  Unable to locate the FreePBX BMO Class 'Userman'A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install userman 2) fwconsole ma enable userman


chown [-f|--file FILE] [-m|--module MODULE]

[root@pbx ~]# fwconsole reloadfwconsole ma upgradeall


  Command "reloadfwconsole" is not defined.


[root@pbx ~]# fwconsole chown
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting Permissions...

In Self_Helper.class.php line 213:

  Unable to locate the FreePBX BMO Class 'Userman'A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install userman 2) fwconsole ma enable userman


chown [-f|--file FILE] [-m|--module MODULE]

[root@pbx ~]# fwconsole reload
Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
Unable to continue. Unable to locate the FreePBX BMO Class 'Userman'A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install userman 2) fwconsole ma enable userman in /var/www/html/admin/libraries/BMO/Self_Helper.class.php on line 213
#0 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(106): FreePBX\Self_Helper->loadObject('Userman')
#1 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(37): FreePBX\Self_Helper->autoLoad('Userman')
#2 /var/www/html/admin/modules/fax/Fax.class.php(11): FreePBX\Self_Helper->__get('Userman')
#3 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(124): Fax->__construct(Object(FreePBX))
#4 /var/www/html/admin/libraries/BMO/Self_Helper.class.php(37): FreePBX\Self_Helper->autoLoad('Fax')
#5 /var/www/html/admin/libraries/BMO/Hooks.class.php(298): FreePBX\Self_Helper->__get('Fax')
#6 /var/www/html/admin/libraries/BMO/Hooks.class.php(39): FreePBX\Hooks->preloadBMOModules()
#7 /var/lib/asterisk/bin/retrieve_conf(81): FreePBX\Hooks->updateBMOHooks()
#8 {main}


manual install of userman:

fwconsole ma install userman
Detected Missing Dependency of: core 13.0.84
Found local Dependency of: core 15.0.22.30
Detected Missing Dependency of: framework 15.0.16.40
Downloading Missing Dependency of: framework 15.0.16.40
Processing framework
Verifying local module download...Verified
Extracting...Done
Module framework successfully downloaded
Installing Missing Dependency of: framework 15.0.16.40
Updating tables admin, ampusers, cronmanager, featurecodes, freepbx_log, freepbx_settings, globals, module_xml, modules, notifications, cron_jobs...Done
PHP Fatal error:  Call to a member function writeln() on string in /var/www/html/admin/modules/framework/install.php on line 38
Whoops\Exception\ErrorException: Call to a member function writeln() on string in file /var/www/html/admin/modules/framework/install.php on line 38
Stack trace:
  1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/framework/install.php:38

BUMP please

Do you have a full backup of the original system? If you do, you might be better off spending your time doing a clean install of 16 and then just restoring the backup to the newly installed 16 box.

That I believe was one of the upgrade in another state and no additional hardware is available, so trying the “in-place” method if possible.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.