Delete updater-oc* folder and files

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 25.0.4
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.52
PHP version (eg, 7.4): 8.1

The issue you are facing:
A lot of files and data filling up in updater-oc* folders and in appdata_oc* folders.
The used space on filesystem does not match with system overview in Nextcloud and in total files and their size synced with rsync. Is the Nextcloud server substracting the size of the data in pastebins and in updater_oc and appdata_oc when listing available space?

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Notice the “Used” value for the disk under system settings → system
  2. Execute rsync of /nextcloud/data/*
  3. Compare the used amount of diskspace from the UI and using df -h

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____:



Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

Not relevant

The pastebin (and versions) is considered in a way that you can define how much of old data you want to keep that there is enough free space left.
The appdata keeps data from apps, I’m not sure, but that is probably not considered for user quota since some apps might have data shared between different users.
The updater-folder keeps some backups, not sure if it is cleaned regularly, but I have already cleaned backups from older updates. Usually, once the upgrade is successful, there is little interest of keeping it for a long time. Therefore, I just keep the last backup.

How large are these folders in your case?
Often, these are the previews of images, you can manage the max preview size: previewgenerator/ at main · nextcloud/previewgenerator · GitHub