I have just tried to upgrade my FreePBX system (13.0.191.11). This includes upgrading XMPP from 13.0.14 to 13.0.16.9 after performing this update the result is the FreePBX system is 100% busy, the process letschat is cpu bound.
Investigating the issue I found that letschat was attempting to connect to local port 27017 (this is reported in the xmpp logs), and that it looked like mongodb was not running.
So I reverted to a snapshot (this is a VM Installation) and stepped forward one update at a time. The problem occurs at the point that I install XMPP. I performed the XMPP installation manually so that I could capture the information, this is attached below.
The strange thing is that I have two VM systems running FreePBX, and I thought that these systems are identical, yet the other system installed the updates correctly and does not have this problem.
Does anyone have any clue as to what the problem is, or how I fix it?
Thanks,
Tim
[root@localhost ~]# fwconsole ma install xmpp
Removing Prosody....Done
Installing/Updating MongoDB...................................................................................................................Done
Installing/Updating Required Libraries. This may take a while...The following messages are ONLY FOR DEBUGGING. Ignore anything that says 'WARN' or is just a warning
[npm-cache] [INFO] using /home/asterisk/.package_cache as cache directory
[npm-cache] [INFO] [composer] Dependency config file /var/www/html/admin/modules/xmpp/node/composer.json does not exist. Skipping install
[npm-cache] [INFO] [npm] config file exists
[npm-cache] [INFO] [npm] cli exists
[npm-cache] [INFO] [npm] hash of /var/www/html/admin/modules/xmpp/node/package.json: 7d021ac34087d85e31949de3fbf0786c
[npm-cache] [INFO] [npm] running [npm install]...
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"0.12.18","npm":"2.15.11"})
npm WARN deprecated [email protected]: not actively maintained anymore
npm WARN deprecated [email protected]: use @xmpp/jid package <https://www.npmjs.com/package/@xmpp/jid>
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.18","npm":"2.15.11"})
npm WARN engine [email protected]: wanted: {"node":">=5.0.0"} (current: {"node":"0.12.18","npm":"2.15.11"})
npm WARN optional dep failed, continuing [email protected]
> [email protected] preinstall /var/www/html/admin/modules/xmpp/node/node_modules/lets-chat/node_modules/i18n/node_modules/messageformat/node_modules/watchr/node_modules/extendr/node_modules/typechecker
> node ./cyclic.js
> [email protected] preinstall /var/www/html/admin/modules/xmpp/node/node_modules/lets-chat/node_modules/i18n/node_modules/messageformat/node_modules/watchr/node_modules/extract-opts/node_modules/typechecker
> node ./cyclic.js
> [email protected] install /var/www/html/admin/modules/xmpp/node/node_modules/lets-chat/node_modules/node-xmpp-server/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
make: Entering directory `/var/www/html/admin/modules/xmpp/node/node_modules/lets-chat/node_modules/node-xmpp-server/node_modules/ws/node_modules/utf-8-validate/build'
CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../src/validation.cc:8:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h: In function βvoid node::FatalException(const v8::TryCatch&)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h:273: warning: βvoid node::FatalException(v8::Isolate*, const v8::TryCatch&)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:270)
/home/asterisk/.node-gyp/0.12.18/include/node/node.h: In function βv8::Local<v8::Value> node::Encode(const void*, size_t, node::encoding)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h:282: warning: βv8::Local<v8::Value> node::Encode(v8::Isolate*, const void*, size_t, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:278)
/home/asterisk/.node-gyp/0.12.18/include/node/node.h: In function βssize_t node::DecodeBytes(v8::Handle<v8::Value>, node::encoding)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h:294: warning: βssize_t node::DecodeBytes(v8::Isolate*, v8::Handle<v8::Value>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:291)
/home/asterisk/.node-gyp/0.12.18/include/node/node.h: In function βssize_t node::DecodeWrite(char*, size_t, v8::Handle<v8::Value>, node::encoding)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h:307: warning: βssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handle<v8::Value>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:302)
In file included from ../src/validation.cc:10:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h: In function βv8::Local<v8::Object> node::Buffer::New(v8::Handle<v8::String>, node::encoding)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:55: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, v8::Handle<v8::String>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:52)
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h: In function βv8::Local<v8::Object> node::Buffer::New(const char*, size_t)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:65: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, const char*, size_t)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:62)
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h: In function βv8::Local<v8::Object> node::Buffer::New(char*, size_t, void (*)(char*, void*), void*)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:75: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, void (*)(char*, void*), void*)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:70)
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h: In function βv8::Local<v8::Object> node::Buffer::Use(char*, uint32_t)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:88: warning: βv8::Local<v8::Object> node::Buffer::Use(v8::Isolate*, char*, uint32_t)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:85)
In file included from ../src/validation.cc:15:
../node_modules/nan/nan.h: In function βNan::MaybeLocal<v8::Object> Nan::NewBuffer(char*, size_t, void (*)(char*, void*), void*)β:
../node_modules/nan/nan.h:685: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, void (*)(char*, void*), void*)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:70)
../node_modules/nan/nan.h: In function βNan::MaybeLocal<v8::Object> Nan::CopyBuffer(const char*, uint32_t)β:
../node_modules/nan/nan.h:701: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, const char*, size_t)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:62)
../node_modules/nan/nan.h: In function βNan::MaybeLocal<v8::Object> Nan::NewBuffer(char*, uint32_t)β:
../node_modules/nan/nan.h:729: warning: βv8::Local<v8::Object> node::Buffer::Use(v8::Isolate*, char*, uint32_t)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:85)
../node_modules/nan/nan.h: In function βvoid Nan::FatalException(const Nan::TryCatch&)β:
../node_modules/nan/nan.h:850: warning: βvoid node::FatalException(v8::Isolate*, const v8::TryCatch&)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:270)
../node_modules/nan/nan.h: In function βv8::Local<v8::Value> Nan::Encode(const void*, size_t, Nan::Encoding)β:
../node_modules/nan/nan.h:1760: warning: βv8::Local<v8::Value> node::Encode(v8::Isolate*, const void*, size_t, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:278)
../node_modules/nan/nan.h: In function βssize_t Nan::DecodeBytes(v8::Local<v8::Value>, Nan::Encoding)β:
../node_modules/nan/nan.h:1776: warning: βssize_t node::DecodeBytes(v8::Isolate*, v8::Handle<v8::Value>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:291)
../node_modules/nan/nan.h: In function βssize_t Nan::DecodeWrite(char*, size_t, v8::Local<v8::Value>, Nan::Encoding)β:
../node_modules/nan/nan.h:1798: warning: βssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handle<v8::Value>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:302)
SOLINK_MODULE(target) Release/obj.target/validation.node
COPY Release/validation.node
make: Leaving directory `/var/www/html/admin/modules/xmpp/node/node_modules/lets-chat/node_modules/node-xmpp-server/node_modules/ws/node_modules/utf-8-validate/build'
> [email protected] install /var/www/html/admin/modules/xmpp/node/node_modules/lets-chat/node_modules/node-xmpp-server/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
make: Entering directory `/var/www/html/admin/modules/xmpp/node/node_modules/lets-chat/node_modules/node-xmpp-server/node_modules/ws/node_modules/bufferutil/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:8:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h: In function βvoid node::FatalException(const v8::TryCatch&)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h:273: warning: βvoid node::FatalException(v8::Isolate*, const v8::TryCatch&)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:270)
/home/asterisk/.node-gyp/0.12.18/include/node/node.h: In function βv8::Local<v8::Value> node::Encode(const void*, size_t, node::encoding)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h:282: warning: βv8::Local<v8::Value> node::Encode(v8::Isolate*, const void*, size_t, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:278)
/home/asterisk/.node-gyp/0.12.18/include/node/node.h: In function βssize_t node::DecodeBytes(v8::Handle<v8::Value>, node::encoding)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h:294: warning: βssize_t node::DecodeBytes(v8::Isolate*, v8::Handle<v8::Value>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:291)
/home/asterisk/.node-gyp/0.12.18/include/node/node.h: In function βssize_t node::DecodeWrite(char*, size_t, v8::Handle<v8::Value>, node::encoding)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node.h:307: warning: βssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handle<v8::Value>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:302)
In file included from ../src/bufferutil.cc:10:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h: In function βv8::Local<v8::Object> node::Buffer::New(v8::Handle<v8::String>, node::encoding)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:55: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, v8::Handle<v8::String>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:52)
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h: In function βv8::Local<v8::Object> node::Buffer::New(const char*, size_t)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:65: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, const char*, size_t)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:62)
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h: In function βv8::Local<v8::Object> node::Buffer::New(char*, size_t, void (*)(char*, void*), void*)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:75: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, void (*)(char*, void*), void*)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:70)
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h: In function βv8::Local<v8::Object> node::Buffer::Use(char*, uint32_t)β:
/home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:88: warning: βv8::Local<v8::Object> node::Buffer::Use(v8::Isolate*, char*, uint32_t)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:85)
In file included from ../src/bufferutil.cc:16:
../node_modules/nan/nan.h: In function βNan::MaybeLocal<v8::Object> Nan::NewBuffer(char*, size_t, void (*)(char*, void*), void*)β:
../node_modules/nan/nan.h:694: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, void (*)(char*, void*), void*)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:70)
../node_modules/nan/nan.h: In function βNan::MaybeLocal<v8::Object> Nan::CopyBuffer(const char*, uint32_t)β:
../node_modules/nan/nan.h:709: warning: βv8::Local<v8::Object> node::Buffer::New(v8::Isolate*, const char*, size_t)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:62)
../node_modules/nan/nan.h: In function βNan::MaybeLocal<v8::Object> Nan::NewBuffer(char*, uint32_t)β:
../node_modules/nan/nan.h:735: warning: βv8::Local<v8::Object> node::Buffer::Use(v8::Isolate*, char*, uint32_t)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node_buffer.h:85)
../node_modules/nan/nan.h: In function βvoid Nan::FatalException(const Nan::TryCatch&)β:
../node_modules/nan/nan.h:870: warning: βvoid node::FatalException(v8::Isolate*, const v8::TryCatch&)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:270)
../node_modules/nan/nan.h: In function βv8::Local<v8::Value> Nan::Encode(const void*, size_t, Nan::Encoding)β:
../node_modules/nan/nan.h:1788: warning: βv8::Local<v8::Value> node::Encode(v8::Isolate*, const void*, size_t, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:278)
../node_modules/nan/nan.h: In function βssize_t Nan::DecodeBytes(v8::Local<v8::Value>, Nan::Encoding)β:
../node_modules/nan/nan.h:1804: warning: βssize_t node::DecodeBytes(v8::Isolate*, v8::Handle<v8::Value>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:291)
../node_modules/nan/nan.h: In function βssize_t Nan::DecodeWrite(char*, size_t, v8::Local<v8::Value>, Nan::Encoding)β:
../node_modules/nan/nan.h:1826: warning: βssize_t node::DecodeWrite(v8::Isolate*, char*, size_t, v8::Handle<v8::Value>, node::encoding)β is deprecated (declared at /home/asterisk/.node-gyp/0.12.18/include/node/node.h:302)
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
COPY Release/bufferutil.node
make: Leaving directory `/var/www/html/admin/modules/xmpp/node/node_modules/lets-chat/node_modules/node-xmpp-server/node_modules/ws/node_modules/bufferutil/build'
npm WARN engine [email protected]: wanted: {"node":">= 4"} (current: {"node":"0.12.18","npm":"2.15.11"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.18","npm":"2.15.11"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.18","npm":"2.15.11"})
[email protected] node_modules/lets-chat
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected] ([email protected])
βββ [email protected] ([email protected])
βββ [email protected] ([email protected])
βββ [email protected] ([email protected])
βββ [email protected] ([email protected], [email protected], [email protected])
βββ [email protected] ([email protected])
βββ [email protected] ([email protected], [email protected])
βββ [email protected]
βββ [email protected] ([email protected])
βββ [email protected] ([email protected], [email protected])
βββ [email protected] ([email protected], [email protected])
βββ [email protected] ([email protected], [email protected])
βββ [email protected]
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected])
βββ [email protected] ([email protected], [email protected])
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
βββ [email protected]
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
βββ [email protected]
βββ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[npm-cache] [INFO] [npm] installed npm dependencies, now archiving
[npm-cache] [INFO] [npm] archiving dependencies from /var/www/html/admin/modules/xmpp/node/node_modules
[npm-cache] [INFO] [bower] Dependency config file /var/www/html/admin/modules/xmpp/node/bower.json does not exist. Skipping install
[npm-cache] [INFO] [npm] installed and archived dependencies
[npm-cache] [INFO] successfully installed all dependencies
Finished updating libraries!
Starting new Xmpp Process...Started with PID 3737!
Generating CSS...Done
Module xmpp successfully installed
Updating Hooks...Done
[root@localhost ~]#