FreePBX-Distro-10.13.66 upgrade problem

Tried to upgrade from 6.12.65-32 per instructions here http://wiki.freepbx.org/display/PPS/FreePBX-Distro-6.12.65

Also did asterisk-version-switch prior, went from 11 to 13

Now Asterisk won’t start and errors in web console. Thought maybe upgrading from 10.13.66-1 to -8 might help, but getting the errors below when attempting that.

STAGE 1 COMPLETED - GUI Modules - Moving to Stage 2

STAGE 2 STARTING - RPMs

Replace repos with only FreePBX Distro since some people have added other repos which can break updates

Moving to Next Step

Update Asterisk RPMs
Loaded plugins: fastestmirror, kmod
Existing lock /var/run/yum.pid: another copy is running as pid 3638.
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 39 M RSS ( 53 MB VSZ)
Started: Tue Feb 16 13:31:51 2016 - 01:52 ago
State : Sleeping, pid: 3638
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 39 M RSS ( 53 MB VSZ)
Started: Tue Feb 16 13:31:51 2016 - 01:54 ago
State : Sleeping, pid: 3638
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 39 M RSS ( 53 MB VSZ)
Started: Tue Feb 16 13:31:51 2016 - 01:56 ago
State : Sleeping, pid: 3638
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 39 M RSS ( 53 MB VSZ)
Started: Tue Feb 16 13:31:51 2016 - 01:58 ago
State : Running, pid: 3638
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 51 M RSS ( 65 MB VSZ)
Started: Tue Feb 16 13:31:51 2016 - 02:00 ago
State : Running, pid: 3638
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 49 M RSS ( 63 MB VSZ)
Started: Tue Feb 16 13:31:51 2016 - 02:02 ago
State : Running, pid: 3638

1 Like

Another copy of yum is running. Try killing it or stopping it

This is after a fresh reboot. Check and yum is not running, the upgrade tries to run it and that is when I start getting the error messages so not really sure what’s going on.

No yum is running. That is the error. It says yum has a hung process. You need to go kill the lock on yum. A reboot will not remove the lock.

rm /var/run/yum.pid

1 Like

I appreciate you guys trying to help! I rebooted several times and kept trying to apply the upgrade and looks like it finally went through.

# cat /etc/schmooze/pbx-version
10.13.66-8

Also Asterisk seems to be starting and running, no more ‘can not connect to asterisk’ messages.

However when I try to ‘Apply Config’ I get Error: Did not receive valid response from server. XHR response code: 500 XHR response Text: undefined jQuery status: error

When I move the mouse to hit cancel it ‘switches’ page to a Whoops\Exception\ErrorException /var/www/html/admin/libraries/php-asmanager.php:414 error page

This was a recent install that was never even in production, only getting ready to go live and decided to upgrade it. It’s vanilla as can be… does everyone have these same kind of problems upgrading?

A bunch of these kind of lines show up in freepbx.log when I click Apply Config

[2016-Feb-16 15:40:45] [WARNING] (core/functions.inc.php:6584) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/cxpanel/modify.php on line 653
[2016-Feb-16 15:40:46] [WARNING] (core/functions.inc.php:6584) - Depreciated Function core_did_list detected in /var/www/html/admin/modules/blacklist/functions.inc.php on line 34
[2016-Feb-16 15:40:46] [WARNING] (core/functions.inc.php:6584) - Depreciated Function core_routing_list detected in /var/www/html/admin/modules/callrecording/functions.inc.php on line 378
[2016-Feb-16 15:40:46] [WARNING] (core/functions.inc.php:6584) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/digium_phones/classes/digium_phones.php on line 121
[2016-Feb-16 15:40:46] [WARNING] (core/functions.inc.php:6584) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/queues/functions.inc/queue_conf.php on line 97
[2016-Feb-16 15:40:46] [WARNING] (core/functions.inc.php:6584) - Depreciated Function core_users_list detected in /var/www/html/admin/modules/core/functions.inc.php on line 4210

Completely normal. Those are notes for the developers.

Ok, well am I stuck then? Is this un-fixable? Should we not be upgrading the latest version yet?

Here is what my module list looks like if it helps…

+------------------+--------------+----------+
| Module           | Version      | Status   |
+------------------+--------------+----------+
| announcement     | 13.0.4       | Enabled  |
| areminder        | 13.0.4.5     | Enabled  |
| arimanager       | 13.0.3       | Enabled  |
| asteriskinfo     | 13.0.6       | Enabled  |
| backup           | 13.0.21.5    | Enabled  |
| blacklist        | 13.0.7       | Enabled  |
| bria             | 13.0.12      | Enabled  |
| broadcast        | 13.0.8       | Enabled  |
| builtin          |              | Enabled  |
| bulkdids         | 13.0.2       | Enabled  |
| bulkextensions   | 13.0.3       | Enabled  |
| bulkhandler      | 13.0.13      | Enabled  |
| callback         | 13.0.5       | Enabled  |
| callerid         | 13.0.3       | Enabled  |
| callforward      | 13.0.4       | Enabled  |
| calllimit        | 13.0.3       | Enabled  |
| callrecording    | 13.0.9       | Enabled  |
| callwaiting      | 13.0.4       | Enabled  |
| campon           | 13.0.3       | Enabled  |
| cdr              | 13.0.22      | Enabled  |
| cel              | 13.0.14      | Enabled  |
| certman          | 13.0.12      | Enabled  |
| cidlookup        | 13.0.9       | Enabled  |
| conferences      | 13.0.17      | Enabled  |
| conferencespro   | 12.0.32      | Disabled |
| contactmanager   | 13.0.17      | Enabled  |
| core             | 13.0.44      | Enabled  |
| cos              | 13.0.9       | Enabled  |
| customappsreg    | 13.0.4.4     | Enabled  |
| cxpanel          | 4.1.10       | Enabled  |
| dashboard        | 13.0.19      | Enabled  |
| daynight         | 13.0.9       | Enabled  |
| dictate          | 13.0.4       | Enabled  |
| digium_phones    | 2.11.3.0     | Enabled  |
| directory        | 13.0.10      | Enabled  |
| disa             | 13.0.5       | Enabled  |
| donotdisturb     | 13.0.3       | Enabled  |
| endpoint         | 13.0.28      | Enabled  |
| extensionroutes  | 13.0.6       | Enabled  |
| fax              | 13.0.25      | Disabled |
| faxpro           | 13.0.27      | Disabled |
| featurecodeadmin | 13.0.5       | Enabled  |
| findmefollow     | 13.0.26      | Enabled  |
| firewall         | 13.0.19      | Enabled  |
| framework        | 13.0.63      | Enabled  |
| freepbx_ha       | 13.0.7       | Enabled  |
| hotelwakeup      | 13.0.10      | Enabled  |
| iaxsettings      | 13.0.3       | Enabled  |
| infoservices     | 13.0.1       | Enabled  |
| irc              | 2.11.0.6     | Enabled  |
| ivr              | 13.0.14      | Enabled  |
| javassh          | 2.11.2       | Enabled  |
| languages        | 13.0.5       | Enabled  |
| logfiles         | 13.0.7       | Enabled  |
| manager          | 13.0.2.5     | Enabled  |
| miscapps         | 13.0.2.2     | Enabled  |
| miscdests        | 13.0.2       | Enabled  |
| music            | 13.0.12      | Enabled  |
| outroutemsg      | 13.0.2       | Enabled  |
| paging           | 13.0.11      | Enabled  |
| pagingpro        | 12.0.7       | Disabled |
| parking          | 13.0.13      | Enabled  |
| parkpro          | 13.0.13      | Enabled  |
| pbdirectory      | 2.11.0.4     | Enabled  |
| phonebook        | 13.0.5.2     | Enabled  |
| phpinfo          | 13.0.2       | Enabled  |
| pinsets          | 13.0.5       | Enabled  |
| pinsetspro       | 2.11.0.11    | Disabled |
| presencestate    | 13.0.4       | Enabled  |
| printextensions  | 13.0.3       | Enabled  |
| queueprio        | 13.0.2       | Enabled  |
| queues           | 13.0.19      | Enabled  |
| qxact_reports    | 13.0.9       | Enabled  |
| recording_report | 12.0.4       | Disabled |
| recordings       | 13.0.19      | Enabled  |
| restapi          | 13.0.18.3    | Enabled  |
| restapps         | 13.0.7.5     | Enabled  |
| ringgroups       | 13.0.10      | Enabled  |
| setcid           | 13.0.4       | Enabled  |
| sipsettings      | 13.0.17      | Enabled  |
| sipstation       | 13.0.13.7    | Enabled  |
| sms              | 13.0.5       | Enabled  |
| sng_mcu          | 13.0.3       | Enabled  |
| soundlang        | 13.0.7       | Enabled  |
| speeddial        | 2.11.0.3     | Enabled  |
| sysadmin         | 13.0.39      | Enabled  |
| timeconditions   | 13.0.15      | Enabled  |
| tts              | 13.0.6       | Enabled  |
| ttsengines       | 13.0.4.1     | Enabled  |
| ucp              | 13.0.22      | Enabled  |
| ucpnode          | 13.0.22      | Enabled  |
| userman          | 13.0.50      | Enabled  |
| vmblast          | 13.0.7       | Enabled  |
| vmnotify         | 13.0.8       | Enabled  |
| voicemail        | 13.0.33      | Enabled  |
| voicemail_report | 13.0.5       | Enabled  |
| vqplus           | 13.0.17      | Enabled  |
| weakpasswords    | 13.0.1alpha1 | Enabled  |
| webcallback      | 13.0.8       | Enabled  |
| webrtc           | 13.0.13      | Enabled  |
| xmpp             | 13.0.6       | Enabled  |
+------------------+--------------+----------+

This is what is killing me. I have resorted to manual updating after the system crashed today. I keep running out of resources

You have multiple upgrade scripts running yum at the same time