Hi @roch @chriz @nicofrand
Same here, but only on the version with ālimitations usageā removed.
First I had this error
/var/www/onlyoffice__2/config/local.json': SyntaxError: JSON5: invalid character 'T' at 66:19
=> fixed by setting true and not True in this file, line 66.
Then I compared 9.1, 9.0.4 āfullā versions and 9.1 ālimitedā.
9.1 āfullā version doesnāt run with some new settings (⦠when 9.1 limited does, of course).
I added the pluginDir k+v line in 9.1 from 9.0.4 in /var/www/onlyoffice/config/default.json:
"aiSettings": {
"actions": {},
"models": [],
"providers": {},
"version": 3,
"timeout": "5m",
"allowedCorsOrigins": ["https://onlyoffice.github.io", "https://onlyoffice-plugins.github.io"],
"proxy": "",
"pluginDir" : "../branding/info/ai" # <== add this line
Didnāt solve issue and new error log appeared :
TypeError: layout is not a function
at /snapshot/src/Common/node_modules/log4js/lib/appenders/console.js:6:16
at /snapshot/src/Common/node_modules/log4js/lib/log4js.js:43:5
at Array.forEach (<anonymous>)
at sendLogEventToAppender (/snapshot/src/Common/node_modules/log4js/lib/log4js.js:42:21)
at /snapshot/src/Common/node_modules/log4js/lib/clustering.js:25:28
at Array.forEach (<anonymous>)
at sendToListeners (/snapshot/src/Common/node_modules/log4js/lib/clustering.js:25:13)
at Object.send (/snapshot/src/Common/node_modules/log4js/lib/clustering.js:91:7)
at Logger._log (/snapshot/src/Common/node_modules/log4js/lib/logger.js:195:16)
at Logger.log (/snapshot/src/Common/node_modules/log4js/lib/logger.js:155:12)
Node.js v18.20.8
/snapshot/src/Common/node_modules/log4js/lib/appenders/console.js:6
consoleLog(layout(loggingEvent, timezoneOffset));
^
fixed by reverting /var/www/onlyoffice/config/log4js/production.json to 9.0.4 version :
{
"appenders": {
"default": {
"type": "console",
"layout": {
"type": "pattern",
"pattern": "[%d] [%p] [%X{TENANT}] [%X{DOCID}] [%X{USERID}] %c - %.10000m"
}
}
},
"categories": {
"default": { "appenders": [ "default" ], "level": "WARN" }
}
}
Thatās a workaround but OO runsā¦