OnlyOffice restarts continually
-
I have OnlyOffice 6.4.2 integrated into NextCloud 22.2.2
3 days ago OnlyOffice updated from version 1.9.2 to 1.9.3 (this is from the Even Log and these versions don't line up with the version listed under the updates tab).
It looks like the 1.9.2 to 1.9.3 is the Cloudron specific version numbers.
I know this was working last week but I am not sure if I have tried to open it in the last few days so it may have been an issue since the most recent update.
Each time the app starts it appears to fail at this step
/app/pkg/start.sh: line 23: CLOUDRON_POSTGRESQL_PASSWORD: unbound variable
Here is the full log of it trying to start up.
Nov 16 14:55:11 => Setup directories Nov 16 14:55:11 => Patch configuration files Nov 16 14:55:11 Reading config from /app/data/config/production-linux.json ... Nov 16 14:55:11 { Nov 16 14:55:11 log: { filePath: '/etc/onlyoffice/documentserver/log4js/production.json' }, Nov 16 14:55:11 storage: { Nov 16 14:55:11 fs: { Nov 16 14:55:11 folderPath: '/var/lib/onlyoffice/documentserver/App_Data/cache/files' Nov 16 14:55:11 } Nov 16 14:55:11 }, Nov 16 14:55:11 services: { Nov 16 14:55:11 CoAuthoring: { Nov 16 14:55:11 requestDefaults: [Object], Nov 16 14:55:11 server: [Object], Nov 16 14:55:11 utils: [Object], Nov 16 14:55:11 sockjs: [Object], Nov 16 14:55:11 sql: [Object], Nov 16 14:55:11 redis: [Object], Nov 16 14:55:11 secret: [Object], Nov 16 14:55:11 token: [Object] Nov 16 14:55:11 } Nov 16 14:55:11 }, Nov 16 14:55:11 license: { Nov 16 14:55:11 license_file: '/var/www/onlyoffice/documentserver/../Data/license.lic', Nov 16 14:55:11 warning_limit_percents: '70' Nov 16 14:55:11 }, Nov 16 14:55:11 FileConverter: { Nov 16 14:55:11 converter: { Nov 16 14:55:11 fontDir: '/usr/share/fonts', Nov 16 14:55:11 presentationThemesDir: '/var/www/onlyoffice/documentserver/sdkjs/slide/themes', Nov 16 14:55:11 x2tPath: '/var/www/onlyoffice/documentserver/server/FileConverter/bin/x2t', Nov 16 14:55:11 docbuilderPath: '/var/www/onlyoffice/documentserver/server/FileConverter/bin/docbuilder', Nov 16 14:55:11 docbuilderAllFontsPath: '/var/lib/onlyoffice/documentserver/App_Data/docbuilder/AllFonts.js' Nov 16 14:55:11 } Nov 16 14:55:11 }, Nov 16 14:55:11 FileStorage: { directory: '/app/data/documentserver/App_Data' }, Nov 16 14:55:11 SpellChecker: { server: { dictDir: './dictionaries' } } Nov 16 14:55:11 } Nov 16 14:55:11 Patching Postgres credentials ... Nov 16 14:55:11 Patching Redis credentials ... Nov 16 14:55:11 Ensuring spellcheck dictionaries ... Nov 16 14:55:11 Writing config to /app/data/config/production-linux.json ... Nov 16 14:55:11 Done Nov 16 14:55:11 => Initialize database Nov 16 14:55:11 /app/pkg/start.sh: line 23: CLOUDRON_POSTGRESQL_PASSWORD: unbound variable
-
@christophermag Yes, this is a bug which we just fixed. https://git.cloudron.io/cloudron/box/-/commit/48574ce3502d96b5c73d52fe25fd158cfb559e3a
- Edit
/home/yellowtent/box/src/services.js
- Add missing
await
in line 1403 systemctl restart box
There is an update scheduled later today (7.0.4), if you want to wait.
- Edit