i have a problem with installation of the Macro Plugin in OnlyOffice in combination with Nextcloud.
The Problem is that the Plugins tab does not appear in onlyoffice when i edit a xlsx file via Nextcloud.
I am using the Docker Image: onlyoffice/documentserver
I have mounted the latest release of the macro plugin into the Docker container at /var/www/onlyoffice/documentserver/sdkjs-plugins
so the plugin lays at /var/www/onlyoffice/documentserver/sdkjs-plugins/macros in the container
I mounted the production-linux.json to the host so i can add the plugin via config.
My config looks now like this:
Code: Select all
{
"log": {
"filePath": "/etc/onlyoffice/documentserver/log4js/production.json"
},
"storage": {
"fs": {
"folderPath": "/var/lib/onlyoffice/documentserver/App_Data/cache/files"
}
},
"services": {
"CoAuthoring": {
"plugins":{
"uri":"/sdkjs-plugins",
"autostart":[
"asc.{E6978D28-0441-4BD7-8346-82FAD68BCA3B}"
]
},
"server": {
"static_content": {
"/fonts": {
"path": "/var/www/onlyoffice/documentserver/fonts",
"options": {"maxAge": "7d"}
},
"/sdkjs": {
"path": "/var/www/onlyoffice/documentserver/sdkjs",
"options": {"maxAge": "7d"}
},
"/web-apps": {
"path": "/var/www/onlyoffice/documentserver/web-apps",
"options": {"maxAge": "7d"}
},
"/welcome": {
"path": "/var/www/onlyoffice/documentserver/server/welcome",
"options": {"maxAge": "7d"}
},
"/info": {
"path": "/var/www/onlyoffice/documentserver/server/info",
"options": {"maxAge": "7d"}
},
"/sdkjs-plugins": {
"path": "/var/www/onlyoffice/documentserver/sdkjs-plugins",
"options": {"maxAge": "7d"}
}
}
},
"utils": {
"utils_common_fontdir": "/usr/share/fonts"
},
"sockjs": {
"sockjs_url": "/web-apps/vendor/sockjs/sockjs.min.js"
}
}
},
"license": {
"license_file": "/var/www/onlyoffice/documentserver/../Data/license.lic",
"warning_limit_percents": 70,
"packageType": 0
},
"FileConverter": {
"converter": {
"fontDir": "/usr/share/fonts",
"presentationThemesDir": "/var/www/onlyoffice/documentserver/sdkjs/slide/themes",
"x2tPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/x2t",
"docbuilderPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/docbuilder",
"docbuilderAllFontsPath": "/var/lib/onlyoffice/documentserver/App_Data/docbuilder/AllFonts.js"
}
},
"FileStorage": {
"directory": "/var/lib/onlyoffice/documentserver/App_Data"
},
"SpellChecker": {
"server": {
"dictDir": "/var/www/onlyoffice/documentserver/server/SpellChecker/dictionaries"
}
}
}
The sdkjs-plugins folder belongs to the ds user and has 755 Permission.
In the logs does not stand anything about loading a plugin or something (err.log is empty):
Code: Select all
[2021-03-07T15:29:29.524] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode. Version: 6.2.0. Build: 123
[2021-03-07T15:30:28.092] [WARN] nodeJS - Express server starting...
[2021-03-07T15:30:28.095] [WARN] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability
[2021-03-07T15:30:28.218] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode. Version: 6.2.0. Build: 123
It would be nice if somebody could help me.