/var/www/XX.YY.ZZ/tmp huge --> how to control / reduce?

Hi,

I run nextcloud 29.0.5 within ISPconfig 3.2.12p1 on a current Debian bookworm server. This NC instance has been running and upgraded since 2018. I run Apache/2.4.61 (Debian) and PHP 8.3.10.

I am now faced with the problem that the harddrive is running full. This seems to be due to an absurdly huge /var/www/XX.YY.ZZ/tmp folder. This NC instance is only used by my family (4 persons). Currently, the folder is about 30GB huge. The most space is used up by coolwsd folders, of which one alone is about 7GB big.

I tried moving the folder as root just to see what would happen if I emptied it. However, this results in “operation not permitted”.
I also tried to set
‘tempdirectory’ => ‘/tmp’, in config.php, which borged my setup and just gave me an error message in the browser frontend. And yes, I did make sure that www-data und the user could write in /tmp.

Anyhow, this were only tests to see if I could get rid of this problem quickly and I fencied just pointing the folder or even mount bind it to /tmp and get rid of the overhead when rebooting the server, however

  1. this does not work
  2. is not a proper solution anyways.
    I would expect for the tmp directory to be cleaned up or its contents deleted on a regular basis. However, some files are as old as when I setup the server, so this obviously does not happen.

Is there something broken on my side? Or is this the normal behavior? Any ideas or recommendations on how to deal with this?

Do you need more information?

I would be glad to get some help here.

Thanks!
Justin

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.