[Résolu] Problème service ds-converter & ds-docservice

Mon serveur YunoHost

Matériel: Serveur Kimsufi KS-4C
Version de YunoHost: 11.2.27 (Stable)
J’ai accès à mon serveur : SSH & Web

Description du problème

Le diagnostique automatique de mon serveur me remonte ceci pour les services ds-converter & ds-docservice

Le service ds-converter est auto-restart :-(

J’arrive à démarrer les services en ssh et Web mais j’ai toujours l’erreur qui est présente. Si je vais dans les journaux web d’un service je vois ceci.

Aug 20 10:44:48 sh[2524]: pkg/prelude/bootstrap.js:1876
Aug 20 10:44:48 sh[2524]:       throw error;
Aug 20 10:44:48 sh[2524]:       ^
Aug 20 10:44:48 sh[2524]: Error: Configuration property "externalRequest.directIfIn" is not defined
Aug 20 10:44:48 sh[2524]:     at Config.get (/snapshot/server/Common/node_modules/config/lib/config.js:203:11)
Aug 20 10:44:48 sh[2524]:     at Object.<anonymous> (/snapshot/server/Common/sources/utils.js)
Aug 20 10:44:48 sh[2524]:     at Module._compile (pkg/prelude/bootstrap.js:1930:22)
Aug 20 10:44:48 sh[2524]:     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
Aug 20 10:44:48 sh[2524]:     at Module.load (node:internal/modules/cjs/loader:981:32)
Aug 20 10:44:48 sh[2524]:     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
Aug 20 10:44:48 sh[2524]:     at Module.require (node:internal/modules/cjs/loader:1005:19)
Aug 20 10:44:48 sh[2524]:     at Module.require (pkg/prelude/bootstrap.js:1855:31)
Aug 20 10:44:48 sh[2524]:     at require (node:internal/modules/cjs/helpers:102:18)
Aug 20 10:44:48 sh[2524]:     at Object.<anonymous> (/snapshot/server/Common/sources/operationContext.js)
Aug 20 10:44:48 systemd[1]: ds-converter.service: Succeeded.
Aug 20 10:45:18 systemd[1]: ds-converter.service: Scheduled restart job, restart counter is at 11.
Aug 20 10:45:18 systemd[1]: Stopped Docs Converter.
Aug 20 10:45:18 systemd[1]: Started Docs Converter.

Une idée de ce qui peut générer ceci ? Ces services sont important pour le fonctionnement du serveur ?

Je n’ai rien fait de particulier récemment, c’est apparu tout seul. Je met juste à jours régulièrement mon serveur via la WebUi.

Merci d’avance.

My YunoHost server

**Hardware: Kimsufi KS-4C server
**YunoHost version: 11.2.27 (Stable)
**I have access to my server: SSH & Web

Problem description

My server’s automatic diagnostics show the following for the ds-converter & ds-docservice services

The ds-converter service is auto-restart :frowning:

I got no error when I start the services manually in ssh and web but I still get the error. If I go into the web logs of a service I see this.

Aug 20 10:44:48 sh[2524]: pkg/prelude/bootstrap.js:1876
Aug 20 10:44:48 sh[2524]:       throw error;
Aug 20 10:44:48 sh[2524]:       ^
Aug 20 10:44:48 sh[2524]: Error: Configuration property "externalRequest.directIfIn" is not defined
Aug 20 10:44:48 sh[2524]:     at Config.get (/snapshot/server/Common/node_modules/config/lib/config.js:203:11)
Aug 20 10:44:48 sh[2524]:     at Object.<anonymous> (/snapshot/server/Common/sources/utils.js)
Aug 20 10:44:48 sh[2524]:     at Module._compile (pkg/prelude/bootstrap.js:1930:22)
Aug 20 10:44:48 sh[2524]:     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
Aug 20 10:44:48 sh[2524]:     at Module.load (node:internal/modules/cjs/loader:981:32)
Aug 20 10:44:48 sh[2524]:     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
Aug 20 10:44:48 sh[2524]:     at Module.require (node:internal/modules/cjs/loader:1005:19)
Aug 20 10:44:48 sh[2524]:     at Module.require (pkg/prelude/bootstrap.js:1855:31)
Aug 20 10:44:48 sh[2524]:     at require (node:internal/modules/cjs/helpers:102:18)
Aug 20 10:44:48 sh[2524]:     at Object.<anonymous> (/snapshot/server/Common/sources/operationContext.js)
Aug 20 10:44:48 systemd[1]: ds-converter.service: Succeeded.
Aug 20 10:45:18 systemd[1]: ds-converter.service: Scheduled restart job, restart counter is at 11.
Aug 20 10:45:18 systemd[1]: Stopped Docs Converter.
Aug 20 10:45:18 systemd[1]: Started Docs Converter.

Any idea what might be generating this? Are these services important for server operation?

I haven’t done anything in particular recently, it just appeared on its own. I just regularly update my server via the WebUi.

Thanks in advance

Bonjour,

J’ai fait un systemctl status ds-converter et j’ai vu que c’était lié à openoffice que j’avais installé il y a un moment et jamais utilisé. Je l’ai désinstallé et je n’ai plus de warning.

Si quelqu’un veut creuser j’avais ça

ds-converter.service - Docs Converter
     Loaded: loaded (/usr/lib/systemd/system/ds-converter.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) since Mon 2024-08-26 15:16:04 UTC; 20s ago
    Process: 972057 ExecStart=/bin/sh -c exec /var/www/onlyoffice/documentserver/server/FileConverter/converter 2>&1 | tee -a /var/log/onlyoffice/documentserver/conver>
   Main PID: 972057 (code=exited, status=0/SUCCESS)
        CPU: 458ms

Hi,

Same issue. It comes from a bad update
of /etc/onlyoffice/documentserver/default.json

I have to manually merge the file with the dpkg-dist version.

Hi, thanks for the tip. Can you please explain how to do it ?