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
{{ message }}
Repository navigation
Basic auth requests always set up the filesystem #31357
// a GC exception should not prevent users from using OC,
// so log the exception
\OC::$server->getLogger()->logException($e, [
'message' => 'Exception when running cache gc.',
'level' => ILogger::WARN,
'app' => 'core',
]);
}
I think it is time to move that to a proper cron job instead. It would potentially clean up chunked upload attempts but there is no need to do this with every successful login?!
Discussed with @mgallien we will remove support with 3.7 and announce this in release notes.
As we have our chunked uploading mechanism this is is a decent replacement.
Is this being used as a fallback only? Would it be a problem for older clients of we drop the support in server e.g. for 26?
the new chunking algorithm has been released with 2.3.0 desktop client release from Mar 3, 2017
I think it is safe to assume clients have upgraded or we can ask them to upgrade
I mean that it should be safe to remove this deprecated code in the 26 server release
Activity
PVince81 commentedon Aug 15, 2022
I think chunked upload cleanup already has a cron job: #30772
juliusknorr commentedon Nov 18, 2022
This seems to only cleanup parts from the very old chunking https://github.com/owncloud/core/wiki/spec%3A-big-file-chunking, mabye something we can get rid of then.
@tobiasKaminsky can maybe check if that is still used in any way in the clients as I found at least a code occurence for desktop: https://github.com/nextcloud/desktop/blob/4135b757b9599f95376a416761ad5cf3116411a9/src/libsync/propagateuploadv1.cpp#L115 but I'd think everything is using the new chunked upload anyways
juliusknorr commentedon Nov 18, 2022
Other than that there seems to be no usage of the
\OC\Cache\Fileclass which contains the garbage collectiontobiasKaminsky commentedon Nov 23, 2022
Discussed with @mgallien we will remove support with 3.7 and announce this in release notes.
As we have our chunked uploading mechanism this is is a decent replacement.
juliusknorr commentedon Nov 23, 2022
Is this being used as a fallback only? Would it be a problem for older clients of we drop the support in server e.g. for 26?
mgallien commentedon Nov 24, 2022
the new chunking algorithm has been released with 2.3.0 desktop client release from Mar 3, 2017
I think it is safe to assume clients have upgraded or we can ask them to upgrade
I mean that it should be safe to remove this deprecated code in the 26 server release
tobiasKaminsky commentedon Nov 25, 2022
@mgallien once you have removed it in Desktop, please link it here, so that we have this for reference :)
nickvergessen commentedon Nov 25, 2022
We can bump
server/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php
Line 67 in f7be761
mgallien commentedon Nov 25, 2022
see #35425
I did it directly
juliusknorr commentedon Dec 5, 2022
Another usage is any class that injects ICache:
server/lib/private/Server.php
Lines 706 to 710 in 7c4ceb4
Might be harder to find all cases, but maybe we can actually switch this to a ArrayCache or local memory cache instance instead.
11 remaining items
provokateurin commentedon Jul 14, 2025
The PR was merged with red CI and had to be reverted, so now it's #53920.
provokateurin commentedon Sep 2, 2025
Next try:
#54803
nextcloud/guests#1400