Cronjobs hang with x2t in ptree

in the nextcloud installation I run for a school I see tons of cron /var/www/nextcloud/cron.php processes accumulating that don’t end.
If I look at the prtee of those cron runs I see

 1     /sbin/init 
   494   /usr/sbin/cron -f 
     13867 /usr/sbin/CRON -f 
       13869 /bin/sh -c sudo -u www-data php -f /var/www/nextcloud/cron.php 
         13870 sudo -u www-data php -f /var/www/nextcloud/cron.php 
           13872 php -f /var/www/nextcloud/cron.php 
             13929 sh -c ./x2t '/tmp/oc_tmp_sfv2ih-.xml' 
               13930 ./x2t /tmp/oc_tmp_sfv2ih-.xml 

the content of this xml file is

<TaskQueueDataConvert xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<m_sFileFrom>/var/www/nextcloud/data/appdata_oc8n3a703vhh/documentser ver_community/doc_18351535 Editor.bin</m_sFileFrom>
<m_sFileTo>/var/www/nextcloud/data/appdata_oc8n3a703vhh/documentserver_community/doc_18351535/saved.docx</m_sFileTo>
<m_nFormatTo>65</m_nFormatTo>
<m_bIsPDFA xsi:nil="true"/><m_bFromChanges>true</m_bFromChanges>
<m_sFontDir>/var/www/nextcloud/apps/documentserver_community/3rdparty/onlyoffice/documentserver/core-fonts</m_sFontDir>
<m_sThemeDir>/var/www/nextcloud/apps/documentserver_community/3rdparty/onlyoffice/documentserver/sdkjs/slide/themes</m_sThemeDir> <m_bIsNoBase64 xsi:nil="true"/>   
<m_oTimestamp>2021-01-12T21:00:19+00:00</m_oTimestamp></TaskQueueDataConvert>

I started the installation with using the documentserver_community and after realizing it corrupts my users files I switched to the onlyoffice_documentserver docker container.

any Idea what these cronjobs are trying to do and why and how to stop it?

thanks a lot in advance!

I just realized that I did not remove the documentserver_community app. just ran

sudo -u www-data php /var/www/nextcloud/occ app:remove documentserver_community

and that hopefully stopps the foobar :slight_smile:

1 Like