You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currenly, stray chunk files are only collected during login in the web interface. Someone who uses owncloud almost exclusively through the client might pile up a lot of stray chunks.
A user in our owncloud had more than 700MB of files in his cache directory. I asked him to login via webbrowser what he did today. But unfortunately the files didn't vanish then. I deleted them manually now and saw, that all were older than our upgrade from owncloud v.6 to v.7 a few weeks ago. Will the garbage collect of version 7 not treat files, that were stored under version 6?
fyi, Gabriele
The problem with having this in the background is that we will either need to iterate over all users in a background job to clean the cache of each user.
Or we need to push a command on the bus for webdav request being made
That means if 100 files are uploaded over the sync client we push 100 identical jobs onto the queue which will all be be run in one go (assuming uploading goes fast enough)
Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
Activity
[-]Garbage Collect chunk files through Cron[/-][+]Garbage Collect chunk files through cron[/+][-]Garbage Collect chunk files through cron[/-][+]Garbage collect chunk files through cron[/+]DeepDiver1975 commentedon Mar 2, 2015
@icewind1991 chunk gc to be implemented as command for the command bus? THX
dipohl commentedon Mar 2, 2015
A user in our owncloud had more than 700MB of files in his cache directory. I asked him to login via webbrowser what he did today. But unfortunately the files didn't vanish then. I deleted them manually now and saw, that all were older than our upgrade from owncloud v.6 to v.7 a few weeks ago. Will the garbage collect of version 7 not treat files, that were stored under version 6?
fyi, Gabriele
icewind1991 commentedon Mar 3, 2015
The problem with having this in the background is that we will either need to iterate over all users in a background job to clean the cache of each user.
Or we need to push a command on the bus for webdav request being made
DeepDiver1975 commentedon Mar 3, 2015
this seems to be the more reasonable approach
icewind1991 commentedon Mar 3, 2015
That means if 100 files are uploaded over the sync client we push 100 identical jobs onto the queue which will all be be run in one go (assuming uploading goes fast enough)
DeepDiver1975 commentedon Mar 3, 2015
100 files as in 100 transferids?
I'd push on job for each transfer id with an execution delay of one day.
So the next day all chunks will be cleared - in case they still exist
DeepDiver1975 commentedon Mar 27, 2015
@icewind1991 just a quick reminder on this 😉
DeepDiver1975 commentedon Mar 27, 2015
or we go with a repairstep?
DeepDiver1975 commentedon Mar 27, 2015
@PVince81 objections
PVince81 commentedon Mar 27, 2015
Cron / background job
I thought this was already done ? @icewind1991
45 remaining items
PVince81 commentedon Feb 23, 2017
@guruz sounds like a plan. This should be done in cron or in any other scalable way.
ownclouders commentedon Jan 13, 2018
Hey, this issue has been closed because the label
status/STALEis set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.)
PVince81 commentedon Jan 15, 2018
Already possible now with
occ dav:cleanup-chunksguruz commentedon Feb 13, 2018
@PVince81 but . is this scheduled by default?
PVince81 commentedon Feb 13, 2018
No, it's part of the many commands an admin needs to run from system cron.
It's not an OC background job because it could potentially take several hours depending on the number of users you have on the system.
See: https://doc.owncloud.org/server/10.0/admin_manual/configuration/server/background_jobs_configuration.html?highlight=cron#available-background-jobs
any now I see that the doc needs adjusting as there is no bkg job: owncloud-archive/documentation#3793
lock commentedon Jul 30, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.