Package Details: onlyoffice-documentserver 5.4.0-1

Git Clone URL: https://aur.archlinux.org/onlyoffice-documentserver.git (read-only)
Package Base: onlyoffice-documentserver
Description: Online office suite comprising viewers and editors for texts, spreadsheets and presentations
Upstream URL: https://github.com/ONLYOFFICE/DocumentServer
Licenses: AGPL
Submitter: onny
Maintainer: onny
Last Packager: onny
Votes: 4
Popularity: 0.000972
First Submitted: 2017-07-20 08:47
Last Updated: 2019-09-04 10:46

Dependencies (17)

Required by (0)

Sources (15)

Latest Comments

1 2 3 Next › Last »

PedroHLC commented on 2019-09-01 19:57

@onny Thank you very much!

onny commented on 2019-09-01 14:54

I fixed it using an older version of nodejs. PKGBUILD updated.

PedroHLC commented on 2019-08-30 10:28

@smirky your error is actually the same as mine, you have to search for the "error" keyword to find them in the console output. It's probably a version mismatch with spell checker and v8.

smirky commented on 2019-08-30 09:05

And this is what I got from the makepkg output:

make[1]: *** [nodehun.target.mk:112: Release/obj.target/nodehun/src/nodehun.o] Error 1
make[1]: Leaving directory '/mnt/sdc/onlyoffice-documentserver/src/DocumentServer-ONLYOFFICE-DocumentServer-5.3.4/server/build/server/SpellChecker/node_modules/nodehun/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:190:23)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.3.0-rc6-mainline
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /mnt/sdc/onlyoffice-documentserver/src/DocumentServer-ONLYOFFICE-DocumentServer-5.3.4/server/build/server/SpellChecker/node_modules/nodehun
gyp ERR! node -v v12.9.0
gyp ERR! node-gyp -v v5.0.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nodehun@2.0.12 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodehun@2.0.12 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/smirky/.npm/_logs/2019-08-30T08_47_27_522Z-debug.log

npm install failed with code: 1 Warning: Task "checkDependencies:./build/server/SpellChecker" failed. Use --force to continue.

Aborted due to warnings. make: *** [Makefile:155: Gruntfile.js.out] Error 3 ==> ERROR: A failure occurred in build(). Aborting...

smirky commented on 2019-08-30 07:49

I fail to build the package. I did get a reference to an NPM log after it failed, but I can't figure out it's problem: https://paste.smirky.net/view/raw/4160a816

PedroHLC commented on 2019-08-27 11:28

Since last update, these two repeats a lot in ../src/post0.12.0/nodehun.cpp:

error: no matching function for call to ‘v8::Value::ToString()’
error: no matching function for call to v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])’

Ending with:

>> npm install failed with code: 1
Warning: Task "checkDependencies:./build/server/SpellChecker" failed. Use --force to continue.

VVL commented on 2019-06-01 09:18

solved this error: it's server_makefile.patch mistake - need to edit

@@ -173,36 +173,36 @@

But found new error, which dont know how to fix:

/usr/bin/ld: cannot find -lv8_base
/usr/bin/ld: cannot find -lv8_libplatform
/usr/bin/ld: cannot find -lv8_libbase
/usr/bin/ld: cannot find -lv8_snapshot
/usr/bin/ld: cannot find -lv8_libsampler
collect2: error: ld exited with code error 1

VVL commented on 2019-05-30 22:06

at 5.3.0:

patching file server/Makefile

patch: **** malformed patch at line 55:

BrainwreckedTech commented on 2019-05-23 23:23

After compiling and installing, The INSTALL script gave this error:

/tmp/alpm_0Y1OKM/.INSTALL: line 1: 11860 Aborted                 sudo -u onlyoffice "/usr/share/webapps/onlyoffice/documentserver/server/tools/AllFontsGen" --input="/usr/share/webapps/onlyoffice/documentserver/core-fonts" --allfonts-web="/usr/share/webapps/onlyoffice/documentserver/sdkjs/common/AllFonts.js" --allfonts="/usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/AllFonts.js" --images="/usr/share/webapps/onlyoffice/documentserver/sdkjs/common/Images" --selection="/usr/share/webapps/onlyoffice/documentserver/server/FileConverter/bin/font_selection.bin" --output-web="/usr/share/webapps/onlyoffice/documentserver/fonts" --use-system="true"
error: command failed to execute correctly

After some digging, I found this fix: https://github.com/ONLYOFFICE/DocumentServer/issues/377#issuecomment-455782913

If I put font-files in there, it seems to work fine. So it is enough to install, e.g. the package noto-fonts. Setting --use-system="false" also results in a segfault!

Installing noto-fonts solved the problem.

Serus commented on 2019-02-02 06:16

@VVL That's because @onny is using the AllFontsGen from the deb, which is linked to a libkernel that's compiled with a different compiler.

@onny Reverting your fix in the PKGBUILD should fix the issue, AllFontsGen working fine for me here once I changed that.