Page 1 of 1

SpellCheck failing to start

PostPosted: Thu Apr 06, 2017 2:57 pm
by jtinsley
The SpellCheck server is crash-looping / failing to start via supervisor, on a deb-installed package, on Debian Jessie:
log
Error: The module '/var/www/onlyoffice/documentserver/server/SpellChecker/node_modules/nodehun/build/Release/nodehun.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 51. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or`npm install`).
at Object.Module._extensions..node (module.js:598:18)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/var/www/onlyoffice/documentserver/server/SpellChecker/sources/spellCheck.js:11:12)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
[2017-04-06 14:21:22.911] [WARN] nodeJS - worker 19256 died. restart...


Also, documentation mentions restarting it via systemd, but the system isn't running the daemons via systemd.

Finally, forums are using http, modern firefox & chrome are not happy about this!

Re: SpellCheck failing to start

PostPosted: Tue Apr 11, 2017 9:43 am
by Maxim
Hello jtinsley!
There is a problem with node.js version you're using.
We advice you to install Node.js v6.10.2.

Re: SpellCheck failing to start

PostPosted: Tue Apr 18, 2017 10:47 am
by jtinsley
Hi,

Downgraded node.js from 7 -> 6 now, and it's started ok, thanks :)

Re: SpellCheck failing to start

PostPosted: Tue Apr 18, 2017 11:17 am
by Maxim
Hello jtinsley!
You're welcome!