diff options
Diffstat (limited to 'www/onlyoffice-documentserver/files')
20 files changed, 362 insertions, 110 deletions
diff --git a/www/onlyoffice-documentserver/files/ds-adminpanel.conf b/www/onlyoffice-documentserver/files/ds-adminpanel.conf new file mode 100644 index 000000000000..23bb8bc1102a --- /dev/null +++ b/www/onlyoffice-documentserver/files/ds-adminpanel.conf @@ -0,0 +1,13 @@ +[program:adminpanel] +command=%%LOCALBASE%%/www/onlyoffice/documentserver/server/AdminPanel/server/adminpanel +directory=%%LOCALBASE%%/www/onlyoffice/documentserver/server/AdminPanel +user=onlyoffice +environment=NODE_ENV=production-freebsd,NODE_CONFIG_DIR=%%LOCALBASE%%/etc/onlyoffice/documentserver,NODE_DISABLE_COLORS=1 +stdout_logfile=/var/log/onlyoffice/documentserver/adminpanel/out.log +stdout_logfile_backups=0 +stdout_logfile_maxbytes=0 +stderr_logfile=/var/log/onlyoffice/documentserver/adminpanel/err.log +stderr_logfile_backups=0 +stderr_logfile_maxbytes=0 +autostart=true +autorestart=true diff --git a/www/onlyoffice-documentserver/files/ds.conf b/www/onlyoffice-documentserver/files/ds.conf index 307d2ea5c60f..943446672724 100644 --- a/www/onlyoffice-documentserver/files/ds.conf +++ b/www/onlyoffice-documentserver/files/ds.conf @@ -1,2 +1,2 @@ [group:ds]
-programs=docservice,converter,metrics
+programs=docservice,converter,metrics,adminpanel diff --git a/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js index 488a4adcbd28..83880f6f2aa0 100644 --- a/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js +++ b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_lib-es5_build.js @@ -1,6 +1,6 @@ ---- yao-pkg/node_modules/@yao-pkg/pkg-fetch/lib-es5/build.js.orig 2024-01-25 21:40:25.773587000 +0100 -+++ yao-pkg/node_modules/@yao-pkg/pkg-fetch/lib-es5/build.js 2024-01-25 21:41:12.907517000 +0100 -@@ -99,12 +99,6 @@ function getConfigureArgs(major, targetPlatform) { +--- yao-pkg/node_modules/@yao-pkg/pkg-fetch/lib-es5/build.js.orig 2025-10-18 21:16:20 UTC ++++ yao-pkg/node_modules/@yao-pkg/pkg-fetch/lib-es5/build.js +@@ -100,12 +100,6 @@ function getConfigureArgs(major, targetPlatform, targetArch) { if (targetPlatform === 'linuxstatic') { args.push('--fully-static'); } @@ -13,26 +13,19 @@ // production binaries do NOT take NODE_OPTIONS from end-users args.push('--without-node-options'); // The dtrace and etw support was removed in https://github.com/nodejs/node/commit/aa3a572e6bee116cde69508dc29478b40f40551a -@@ -115,7 +109,14 @@ function getConfigureArgs(major, targetPlatform) { - // bundled npm package manager +@@ -117,7 +111,14 @@ function getConfigureArgs(major, targetPlatform, targetArch) { args.push('--without-npm'); // Small ICU -- args.push('--with-intl=small-icu'); -+ args.push('--with-intl=system-icu'); -+ args.push('--shared-openssl'); -+ args.push('--openssl-use-def-ca-store'); -+ args.push('--shared-brotli'); -+ args.push('--shared-cares'); -+ args.push('--shared-libuv'); -+ args.push('--shared-nghttp2'); -+ args.push('--shared-zlib'); + if (system_1.hostPlatform !== 'win' || major < 24) { +- args.push('--with-intl=small-icu'); ++ args.push('--with-intl=system-icu'); ++ args.push('--shared-openssl'); ++ args.push('--openssl-use-def-ca-store'); ++ args.push('--shared-brotli'); ++ args.push('--shared-cares'); ++ args.push('--shared-libuv'); ++ args.push('--shared-nghttp2'); ++ args.push('--shared-zlib'); + } // Workaround for nodejs/node#39313 // All supported macOS versions have zlib as a system library - if (targetPlatform === 'macos') { -@@ -433,4 +434,4 @@ exports.default = build; - }); - } - exports.default = build; --//# sourceMappingURL=build.js.map -\ No newline at end of file -+//# sourceMappingURL=build.js.map diff --git a/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_patches_node.v20.19.4.cpp.patch b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_patches_node.v20.19.5.cpp.patch index 0940e6667edd..486b43f41365 100644 --- a/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_patches_node.v20.19.4.cpp.patch +++ b/www/onlyoffice-documentserver/files/extra-patch-pkg-fetch_patches_node.v20.19.5.cpp.patch @@ -1,8 +1,8 @@ -https://github.com/yao-pkg/pkg-fetch/raw/refs/tags/v3.5.24/patches/node.v20.19.4.cpp.patch +https://github.com/yao-pkg/pkg-fetch/raw/refs/tags/v3.5.29/patches/node.v20.19.5.cpp.patch + local FreeBSD patches ---- yao-pkg/node_modules/@yao-pkg/pkg-fetch/patches/node.v20.19.4.cpp.patch -+++ yao-pkg/node_modules/@yao-pkg/pkg-fetch/patches/node.v20.19.4.cpp.patch +--- yao-pkg/node_modules/@yao-pkg/pkg-fetch/patches/node.v20.19.5.cpp.patch ++++ yao-pkg/node_modules/@yao-pkg/pkg-fetch/patches/node.v20.19.5.cpp.patch @@ -600,3 +600,186 @@ index 2655b9e694..1d951571c7 100644 'cflags_cc!': [ '-fno-rtti' ], }], diff --git a/www/onlyoffice-documentserver/files/package-lock.json b/www/onlyoffice-documentserver/files/package-lock.json index 59035f286384..f73338dc1b33 100644 --- a/www/onlyoffice-documentserver/files/package-lock.json +++ b/www/onlyoffice-documentserver/files/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@yao-pkg/pkg": "^6.6.0" + "@yao-pkg/pkg": "^6.9.0" } }, "node_modules/@babel/generator": { @@ -118,15 +118,15 @@ } }, "node_modules/@yao-pkg/pkg": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/@yao-pkg/pkg/-/pkg-6.6.0.tgz", - "integrity": "sha512-3/oiaSm7fS0Fc7dzp22r9B7vFaguGhO9vERgEReRYj2EUzdi5ssyYhe1uYJG4ec/dmo2GG6RRHOUAT8savl79Q==", + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/@yao-pkg/pkg/-/pkg-6.9.0.tgz", + "integrity": "sha512-8K4P5ZRPtOIneylzmCgTWTNwxOuzju+ds/wSDli8EokmAYCG/Flr/NliFjfZ8I9t//FcG1Di7rBldyjEhPtKvQ==", "license": "MIT", "dependencies": { "@babel/generator": "^7.23.0", "@babel/parser": "^7.23.0", "@babel/types": "^7.23.0", - "@yao-pkg/pkg-fetch": "3.5.24", + "@yao-pkg/pkg-fetch": "3.5.29", "into-stream": "^6.0.0", "minimist": "^1.2.6", "multistream": "^4.1.0", @@ -147,9 +147,9 @@ } }, "node_modules/@yao-pkg/pkg-fetch": { - "version": "3.5.24", - "resolved": "https://registry.npmjs.org/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.24.tgz", - "integrity": "sha512-FPESCH1uXCYui6jeDp2aayWuFHR39w+uU1r88nI6JWRvPYOU64cHPUV/p6GSFoQdpna7ip92HnrZKbBC60l0gA==", + "version": "3.5.29", + "resolved": "https://registry.npmjs.org/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.29.tgz", + "integrity": "sha512-Kpfpx9/XBkOZ/Nb41ybBGO+IaD9lu9svFxwqNt2xN0zwkxIQbaWU2gS5kOzkKPFlk2WUHoqtTkaDyYRARSOkkg==", "license": "MIT", "dependencies": { "https-proxy-agent": "^5.0.0", @@ -157,13 +157,38 @@ "picocolors": "^1.1.0", "progress": "^2.0.3", "semver": "^7.3.5", - "tar-fs": "^2.1.1", + "tar-fs": "^3.1.1", "yargs": "^16.2.0" }, "bin": { "pkg-fetch": "lib-es5/bin.js" } }, + "node_modules/@yao-pkg/pkg-fetch/node_modules/tar-fs": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.1.tgz", + "integrity": "sha512-LZA0oaPOc2fVo82Txf3gw+AkEd38szODlptMYejQUhndHMLQ9M059uXR+AfS7DNo0NpINvSqDsvyaCrBVkptWg==", + "license": "MIT", + "dependencies": { + "pump": "^3.0.0", + "tar-stream": "^3.1.5" + }, + "optionalDependencies": { + "bare-fs": "^4.0.1", + "bare-path": "^3.0.0" + } + }, + "node_modules/@yao-pkg/pkg-fetch/node_modules/tar-stream": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", + "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", + "license": "MIT", + "dependencies": { + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" + } + }, "node_modules/agent-base": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", @@ -200,6 +225,111 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/b4a": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.7.3.tgz", + "integrity": "sha512-5Q2mfq2WfGuFp3uS//0s6baOJLMoVduPYVeNmDYxu5OUA1/cBfvr2RIS7vi62LdNj/urk1hfmj867I3qt6uZ7Q==", + "license": "Apache-2.0", + "peerDependencies": { + "react-native-b4a": "*" + }, + "peerDependenciesMeta": { + "react-native-b4a": { + "optional": true + } + } + }, + "node_modules/bare-events": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.8.0.tgz", + "integrity": "sha512-AOhh6Bg5QmFIXdViHbMc2tLDsBIRxdkIaIddPslJF9Z5De3APBScuqGP2uThXnIpqFrgoxMNC6km7uXNIMLHXA==", + "license": "Apache-2.0", + "peerDependencies": { + "bare-abort-controller": "*" + }, + "peerDependenciesMeta": { + "bare-abort-controller": { + "optional": true + } + } + }, + "node_modules/bare-fs": { + "version": "4.4.11", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.4.11.tgz", + "integrity": "sha512-Bejmm9zRMvMTRoHS+2adgmXw1ANZnCNx+B5dgZpGwlP1E3x6Yuxea8RToddHUbWtVV0iUMWqsgZr8+jcgUI2SA==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "bare-events": "^2.5.4", + "bare-path": "^3.0.0", + "bare-stream": "^2.6.4", + "bare-url": "^2.2.2", + "fast-fifo": "^1.3.2" + }, + "engines": { + "bare": ">=1.16.0" + }, + "peerDependencies": { + "bare-buffer": "*" + }, + "peerDependenciesMeta": { + "bare-buffer": { + "optional": true + } + } + }, + "node_modules/bare-os": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.6.2.tgz", + "integrity": "sha512-T+V1+1srU2qYNBmJCXZkUY5vQ0B4FSlL3QDROnKQYOqeiQR8UbjNHlPa+TIbM4cuidiN9GaTaOZgSEgsvPbh5A==", + "license": "Apache-2.0", + "optional": true, + "engines": { + "bare": ">=1.14.0" + } + }, + "node_modules/bare-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz", + "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "bare-os": "^3.0.1" + } + }, + "node_modules/bare-stream": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.7.0.tgz", + "integrity": "sha512-oyXQNicV1y8nc2aKffH+BUHFRXmx6VrPzlnaEvMhram0nPBrKcEdcyBg5r08D0i8VxngHFAiVyn1QKXpSG0B8A==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "streamx": "^2.21.0" + }, + "peerDependencies": { + "bare-buffer": "*", + "bare-events": "*" + }, + "peerDependenciesMeta": { + "bare-buffer": { + "optional": true + }, + "bare-events": { + "optional": true + } + } + }, + "node_modules/bare-url": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.3.0.tgz", + "integrity": "sha512-c+RCqMSZbkz97Mw1LWR0gcOqwK82oyYKfLoHJ8k13ybi1+I80ffdDzUy0TdAburdrR/kI0/VuN8YgEnJqX+Nyw==", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "bare-path": "^3.0.0" + } + }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -311,9 +441,9 @@ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" }, "node_modules/debug": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", - "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -389,6 +519,15 @@ "node": ">=6" } }, + "node_modules/events-universal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/events-universal/-/events-universal-1.0.1.tgz", + "integrity": "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==", + "license": "Apache-2.0", + "dependencies": { + "bare-events": "^2.7.0" + } + }, "node_modules/expand-template": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", @@ -397,6 +536,12 @@ "node": ">=6" } }, + "node_modules/fast-fifo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", + "license": "MIT" + }, "node_modules/fdir": { "version": "6.4.4", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz", @@ -777,6 +922,7 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "license": "MIT", + "peer": true, "engines": { "node": ">=12" }, @@ -959,6 +1105,17 @@ "readable-stream": "^2.1.4" } }, + "node_modules/streamx": { + "version": "2.23.0", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.23.0.tgz", + "integrity": "sha512-kn+e44esVfn2Fa/O0CPFcex27fjIL6MkVae0Mm6q+E6f0hWv578YCERbv+4m02cjxvDsPKLnmxral/rR6lBMAg==", + "license": "MIT", + "dependencies": { + "events-universal": "^1.0.0", + "fast-fifo": "^1.3.2", + "text-decoder": "^1.1.0" + } + }, "node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", @@ -1087,6 +1244,15 @@ "node": ">=18" } }, + "node_modules/text-decoder": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz", + "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", + "license": "Apache-2.0", + "dependencies": { + "b4a": "^1.6.4" + } + }, "node_modules/tinyglobby": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.13.tgz", diff --git a/www/onlyoffice-documentserver/files/package.json b/www/onlyoffice-documentserver/files/package.json index 9251e320859a..e012fc0f3ff0 100644 --- a/www/onlyoffice-documentserver/files/package.json +++ b/www/onlyoffice-documentserver/files/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@yao-pkg/pkg": "^6.6.0" + "@yao-pkg/pkg": "^6.9.0" } } diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_configure.py b/www/onlyoffice-documentserver/files/patch-build__tools_configure.py index 8ba1ee336b65..6fcd6155d413 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_configure.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_configure.py @@ -1,11 +1,11 @@ --- build_tools/configure.py.orig 2021-12-08 10:18:20 UTC +++ build_tools/configure.py -@@ -14,7 +14,7 @@ parser.add_option("--clean", action="store", type="str +@@ -14,7 +14,7 @@ parser.add_option("--module", action="store", type="string", dest="module", default="builder", help="defines what modules to build. You can specify several of them, e.g. --module 'core desktop builder server mobile'") parser.add_option("--develop", action="store", type="string", dest="develop", default="0", help="defines develop mode") parser.add_option("--beta", action="store", type="string", dest="beta", default="0", help="defines beta mode") --parser.add_option("--platform", action="store", type="string", dest="platform", default="native", help="defines the destination platform for your build ['win_64', 'win_32', 'win_64_xp', 'win_32_xp', 'linux_64', 'linux_32', 'mac_64', 'ios', 'android_arm64_v8a', 'android_armv7', 'android_x86', 'android_x86_64'; combinations: 'native': your current system (windows/linux/mac only); 'all': all available systems; 'windows': win_64 win_32 win_64_xp win_32_xp; 'linux': linux_64 linux_32; 'mac': mac_64; 'android': android_arm64_v8a android_armv7 android_x86 android_x86_64]") -+parser.add_option("--platform", action="store", type="string", dest="platform", default="native", help="defines the destination platform for your build ['win_64', 'win_32', 'win_64_xp', 'win_32_xp', 'freebsd_64', 'linux_64', 'linux_32', 'mac_64', 'ios', 'android_arm64_v8a', 'android_armv7', 'android_x86', 'android_x86_64'; combinations: 'native': your current system (windows/linux/mac only); 'all': all available systems; 'windows': win_64 win_32 win_64_xp win_32_xp; 'freebsd': freebsd_64;'linux': linux_64 linux_32; 'mac': mac_64; 'android': android_arm64_v8a android_armv7 android_x86 android_x86_64]") +-parser.add_option("--platform", action="store", type="string", dest="platform", default="native", help="defines the destination platform for your build ['win_64', 'win_32', 'win_64_xp', 'win_32_xp', 'win_arm64', 'linux_64', 'linux_32', 'mac_64', 'ios', 'android_arm64_v8a', 'android_armv7', 'android_x86', 'android_x86_64'; combinations: 'native': your current system (windows/linux/mac only); 'all': all available systems; 'windows': win_64 win_32 win_64_xp win_32_xp; 'linux': linux_64 linux_32; 'mac': mac_64; 'android': android_arm64_v8a android_armv7 android_x86 android_x86_64]") ++parser.add_option("--platform", action="store", type="string", dest="platform", default="native", help="defines the destination platform for your build ['win_64', 'win_32', 'win_64_xp', 'win_32_xp', 'win_arm64', 'freebsd_64', 'linux_64', 'linux_32', 'mac_64', 'ios', 'android_arm64_v8a', 'android_armv7', 'android_x86', 'android_x86_64'; combinations: 'native': your current system (windows/linux/mac only); 'all': all available systems; 'windows': win_64 win_32 win_64_xp win_32_xp; 'freebsd': freebsd_64; 'linux': linux_64 linux_32; 'mac': mac_64; 'android': android_arm64_v8a android_armv7 android_x86 android_x86_64]") parser.add_option("--config", action="store", type="string", dest="config", default="", help="provides ability to specify additional parameters for qmake") parser.add_option("--qt-dir", action="store", type="string", dest="qt-dir", default="", help="defines qmake directory path. qmake can be found in qt-dir/compiler/bin directory") parser.add_option("--qt-dir-xp", action="store", type="string", dest="qt-dir-xp", default="", help="defines qmake directory path for Windows XP. qmake can be found in 'qt-dir/compiler/bin directory") diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py index 4d6a198f38f6..663e31269b43 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py @@ -1,4 +1,4 @@ ---- build_tools/scripts/build_server.py.orig 2025-06-11 12:56:35 UTC +--- build_tools/scripts/build_server.py.orig 2025-10-15 14:25:47 UTC +++ build_tools/scripts/build_server.py @@ -39,8 +39,12 @@ base.copy_file(custom_public_key, server_dir + '/Common/sources') @@ -14,18 +14,19 @@ if ("linux" == base.host_platform()): pkg_target += "-linux" if (-1 != config.option("platform").find("linux_arm64")): -@@ -49,14 +53,15 @@ +@@ -49,15 +53,15 @@ if ("windows" == base.host_platform()): pkg_target += "-win" - base.cmd_in_dir(server_dir + "/DocService", "pkg", [".", "-t", pkg_target, "--options", "max_old_space_size=4096", "-o", "docservice"]) - base.cmd_in_dir(server_dir + "/FileConverter", "pkg", [".", "-t", pkg_target, "-o", "converter"]) - base.cmd_in_dir(server_dir + "/Metrics", "pkg", [".", "-t", pkg_target, "-o", "metrics"]) +- base.cmd_in_dir(server_dir + "/AdminPanel/server", "pkg", [".", "-t", pkg_target, "-o", "adminpanel"]) + base.cmd_in_dir(server_dir + "/DocService", pkgBin, [".", "-t", pkg_target, "--options", "max_old_space_size=4096", "-o", "docservice"]) + base.cmd_in_dir(server_dir + "/FileConverter", pkgBin, [".", "-t", pkg_target, "-o", "converter"]) + base.cmd_in_dir(server_dir + "/Metrics", pkgBin, [".", "-t", pkg_target, "-o", "metrics"]) ++ base.cmd_in_dir(server_dir + "/AdminPanel/server", pkgBin, [".", "-t", pkg_target, "-o", "adminpanel"]) -+ example_dir = base.get_script_dir() + "/../../document-server-integration/web/documentserver-example/nodejs" base.delete_dir(example_dir + "/node_modules") base.cmd_in_dir(example_dir, "npm", ["ci"]) diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_config.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_config.py index b73624d0e414..ce1e656f0a3f 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_config.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_config.py @@ -1,14 +1,14 @@ ---- build_tools/scripts/config.py.orig 2022-04-29 20:25:52 UTC +--- build_tools/scripts/config.py.orig 2025-10-15 14:25:47 UTC +++ build_tools/scripts/config.py -@@ -26,6 +26,7 @@ def parse(): +@@ -26,6 +26,7 @@ global platforms - platforms = ["win_64", "win_32", "win_64_xp", "win_32_xp", + platforms = ["win_64", "win_32", "win_64_xp", "win_32_xp", "win_arm64", "linux_64", "linux_32", "linux_arm64", + "freebsd_64", "mac_64", "mac_arm64", "ios", "android_arm64_v8a", "android_armv7", "android_x86", "android_x86_64"] -@@ -39,6 +40,8 @@ def parse(): +@@ -39,6 +40,8 @@ options["platform"] += " win_64 win_32" elif ("linux" == host_platform): options["platform"] += " linux_64 linux_32" @@ -17,7 +17,7 @@ else: options["platform"] += " mac_64" -@@ -50,6 +53,8 @@ def parse(): +@@ -50,6 +53,8 @@ options["platform"] += (" win_" + bits) elif ("linux" == host_platform): options["platform"] += (" linux_" + bits) @@ -26,10 +26,10 @@ else: options["platform"] += (" mac_" + bits) -@@ -112,6 +117,9 @@ def check_compiler(platform): - if (0 == platform.find("win")): - compiler["compiler"] = "msvc" + options["vs-version"] - compiler["compiler_64"] = "msvc" + options["vs-version"] + "_64" +@@ -176,6 +181,9 @@ + if (0 == platform.find("win_arm")): + compiler["compiler"] = "msvc" + options["vs-version"] + "_arm" + compiler["compiler_64"] = "msvc" + options["vs-version"] + "_arm64" + elif (0 == platform.find("freebsd")): + compiler["compiler"] = "clang" + compiler["compiler_64"] = "clang_64" diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py index cea340cf686e..ee700eb9883e 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py @@ -1,6 +1,6 @@ ---- build_tools/scripts/core_common/make_common.py.orig 2025-08-05 15:06:08 UTC +--- build_tools/scripts/core_common/make_common.py.orig 2025-10-15 14:25:47 UTC +++ build_tools/scripts/core_common/make_common.py -@@ -8,22 +8,22 @@ import config +@@ -8,24 +8,24 @@ import base import glob @@ -28,9 +28,12 @@ +#import hyphen +#import googletest import libvlc +-import heif ++#import heif def check_android_ndk_macos_arm(dir): -@@ -39,19 +39,19 @@ def make(): + if base.is_dir(dir + "/darwin-x86_64") and not base.is_dir(dir + "/darwin-arm64"): +@@ -40,21 +40,21 @@ if base.is_dir(toolchain): check_android_ndk_macos_arm(toolchain + "/prebuilt") @@ -56,5 +59,8 @@ +# hyphen.make() +# googletest.make() oo_brotli.make() +- heif.make() ++# heif.make() if config.check_option("build-libvlc", "1"): + libvlc.make() diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8__89.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8__89.py index 23d05d781124..431b315c60e8 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8__89.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8__89.py @@ -1,13 +1,13 @@ ---- build_tools/scripts/core_common/modules/v8_89.py.orig 2025-08-05 15:06:08 UTC +--- build_tools/scripts/core_common/modules/v8_89.py.orig 2025-10-15 14:25:47 UTC +++ build_tools/scripts/core_common/modules/v8_89.py -@@ -123,46 +123,7 @@ def make(): +@@ -150,57 +150,6 @@ base.cmd("git", ["config", "--global", "http.postBuffer", "157286400"], True) os.chdir(base_dir) - if not base.is_dir("depot_tools"): - base.cmd("git", ["clone", "https://chromium.googlesource.com/chromium/tools/depot_tools.git"]) - change_bootstrap() - +- - os.environ["PATH"] = base_dir + "/depot_tools" + os.pathsep + os.environ["PATH"] - - if ("windows" == base.host_platform()): @@ -30,8 +30,19 @@ - - if ("windows" == base.host_platform()): - base.replaceInFile("v8/build/config/win/BUILD.gn", ":static_crt", ":dynamic_crt") +- +- # fix for new depot_tools and vs2019, as VC folder contains a folder with a symbol in the name +- # sorting is done by increasing version, so 0 is a dummy value +- replace_src = " def to_int_if_int(x):\n try:\n return int(x)\n except ValueError:\n return x" +- replace_dst = " def to_int_if_int(x):\n try:\n return int(x)\n except ValueError:\n return 0" +- base.replaceInFile("v8/build/vs_toolchain.py", replace_src, replace_dst) +- +- - if not base.is_file("v8/src/base/platform/wrappers.cc"): - base.writeFile("v8/src/base/platform/wrappers.cc", "#include \"src/base/platform/wrappers.h\"\n") +- +- if config.check_option("platform", "win_arm64"): +- base.replaceInFile("v8/build/toolchain/win/setup_toolchain.py", "SDK_VERSION = \'10.0.26100.0\'", "SDK_VERSION = \'10.0.22621.0\'") - else: - base.replaceInFile("depot_tools/gclient_paths.py", "@functools.lru_cache", "") - @@ -47,7 +58,7 @@ os.chdir("v8") gn_args = ["v8_static_library=true", -@@ -170,6 +131,11 @@ def make(): +@@ -208,6 +157,11 @@ "v8_monolithic=true", "v8_use_external_startup_data=false", "treat_warnings_as_errors=false"] @@ -58,4 +69,4 @@ + if config.check_option("platform", "linux_64"): - base.cmd2("gn", ["gen", "out.gn/linux_64", make_args(gn_args, "linux")]) + if config.option("sysroot") != "": diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_deploy__server.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_deploy__server.py index da3baf40b273..127bd662f1dc 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_deploy__server.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_deploy__server.py @@ -1,17 +1,17 @@ ---- build_tools/scripts/deploy_server.py.orig 2021-11-16 07:07:24 UTC +--- build_tools/scripts/deploy_server.py.orig 2025-10-15 14:25:47 UTC +++ build_tools/scripts/deploy_server.py -@@ -92,7 +92,7 @@ def make(): - base.copy_file(core_dir + "/Common/3dParty/icu/" + platform + "/build/icudt58.dll", converter_dir + "/icudt58.dll") - base.copy_file(core_dir + "/Common/3dParty/icu/" + platform + "/build/icuuc58.dll", converter_dir + "/icuuc58.dll") +@@ -102,7 +102,7 @@ + base.generate_doctrenderer_config(converter_dir + "/DoctRenderer.config", "../../../", "server", "", "../../../dictionaries") -- if (0 == platform.find("linux")): -+ if (0 == platform.find("linux") and 0 != platform.find('freebsd')): - base.copy_file(core_dir + "/Common/3dParty/icu/" + platform + "/build/libicudata.so.58", converter_dir + "/libicudata.so.58") - base.copy_file(core_dir + "/Common/3dParty/icu/" + platform + "/build/libicuuc.so.58", converter_dir + "/libicuuc.so.58") + # icu +- base.deploy_icu(core_dir, converter_dir, platform) ++# base.deploy_icu(core_dir, converter_dir, platform) -@@ -119,9 +121,13 @@ def make(): - base.copy_sdkjs_plugins(js_dir + "/sdkjs-plugins", False, True) - base.copy_sdkjs_plugins_server(js_dir + "/sdkjs-plugins", False, True) + base.copy_v8_files(core_dir, converter_dir, platform) + +@@ -136,9 +136,13 @@ + else: + base.generate_sdkjs_plugin_list(js_dir + "/sdkjs-plugins/plugin-list-default.json") base.create_dir(js_dir + "/sdkjs-plugins/v1") - base.download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins.js", js_dir + "/sdkjs-plugins/v1/plugins.js") - base.download("https://onlyoffice.github.io/sdkjs-plugins/v1/plugins-ui.js", js_dir + "/sdkjs-plugins/v1/plugins-ui.js") @@ -24,5 +24,5 @@ + base.copy_file(plugins_dir + "/v1/plugins.css", js_dir + "/sdkjs-plugins/v1/plugins.css") + base.support_old_versions_plugins(js_dir + "/sdkjs-plugins") - + # tools diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_heif_heif.pri b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_heif_heif.pri new file mode 100644 index 000000000000..865919c71b1e --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_heif_heif.pri @@ -0,0 +1,21 @@ +--- core/Common/3dParty/heif/heif.pri.orig 2025-10-13 15:33:25 UTC ++++ core/Common/3dParty/heif/heif.pri +@@ -7,9 +7,15 @@ + + HEIF_BUILD_PATH = $$PWD/libheif/build/$$HEIF_BUILDS_PLATFORM_PREFIX/$$CORE_BUILDS_CONFIGURATION_PREFIX + +-INCLUDEPATH += \ +- $$PWD/libheif/libheif/api \ +- $$HEIF_BUILD_PATH # for heif_version.h ++#INCLUDEPATH += \ ++# $$PWD/libheif/libheif/api \ ++# $$HEIF_BUILD_PATH # for heif_version.h ++ ++core_freebsd { ++ INCLUDEPATH += %%LOCALBASE%%/include/libheif ++ ++ LIBS += %%LOCALBASE%%/lib/libheif.so ++ } + + core_windows { + core_debug { diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_icu_icu.pri b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_icu_icu.pri index bdb28f03a010..ee0aacc776a2 100644 --- a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_icu_icu.pri +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_icu_icu.pri @@ -1,16 +1,16 @@ ---- core/Common/3dParty/icu/icu.pri.orig 2021-09-30 12:13:32 UTC +--- core/Common/3dParty/icu/icu.pri.orig 2025-10-13 15:33:25 UTC +++ core/Common/3dParty/icu/icu.pri -@@ -8,6 +8,13 @@ core_windows { - } +@@ -25,6 +25,13 @@ + LIBS += $$PWD/$$CORE_BUILDS_PLATFORM_PREFIX/build/libicudata.so.$$ICU_MAJOR_VER + } - LIBS += -L$$PWD/$$CORE_BUILDS_PLATFORM_PREFIX/build -licuuc -+} -+ +core_freebsd { + INCLUDEPATH += %%LOCALBASE%%/include + + LIBS += %%LOCALBASE%%/lib/libicuuc.so + LIBS += %%LOCALBASE%%/lib/libicudata.so - } ++} ++ + core_mac { + INCLUDEPATH += $$PWD/$$CORE_BUILDS_PLATFORM_PREFIX/build/include - core_linux { diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_raster_heif_heif.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_raster_heif_heif.h new file mode 100644 index 000000000000..573372e4c31d --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_raster_heif_heif.h @@ -0,0 +1,9 @@ +--- core/DesktopEditor/raster/heif/heif.h.orig 2025-10-13 15:33:25 UTC ++++ core/DesktopEditor/raster/heif/heif.h +@@ -1,5 +1,5 @@ + #include "../BgraFrame.h" +-#include "../../Common/3dParty/heif/libheif/libheif/api/libheif/heif.h" ++#include <heif.h> + #include "../../UnicodeConverter/UnicodeConverter.h" + + namespace NSHeif { diff --git a/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_UnicodeConverter.cpp b/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_UnicodeConverter.cpp index 8de44c94276e..5fd5d171b7d7 100644 --- a/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_UnicodeConverter.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_UnicodeConverter_UnicodeConverter.cpp @@ -1,10 +1,10 @@ ---- core/UnicodeConverter/UnicodeConverter.cpp.orig 2022-09-27 13:24:04 UTC +--- core/UnicodeConverter/UnicodeConverter.cpp.orig 2025-10-13 15:33:25 UTC +++ core/UnicodeConverter/UnicodeConverter.cpp -@@ -38,6 +38,7 @@ +@@ -37,6 +37,7 @@ + #include "unicode/ucnv.h" /* C Converter API */ #include "unicode/usprep.h"
- //#include "../DesktopEditor/common/File.h"
+#define TRUE 1
-
#if !defined (_WIN32) && !defined (_WIN64)
#if defined (_LINUX) && !defined(__ANDROID__) && !defined(_IOS) && !defined(_MAC)
+ #define USE_ICONV diff --git a/www/onlyoffice-documentserver/files/patch-increase_max_connections b/www/onlyoffice-documentserver/files/patch-increase_max_connections index 6a8ed688b9ba..15499bc9f923 100644 --- a/www/onlyoffice-documentserver/files/patch-increase_max_connections +++ b/www/onlyoffice-documentserver/files/patch-increase_max_connections @@ -1,17 +1,17 @@ ---- server/Common/sources/constants.js.orig 2023-09-07 13:17:16 UTC +--- server/Common/sources/constants.js.orig 2025-10-12 16:21:06 UTC +++ server/Common/sources/constants.js -@@ -85,7 +85,7 @@ exports.LICENSE_RESULT = {
- NotBefore: 16
- };
-
--exports.LICENSE_CONNECTIONS = 20;
-+exports.LICENSE_CONNECTIONS = 2000;
- exports.LICENSE_USERS = 3;
- exports.LICENSE_EXPIRE_USERS_ONE_DAY = 24 * 60 * 60; // day in seconds
-
---- web-apps/apps/documenteditor/mobile/src/lib/patch.jsx.orig 2023-09-07 13:14:46 UTC +@@ -88,7 +88,7 @@ exports.LICENSE_RESULT = { + NotBefore: 16 + }; + +-exports.LICENSE_CONNECTIONS = 20; ++exports.LICENSE_CONNECTIONS = 2000; + exports.LICENSE_USERS = 3; + exports.LICENSE_EXPIRE_USERS_ONE_DAY = 24 * 60 * 60; // day in seconds + +--- web-apps/apps/documenteditor/mobile/src/lib/patch.jsx.orig 2025-10-12 20:28:53 UTC +++ web-apps/apps/documenteditor/mobile/src/lib/patch.jsx -@@ -4,7 +4,7 @@ const EditorUIController = () => { +@@ -4,7 +4,7 @@ EditorUIController.isSupportEditFeature = () => { }; EditorUIController.isSupportEditFeature = () => { @@ -20,9 +20,9 @@ }; EditorUIController.getToolbarOptions = () => { ---- web-apps/apps/presentationeditor/mobile/src/lib/patch.jsx.orig 2023-09-07 13:15:25 UTC +--- web-apps/apps/presentationeditor/mobile/src/lib/patch.jsx.orig 2025-10-12 20:28:53 UTC +++ web-apps/apps/presentationeditor/mobile/src/lib/patch.jsx -@@ -1,6 +1,6 @@ +@@ -1,6 +1,6 @@ const EditorUIController = () => null; const EditorUIController = () => null; @@ -30,9 +30,9 @@ +EditorUIController.isSupportEditFeature = () => true; export default EditorUIController; ---- web-apps/apps/spreadsheeteditor/mobile/src/lib/patch.jsx.orig 2023-09-07 13:16:07 UTC +--- web-apps/apps/spreadsheeteditor/mobile/src/lib/patch.jsx.orig 2025-10-12 20:28:53 UTC +++ web-apps/apps/spreadsheeteditor/mobile/src/lib/patch.jsx -@@ -1,6 +1,6 @@ +@@ -1,6 +1,6 @@ const EditorUIController = () => null; const EditorUIController = () => null; diff --git a/www/onlyoffice-documentserver/files/patch-server_DocService_patches_sharp b/www/onlyoffice-documentserver/files/patch-server_DocService_patches_sharp new file mode 100644 index 000000000000..11442922a16b --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-server_DocService_patches_sharp @@ -0,0 +1,17 @@ +--- server/DocService/patches/sharp+0.32.6.patch.orig 2025-10-25 03:44:19 UTC ++++ server/DocService/patches/sharp+0.32.6.patch +@@ -0,0 +1,13 @@ ++diff --git a/node_modules/sharp/package.json b/node_modules/sharp/package.json ++index b4d3a28..152b194 100644 ++--- a/node_modules/sharp/package.json +++++ b/node_modules/sharp/package.json ++@@ -89,7 +89,7 @@ ++ "Lachlan Newman <lachnewman007@gmail.com>" ++ ], ++ "scripts": { ++- "install": "(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)", +++ "install": "(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp --nodedir=%%LOCALBASE%% rebuild && node install/dll-copy)", ++ "clean": "rm -rf node_modules/ build/ vendor/ .nyc_output/ coverage/ test/fixtures/output.*", ++ "test": "npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types", ++ "test-lint": "semistandard && cpplint", + diff --git a/www/onlyoffice-documentserver/files/patch-server_package.json b/www/onlyoffice-documentserver/files/patch-server_package.json index 3fa6a4cd95b3..0c2dac162610 100644 --- a/www/onlyoffice-documentserver/files/patch-server_package.json +++ b/www/onlyoffice-documentserver/files/patch-server_package.json @@ -1,4 +1,4 @@ ---- server/package.json.orig 2025-06-16 18:22:18 UTC +--- server/package.json.orig 2025-10-12 16:21:06 UTC +++ server/package.json @@ -4,9 +4,11 @@ "homepage": "https://www.onlyoffice.com", @@ -12,8 +12,8 @@ + "concurrently": "^9.2.0" }, "devDependencies": { - "@jest/globals": "29.7.0", -@@ -23,10 +25,10 @@ + "@eslint/compat": "1.2.3", +@@ -38,12 +40,12 @@ "integration database tests": "cd ./DocService && jest integration/databaseTests --inject-globals=false --config=../tests/jest.config.js", "tests": "cd ./DocService && jest --inject-globals=false --config=../tests/jest.config.js", "tests:dev": "cd ./DocService && jest --inject-globals=false --config=../tests/jest.config.js --watch", @@ -21,18 +21,22 @@ - "install:DocService": "npm ci --prefix ./DocService", - "install:FileConverter": "npm ci --prefix ./FileConverter", - "install:Metrics": "npm ci --prefix ./Metrics", +- "install:AdminPanel/server": "npm ci --prefix ./AdminPanel/server", +- "install:AdminPanel/client": "npm ci --include=dev --prefix ./AdminPanel/client && npm --prefix ./AdminPanel/client run build", + "install:Common": "npm install --prefix ./Common", + "install:DocService": "npm install --prefix ./DocService", + "install:FileConverter": "npm install --prefix ./FileConverter", + "install:Metrics": "npm install --prefix ./Metrics", ++ "install:AdminPanel/server": "npm install --prefix ./AdminPanel/server", ++ "install:AdminPanel/client": "npm install --include=dev --prefix ./AdminPanel/client && npm --prefix ./AdminPanel/client run build", "3d-party-lic-json:Common": "license-report --output=json --package=./Common/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json", "3d-party-lic-json:DocService": "license-report --output=json --package=./DocService/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json", "3d-party-lic-json:FileConverter": "license-report --output=json --package=./FileConverter/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json", -@@ -39,6 +41,6 @@ +@@ -56,6 +58,6 @@ "3d-party-lic-report:FileConverter": "run-s 3d-party-lic-json:FileConverter 3d-party-lic-downloader 3d-party-lic-md", "3d-party-lic-report:Metrics": "run-s 3d-party-lic-json:Metrics 3d-party-lic-downloader 3d-party-lic-md", "3d-party-lic-report": "run-s 3d-party-lic-md-header 3d-party-lic-report:*", - "build": "run-p install:*" -+ "build": "concurrently \"npm run install:Common\" \"npm run install:DocService\" \"npm run install:FileConverter\" \"npm run install:Metrics\"" ++ "build": "concurrently \"npm run install:Common\" \"npm run install:DocService\" \"npm run install:FileConverter\" \"npm run install:Metrics\" \"npm run install:AdminPanel/server\" \"npm run install:AdminPanel/client\"" } } diff --git a/www/onlyoffice-documentserver/files/pkg-message.in b/www/onlyoffice-documentserver/files/pkg-message.in index 1e04f7732830..b31157599e10 100644 --- a/www/onlyoffice-documentserver/files/pkg-message.in +++ b/www/onlyoffice-documentserver/files/pkg-message.in @@ -64,13 +64,24 @@ NOTE: documentserver-update-securelink.sh will only update ./nginx/ds.conf and l - start nginx: # service nginx start -6. Follow the following doc If you want to use Onlyoffice with Nextcloud: +6. Follow the following doc if you want to use Onlyoffice with Nextcloud: - https://api.onlyoffice.com/editors/nextcloud 7. Install OnlyOffice plugins (you'll need internet): - # %%PREFIX%%/bin/documentserver-pluginsmanager.sh --update=%%PREFIX%%/www/onlyoffice/documentserver/sdkjs-plugins/plugin-list-default.json + # %%PREFIX%%/bin/documentserver-pluginsmanager.sh --update=%%PREFIX%%/www/onlyoffice/documentserver/sdkjs-plugins/plugin-list-default.json -8. Enjoy. +8. Set up Admin Panel, if desired: + - locate your temporary bootstrap code in the adminpanel log file: + /var/log/onlyoffice/documentserver/adminpanel/out.log + + - access the admin panel at http://host/admin + + - use the bootstrap code to complete setup of new admin password + + - see the following for more info: + https://www.onlyoffice.com/blog/2025/10/docs-admin-panel-enterprise + +9. Enjoy. EOM } { type: upgrade |
