-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nextcloud server is not cleaning old uploads entries #8753
Comments
Yeah as far as I know you have to actively login (so just logout and login via the web). We don't have a proper job for this yet I think :S |
sorry, I didn't understand very well your first sentence.... Do you mean that if I login via web with the user credentials of the the desktop client that is creating the stale uploads subdirs ... then the "magic" happens and the old uploads subdirs are deleted? |
yes. well it also happens if you login and logout in the desktop client. But the web is usually easier. |
ok. Thanks for the info. I'll test it. Thanks again! |
I would not do that. Let the proper cleanup script handle this. |
Ok. I'll try to find out how to proceed. On my system, the users only access nextcloud via desktop client , so there's no way to login via web. And ask the users to close session in the desktop client every day ... to open it again won't work, because they simply won't do it... |
We should move this to a background job: #8759. I will close this one here in favor or #8759 - this here are only the symptoms that should be properly fixed at the root. @marcos-guerrero I hope this is okay? |
Perfect! Thanks |
Hello! |
I'm having the same problem - almost 20Gb in uploads dir, which is not cleaned for the last 10 days. |
same, but is it different when I tried to upload a large file through Chrome instead of the desktop client (or something)? @MorrisJobke |
Did you try to login into a new web session? Is it then cleared properly? |
Is I tried to loging/logout/clear browser cache/cookies with no avail. |
I now have this issue, is there a solution for this?
I cant decipher this... |
Steps to reproduce
3.Wait 1 / 2 / 3 days with the OC server up and running
Expected behaviour
As I don't have configured 'cache_chunk_gc_ttl' it defaults to 1 day as doc says https://docs.nextcloud.com/server/13/admin_manual/configuration_server/config_sample_php_parameters.html ,
so the folder created by the client in the uploads folder should be erased one day after creation
Actual behaviour
The folder remains there after a week,
Server configuration
Operating system: Ubuntu 16.04
Web server: Apache 2.4.
Database: MariaDB 10.2
PHP version: 7.2
Nextcloud version: (see Nextcloud admin page) 13.0.0
Updated from an older Nextcloud/ownCloud or fresh install: updated from 12.0.4
Where did you install Nextcloud from: downloaded from downloads.nextcloud.com
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"192.168.101.4",
"localhost",
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "http://192.168.101.4/owncloud",
"dbtype": "mysql",
"version": "13.0.0.14",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "UTC",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"filelocking.enabled": true,
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 0,
"timeout": 0
},
"updatechecker": false,
"has_internet_connection": false,
"asset-pipeline.enabled": true,
"enable_previews": false,
"filesystem_check_changes": 0,
"trashbin_retention_obligation": "1, 2",
"versions_retention_obligation": "1, 2",
"skeletondirectory": "",
"maintenance": false,
"loglevel": 2,
"logfile": "/disco_datos0/logs/owncloud.log",
"htaccess.RewriteBase": "/owncloud",
"singleuser": false
}
}
Are you using external storage, if yes which one: local
Are you using encryption: no
Are you using an external user-backend, if yes which one: NO
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: