Nextcloud consume way more space than the data in it should

Hello iam facing problems with my nextcloud.
The System already uses around 7TB but my own data is only around 200GB
The problem is that one Folder roughly 88GB large will not sync right with the Desktop Sync Client.
on Windows 10. The folder is in the nextcloud only 40GB large. It contains MP4 from a old GOPRO.
So nothing specail that could be blockt by the Ransomeware Protection.
If i look via ssh in my nextcloud Data Directory i see that the GOPRO folder consumes some TB space. and has allot of filname.mp4.ocTransferIdxxxxxxx.part
in it. Has anyone an idea why that happens? Can i just delete all of this sync files over ssh with rm?

Nextcloud version (eg, 21.0.1):
Operating system and version (eg, DietPi v7.5.2):
Apache or nginx version (eg, nginx 1.14.2):
PHP version (eg, 8.0.9):
Hardware RaspberryPI 4
Data Storage RAID 5 External Hardware Case

The issue you are facing:
The Nextcloud consumes way more space on disk than it should.
arround 7TB but i only use about 200GB
The other files are filname.mp4.ocTransferIdxxxxxxx.part
I think caused by the Desktop Sync Client.

Also the mobile sync client has often an problem with the upload of pictures

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

if you need further information just tell me what, in my nc log is only much Deprication errors from symfony

Thanks for youre help. :grinning:

Kind regards
Moritz

This fileparts look like the uploads do fail somehow. Check your logfiles, if you have timeouts, permission issues etc.

Old unfinished transfer files should normally be cleaned automatically, so some cleanup routine is not working or they are still too new.

Hi, Thanks for your answer in my log file are many warnings about.
But i have no idea what that means. Except that the developer should replace the use of the PluralizationRules class.
But i dont see any timeouts.
The funny think is as far as i know it only mess up with one folder with gopro footage in it. All others work as they should (I try to proofe that in the moment, but the scanning of the files takes some time with 7TB )
Do you have an idea if i can do the clean up manualy?


Error	PHP	Error: Required parameter $internalPath follows optional parameter $mountId at /var/www/nextcloud/lib/private/Files/Config/CachedMountFileInfo.php#34

    /var/www/nextcloud/lib/composer/composer/ClassLoader.php - line 478:

    OC\Log\ErrorHandler::onError()

    /var/www/nextcloud/lib/composer/composer/ClassLoader.php - line 478:

    include()

    /var/www/nextcloud/lib/composer/composer/ClassLoader.php - line 346:

    Composer\Autoload\includeFile()

    /var/www/nextcloud/lib/private/Files/Config/UserMountCache.php - line 342:

    Composer\Autoload\ClassLoader->loadClass()

    <<closure>>

    OC\Files\Config\UserMountCache->OC\Files\Config\{closure}("*** sensiti ... *")

    /var/www/nextcloud/lib/private/Files/Config/UserMountCache.php - line 341:

    array_map()

    /var/www/nextcloud/lib/private/Files/Node/Folder.php - line 371:

    OC\Files\Config\UserMountCache->getMountsForFileId()

    /var/www/nextcloud/apps/maps/lib/BackgroundJob/UpdatePhotoByFileJob.php - line 51:

    OC\Files\Node\Folder->getById()

    /var/www/nextcloud/lib/public/BackgroundJob/Job.php - line 80:

    OCA\Maps\BackgroundJob\UpdatePhotoByFileJob->run()

    /var/www/nextcloud/lib/public/BackgroundJob/QueuedJob.php - line 48:

    OCP\BackgroundJob\Job->execute()

    /var/www/nextcloud/cron.php - line 128:

    OCP\BackgroundJob\QueuedJob->execute()
Error	PHP	Error: session_start(): Ignoring session_start() because a session is already active at /var/www/nextcloud/lib/private/Session/Internal.php#207

    <<closure>>

    OC\Log\ErrorHandler::onError()

    <<closure>>

    session_start()

    /var/www/nextcloud/lib/private/Session/Internal.php - line 207:

    call_user_func_array()

    /var/www/nextcloud/lib/private/Session/Internal.php - line 217:

    OC\Session\Internal->invoke()

    /var/www/nextcloud/lib/private/Session/Internal.php - line 107:

    OC\Session\Internal->startSession()

    /var/www/nextcloud/lib/private/Session/CryptoSessionData.php - line 150:

    OC\Session\Internal->clear()

    /var/www/nextcloud/lib/private/User/Session.php - line 932:

    OC\Session\CryptoSessionData->clear()

    /var/www/nextcloud/lib/private/AppFramework/Middleware/Security/CORSMiddleware.php - line 91:

    OC\User\Session->logout()

    /var/www/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php - line 98:

    OC\AppFramework\Middleware\Security\CORSMiddleware->beforeController()

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 119:

    OC\AppFramework\Middleware\MiddlewareDispatcher->beforeController()

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 157:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/nextcloud/lib/private/Route/Router.php - line 302:

    OC\AppFramework\App::main()

    /var/www/nextcloud/lib/base.php - line 993:

    OC\Route\Router->match()

    /var/www/nextcloud/index.php - line 37:

    OC::handleRequest()
Error	PHP	Error: The "Symfony\Component\Translation\PluralizationRules" class is deprecated since Symfony 4.2. at /var/www/nextcloud/3rdparty/symfony/translation/PluralizationRules.php#38

    <<closure>>

    OC\Log\ErrorHandler::onError()

    /var/www/nextcloud/3rdparty/symfony/translation/PluralizationRules.php - line 38:

    trigger_error()

    /var/www/nextcloud/lib/private/L10N/L10N.php - line 226:

    Symfony\Component\Translation\PluralizationRules::get()

    /var/www/nextcloud/lib/private/L10N/L10NString.php - line 70:

    OC\L10N\L10N->OC\L10N\{closure}("*** sensiti ... *")

    /var/www/nextcloud/lib/private/L10N/L10N.php - line 131:

    OC\L10N\L10NString->__toString()

    /var/www/nextcloud/lib/private/L10N/LazyL10N.php - line 57:

    OC\L10N\L10N->n()

    /var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/Notifier.php - line 171:

    OC\L10N\LazyL10N->n()

    /var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/Notifier.php - line 134:

    OCA\DAV\CalDAV\Reminder\Notifier->prepareNotificationSubject()

    /var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/Notifier.php - line 117:

    OCA\DAV\CalDAV\Reminder\Notifier->prepareReminderNotification()

    /var/www/nextcloud/lib/private/Notification/Manager.php - line 299:

    OCA\DAV\CalDAV\Reminder\Notifier->prepare()

    /var/www/nextcloud/apps/notifications/lib/Controller/EndpointController.php - line 106:

    OC\Notification\Manager->prepare()

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 218:

    OCA\Notifications\Controller\EndpointController->listNotifications()

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 127:

    OC\AppFramework\Http\Dispatcher->executeController()

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 157:

    OC\AppFramework\Http\Dispatcher->dispatch()

    /var/www/nextcloud/lib/private/Route/Router.php - line 302:

    OC\AppFramework\App::main()

    /var/www/nextcloud/ocs/v1.php - line 63:

    OC\Route\Router->match()

    /var/www/nextcloud/ocs/v2.php - line 24:

    require_once("/var/www/nextcloud/ocs/v1.php")

My Scan is finished, the problematic file is only the gopro files