Stream: troubleshooting

Topic: Uploads directory content not clearing after 6.2 upgrade


view this post on Zulip Bikram (Jun 01 2024 at 19:37):

Hi team,
After upgrade to 6.2 (5.13 -> 5.14 -> 6.0 -> 6.1 -> 6.2), we have noticed that contents of 'uploads' directory are not clearing automatically. On Production I had to setup a cronjob to manually clear it periodically.

view this post on Zulip Bikram (Jun 01 2024 at 19:39):

Screenshot-2024-06-01-at-3.38.53PM.png

view this post on Zulip Bikram (Jun 01 2024 at 19:39):

On demo site, still seeing files from May 9 after upgrade

view this post on Zulip Philip Durbin ๐Ÿš€ (Jun 03 2024 at 14:43):

Interesting. Are you using dvwebloader or other addons? Globus?

view this post on Zulip Bikram (Jun 03 2024 at 15:07):

Hi Phil,
Only using the Web uploader, we don't have Globus setup for Production yet.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jun 03 2024 at 15:18):

Do you think it could be dvwebloader? @Sherry Lake are you seeing the same thing? Files sticking around?

view this post on Zulip Philip Durbin ๐Ÿš€ (Jun 03 2024 at 15:21):

@Bikram I'm asking in IQSS Slack if anyone has any ideas.

view this post on Zulip Bikram (Jun 03 2024 at 15:25):

For us its happening on all Test, Demo, Prod environments

view this post on Zulip Sherry Lake (Jun 03 2024 at 15:35):

Philip Durbin said:

Do you think it could be dvwebloader? Sherry Lake are you seeing the same thing? Files sticking around?

We haven't upgraded to 6.2 yet. We are doing that (from 5.14) next week.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jun 03 2024 at 15:42):

Thanks, Sherry.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jun 03 2024 at 15:43):

@Bikram honestly, if you want to go ahead and create an issue, please feel free. Where there's smoke, there's fire, as we say. :grimacing:

view this post on Zulip Bikram (Jun 03 2024 at 16:16):

Thanks Phil, will create issue.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jul 08 2024 at 14:19):

This looks great, thanks: Temporary files in uploads directory not deleting automatically #10667

view this post on Zulip Henning Timm (Jul 09 2024 at 09:50):

I can confirm this. Is it safe to remove those .tmp files manually?

view this post on Zulip Bikram (Jul 09 2024 at 12:41):

AFAIK once the file is uploaded and user hit the save button, those .tmp files are of no use and should be deleted automatically. I have added a cronjob to run every 2hours and deleted files older than 2hrs. It should give users enough time to save the changes.

view this post on Zulip Don Sizemore (Aug 21 2024 at 17:11):

hey @Bikram what type of datastore were you testing? my GRA was unable to reproduce this in version 6.3 with a local datastore. next to set up an S3 bucket.

view this post on Zulip Bikram (Aug 21 2024 at 18:10):

Hi @Don Sizemore, we are using S3 datastore but Openstack Swift S3.


Last updated: Oct 30 2025 at 06:21 UTC