nextcloud / nextcloud/user_retention

Fails to disable or delete users

Open
#799 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
PHP
Stars
11
Forks
8
Avg merge
11h 48m
Merged PRs (30d)
1

Description

Here are the settings of the app:

Image

I've got about 100 users who either never logged in or last logged more than two years ago.

Yet the app doesn't disable or delete their accounts.

Steps to reproduce
  1. Install the app
  2. Set the duration after which an account is to be disabled or deleted to a number shorter than when many of the users last logged on
  3. Wait what happens
Expected behaviour

Should either disable or delete the accounts as configured

Actual behaviour

Does nothing.

Image

Note, the 93 disabled accounts have been disabled by me manually.

Here you see an example of a user who last logged in 3 years ago, yet their account gets neither disabled nor deleted.

Image

Server configuration

Web server: Nginx

Database: Maria

PHP version: 8.1

Nextcloud version: 30

List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

`

  • fulltextsearch: 30.0.0
  • fulltextsearch_elasticsearch: 30.0.0
  • groupfolders: 18.0.3
  • impersonate: 1.17.0
  • logreader: 3.0.0
  • lookup_server_connector: 1.18.0
  • mail: 4.0.2
  • nextcloud_announcements: 2.0.0
  • notes: 4.11.0
  • notifications: 3.0.0
  • notify_push: 0.7.0
  • oauth2: 1.18.1
  • password_policy: 2.0.0
  • photos: 3.0.2
  • polls: 7.2.4
  • privacy: 2.0.0
  • provisioning_api: 1.20.0
  • recommendations: 3.0.0
  • related_resources: 1.5.0
  • richdocuments: 8.5.2
  • serverinfo: 2.0.0
  • settings: 1.13.0
  • sharebymail: 1.20.0
  • spreed: 20.0.1
  • support: 2.0.0
  • survey_client: 2.0.0
  • suspicious_login: 8.0.0
  • systemtags: 1.20.0
  • tables: 0.8.1
  • tasks: 0.16.1
  • text: 4.1.0
  • theming: 2.5.0
  • twofactor_backupcodes: 1.19.0
  • twofactor_nextcloud_notification: 4.0.0
  • twofactor_totp: 12.0.0-dev
  • updatenotification: 1.20.0
  • user_retention: 1.13.0
  • user_status: 1.10.0
  • viewer: 3.0.0
  • weather_status: 1.10.0
  • webhook_listeners: 1.1.0-dev
  • whiteboard: 1.0.4
  • workflowengine: 2.12.0
    Disabled:
  • dashboard: 7.10.0 (installed 7.9.0)
  • encryption: 2.18.0
  • files_fulltextsearch: 30.0.0 (installed 30.0.0)
    `
Nextcloud configuration

`

{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"cloud..de",
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "30.0.1.2",
"overwrite.cli.url": "https://cloud.
.de",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"default_phone_region": "DE",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"forcessl": true,
"filelocking.enabled": true,
"memcache.locking": "\OC\Memcache\Redis",
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.local": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 0,
"timeout": 0
},
"activity_use_cached_mountpoints": "true",
"htaccess.RewriteBase": "/",
"default_language": "de",
"default_locale": "de_DE",
"maintenance_window_start": 1,
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpauth": 1,
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"trusted_proxies": "REMOVED SENSITIVE VALUE",
"maintenance": false,
"defaultapp": "files",
"loglevel": 2,
"memories.db.triggers.fcu": true,
"memories.exiftool": "/var/www/html/cloud..de/apps/memories/bin-ext/exiftool-amd64-glibc",
"memories.vod.path": "/var/www/html/cloud.
.de/apps/memories/bin-ext/go-vod-amd64",
"enabledPreviewProviders": [
"OC\Preview\Image"
]
},
"apps": {
"activity": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": "filesystem"
},
"admin_audit": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": "logging"
},
"announcementcenter": {
"enabled": "yes",
"installed_version": "7.0.1",
"types": "logging"
},
"app_api": {
"enabled": "yes",
"installed_version": "4.0.0",
"types": ""
},
"backgroundjob": {
"lastjob": "19174"
},
"backup": {
"allow_weekday": "0",
"cron_enabled": "1",
"delay_full_rp": "24",
"delay_partial_rp": "3",
"enabled": "no",
"encryption_keys": "{"aes-256-gcm":"gSTzSTVnJ23PKHXZBcpuUIE9c1Oha7++lQC44OqXgA0=","aes-256-gcm-nonce":"2V\/V0J0eKkVnJYQh","aes-256-cbc":"B1uGC13D5c+WyEn6ThVzgzh9jmyfs0ZufChtYeZTiF0=","aes-256-cbc-iv":"bYvHKDy70XTpF3d3","chacha":"7rMfPu\/lYEsS51j5JkM7utpcLphZeTcePbru3HBDeAo="}",
"external_appdata": "{"storageId":297,"storage":"webdav::backup@cloud.uferwerk.org\/\/remote.php\/webdav\/wikabackup\/","root":"appdata"}",
"installed_version": "1.4.0",
"key_pairs": "{"https:\/\/wika.bg-edv.com\/":{"keyId":"https:\/\/wika.bg-edv.com\/#main-key","keyOwner":"https:\/\/wika.bg-edv.com\/","publicKey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxZRcqnfL7GEcK5DXqmAu\nWkj\/ua9uP2HDiMz+yvwWiBfU3no2ecbSfSoVTl21I2fIS4bbhRyi2IS\/mIouwrP3\n\/J5hW7JksoRFjF5eS6yrMt\/qRWcHBzTD50AvM\/dJjzwDvOYKFr1A18aGA0ukeGcR\nByyEzJk04axJydf8mdgO4rYKTCEqHJTtCiAqRNlVgGWka0mn5DEPoge8ygIy8ITL\ngL4VKGHX9MI0pRj5mbHFbY5G7v5KScv6iHxBfeD4wGERsjrK\/7y8GbsfYQlRsax9\nxDK2OsKh3wLDfl9Q21zWpSU2oLLY0eKPR7SrA1ZP8P7GhAje5OYtrg6vUnaB\/6v4\n+QIDAQAB\n-----END PUBLIC KEY-----\n","privateKey":"-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDFlFyqd8vsYRwr\nkNeqYC5aSP+5r24\/YcOIzP7K\/BaIF9TeejZ5xtJ9KhVOXbUjZ8hLhtuFHKLYhL+Y\nii7Cs\/f8nmFbsmSyhEWMXl5LrKsy3+pFZwcHNMPnQC8z90mPPAO85goWvUDXxoYD\nS6R4ZxEHLITMmTThrEnJ1\/yZ2A7itgpMISoclO0KICpE2VWAZaRrSafkMQ+iB7zK\nAjLwhMuAvhUoYdf0wjSlGPmZscVtjkbu\/kpJy\/qIfEF94PjAYRGyOsr\/vLwZux9h\nCVGxrH3EMrY6wqHfAsN+X1DbXNalJTagstjR4o9HtKsDVk\/w\/saECN7k5i2uDq9S\ndoH\/q\/j5AgMBAAECggEABAj4+rxDgouZ76PV0d1Jh4QdwN7vDJRm5Yw2NjVETP6v\nSzO2So9iHhkdbAwZpTL2NJHlTUNxfaRItAknVgNONbkI8Fv40c2UveDxf9LV4ybA\nEEMEqDn6wcieIdysH\/N3ZScrPB26Vz8Ct0C+kXzsIpqQV5XN3450jLYUKutkfJYU\nWeUeA9Q9r10frDkSbfAwd2tJw4x34wtg7mweqesEkpphGlFiQ15N1cOBjrNXMUPB\nsy0OuRmRc8\/1pz5UxPvVUbndxWBdRdyzW2PenK2NgR8vmePDXfXiPubwG+N+n8F+\n6HB7n7zUlyZPJkPiGA0eXIAi7do2IS2RtcSDSOJHPwKBgQDphgcHyfIIe2\/ERhO1\noqkdeYUaDLOmhrKqJKQBFp6PYBANr+T9kMmBAX7V+4GgDsLCrreRA0skGHSedfRC\nLk74ftfPGDZvSyQ0qPW4JkhLpMCO4k\/t8BP\/ZApcbs1PBc4oJT1BM7sx\/QzzpavA\n2LWiLYvlL\/CdmaHlSNeTSG+5twKBgQDYmK55RceVoZSXUhbikN4MCGRVGGGwUqs6\n1gOn98EULFtAObHklSMWgzv81sHa8FbKN5zOn5Yw5tUl7llWVqHgHCu1I73KjZPZ\n9zBmc57OpNH7PGip4NkzjRhuM1Q\/l0Ef9YZtNZbg0qjspHOxA3\/n7sEPEoeOgSsB\npbw+4KmizwKBgQCG+L9hghhRTL75y6MirYRfk9gZiVPgoSPs8UaVlnRI3DYLIyoQ\nYLoGxU2A8mAmmcF58rAIscWhdD0bRYPLKKbeO7oSaaU0yFKB2VJEgGPyzKO7MhUO\nql90kmbmq+ggj3NrgrKX2AWPS\/pLbOsLiHXa6cZczkudW6nWMzbeWtSwmwKBgAYy\nYBOCJpKmW8z0gUkcIe4wM0an+uuDgfid9N7SXMjJ+BZfUDKc\/bMAMDAsqMEtzR3d\n93OF51Mg14pNRmsM8Xaq96koC58G6+r5gn374thAqO1KLihmEXDDIabNeySSnD9g\n0+a9+MIX5NNYZSL0Wa12DDn1KsGt+mACsN8PqGrLAoGAFJ\/PSnDrEqUKGKASA9bF\n1oxgPkOlsVcXGK\/Plsea6PGuUbtnaJHWy98aDlQfuKUM9H4rxY\/QoPlFf9QDHWkT\nWwC5N9nWAz7Mjl93eG3rGacuFDb9XHuBYIShUktxauuvHoOy+MXvyXtUKpiiD4Ng\nrZ1hpo88o7Tm\/zjI6\/HuZps=\n-----END PRIVATE KEY-----\n"}}",
"mockup_date": "1718508570",
"pack_backup": "1",
"pack_compress": "1",
"pack_encrypt": "0",
"store_items": "3",
"store_items_external": "5",
"time_slots": "23-5",
"types": ""
},
"bruteforcesettings": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"calendar": {
"enabled": "yes",
"installed_version": "5.0.1",
"types": ""
},
"circles": {
"enabled": "yes",
"installed_version": "30.0.0-dev",
"loopback_tmp_scheme": "https",
"maintenance_run": "0",
"maintenance_update": "{"maximum":3,"3":1730716203,"2":1730716203,"1":1730716502,"4":1672106441,"5":1671850844}",
"migration_22": "1",
"migration_22_1": "1",
"migration_run": "0",
"types": "filesystem,dav"
},
"cloud_federation_api": {
"enabled": "yes",
"installed_version": "1.13.0",
"types": "filesystem"
},
"collectives": {
"enabled": "yes",
"installed_version": "2.14.4",
"types": "filesystem"
},
"comments": {
"enabled": "yes",
"installed_version": "1.20.1",
"types": "logging"
},
"contacts": {
"enabled": "yes",
"installed_version": "6.1.0",
"types": "dav"
},
"contactsinteraction": {
"enabled": "yes",
"installed_version": "1.11.0",
"types": "dav"
},
"core": {
"backgroundjobs_mode": "cron",
"emailTestSuccessful": "1",
"enterpriseLogoChecked": "yes",
"files_metadata_installed": "1",
"installed.bundles": "["CoreBundle"]",
"installedat": "1557996592.6372",
"lastcron": 1730716502,
"lastupdateResult": "[]",
"lastupdatedat": 1730715765,
"metadataGenerationDone": true,
"moveavatarsdone": "yes",
"previewsCleanedUp": "1",
"public_files": "files_sharing/public.php",
"public_webdav": "dav/appinfo/v1/publicwebdav.php",
"scss.variables": "db81cddf52fdb3c8ca1e4c859e214124",
"theming.variables": "b92d206521717ac032f8aa58d3c7ff2f",
"updater.secret.created": "1715331153",
"vendor": "nextcloud",
"files_metadata": {
"photos-original_date_time": {
"value": null,
"type": "int",
"etag": "",
"indexed": true,
"editPermission": 0
},
"photos-exif": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"photos-ifd0": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"photos-size": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"photos-gps": {
"value": null,
"type": "array",
"etag": "",
"indexed": false,
"editPermission": 0
},
"photos-place": {
"value": null,
"type": "string",
"etag": "",
"indexed": true,
"editPermission": 0
},
"blurhash": {
"value": null,
"type": "string",
"etag": "2e348093e941811f22e52693ad15c502",
"indexed": false,
"editPermission": 0
}
},
"oc.integritycheck.checker": []
},
"dashboard": {
"enabled": "no",
"installed_version": "7.9.0",
"types": ""
},
"dav": {
"buildCalendarReminderIndex": "yes",
"buildCalendarSearchIndex": "yes",
"builtSocialSearchIndex": "yes",
"chunks_migrated": "1",
"enabled": "yes",
"installed_version": "1.31.1",
"needs_system_address_book_sync": "no",
"regeneratedBirthdayCalendarsForYearFix": "yes",
"types": "filesystem"
},
"deck": {
"enabled": "yes",
"installed_version": "1.14.1",
"types": "dav"
},
"documentserver_community": {
"enabled": "no",
"installed_version": "0.1.13",
"types": "filesystem"
},
"federatedfilesharing": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": ""
},
"federation": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": "authentication"
},
"files": {
"cronjob_scan_files": "500",
"default_quota": "10 GB",
"enabled": "yes",
"installed_version": "2.2.0",
"mimetype_version": "30.0.1.2",
"types": "filesystem",
"watermark_enabled": "no"
},
"files_antivirus": {
"av_path": "/usr/bin/clamscan",
"enabled": "yes",
"installed_version": "5.6.0",
"types": "filesystem,dav"
},
"files_confidential": {
"enabled": "yes",
"installed_version": "3.0.3",
"types": ""
},
"files_downloadlimit": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"files_external": {
"enabled": "yes",
"installed_version": "1.22.0",
"types": "filesystem"
},
"files_fulltextsearch": {
"enabled": "no",
"files_audio": "0",
"files_encrypted": "0",
"files_external": "1",
"files_federated": "0",
"files_group_folders": "1",
"files_image": "0",
"files_local": "1",
"files_office": "1",
"files_pdf": "1",
"files_size": "20",
"installed_version": "30.0.0",
"types": "filesystem"
},
"files_pdfviewer": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"files_reminders": {
"enabled": "yes",
"installed_version": "1.3.0",
"types": ""
},
"files_retention": {
"enabled": "no",
"installed_version": "1.18.0",
"types": ""
},
"files_rightclick": {
"enabled": "no",
"installed_version": "1.6.0",
"types": ""
},
"files_sharing": {
"enabled": "yes",
"installed_version": "1.22.0",
"types": "filesystem"
},
"files_texteditor": {
"enabled": "no",
"installed_version": "2.8.0",
"types": ""
},
"files_trashbin": {
"enabled": "yes",
"installed_version": "1.20.1",
"types": "filesystem,dav"
},
"files_versions": {
"enabled": "yes",
"installed_version": "1.23.0",
"types": "filesystem,dav"
},
"firstrunwizard": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": "logging"
},
"forms": {
"enabled": "yes",
"installed_version": "4.3.2",
"types": ""
},
"fulltextsearch": {
"app_navigation": "0",
"cron_err_reset": "1729575602",
"enabled": "yes",
"installed_version": "30.0.0",
"search_platform": "OCA\FullTextSearch_Elasticsearch\Platform\ElasticSearchPlatform",
"types": ""
},
"fulltextsearch_elasticsearch": {
"analyzer_tokenizer": "standard",
"elastic_host": "http://localhost:9200/",
"elastic_index": "",
"enabled": "yes",
"installed_version": "30.0.0",
"types": ""
},
"gallery": {
"enabled": "no",
"installed_version": "18.4.0",
"types": ""
},
"groupfolders": {
"cron_last_folder_index": 10,
"enabled": "yes",
"installed_version": "18.0.3",
"types": "filesystem,dav"
},
"htmlviewer": {
"enabled": "no",
"installed_version": "29.2.0",
"types": ""
},
"impersonate": {
"enabled": "yes",
"installed_version": "1.17.0",
"types": "prevent_group_restriction"
},
"logreader": {
"enabled": "yes",
"installed_version": "3.0.0",
"shownLevels": "[3,4]",
"types": "logging"
},
"lookup_server_connector": {
"enabled": "yes",
"installed_version": "1.18.0",
"types": "authentication"
},
"mail": {
"enabled": "yes",
"installed_version": "4.0.2",
"types": ""
},
"memories": {
"enabled": "no",
"installed_version": "7.3.1",
"last_index_job_duration": "173.28",
"last_index_job_start": "1720666806",
"last_index_job_status": "Indexing completed successfully",
"last_index_job_status_type": "success",
"types": ""
},
"nextcloud_announcements": {
"enabled": "yes",
"installed_version": "2.0.0",
"pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
"types": "logging"
},
"notes": {
"enabled": "yes",
"installed_version": "4.11.0",
"types": ""
},
"notifications": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": "logging"
},
"notify_push": {
"base_endpoint": "https://cloud..de/push",
"cookie": "REMOVED SENSITIVE VALUE",
"enabled": "yes",
"installed_version": "0.7.0",
"types": "filesystem"
},
"oauth2": {
"enabled": "yes",
"installed_version": "1.18.1",
"types": "authentication"
},
"onlyoffice": {
"DocumentServerInternalUrl": "",
"DocumentServerUrl": "https://wika.bg-edv.com/index.php/apps/documentserver_community/",
"StorageUrl": "",
"customization_macros": "true",
"customization_plugins": "true",
"defFormats": "{"docx":true,"pptx":true,"xlsx":true,"odp":true,"ods":true,"odt":true,"doc":true,"ppt":true,"xls":true}",
"demo": "{"available":true,"enabled":false,"start":{"date":"2020-06-03 06:04:28.147846","timezone_type":3,"timezone":"UTC"}}",
"editFormats": "{"csv":true,"docx":true,"pptx":true,"txt":true,"xlsx":true,"odp":true,"ods":true,"odt":true,"rtf":true}",
"enabled": "no",
"installed_version": "8.2.0",
"jwt_secret": "REMOVED SENSITIVE VALUE",
"protection": "owner",
"sameTab": "true",
"settings_error": "",
"types": "prevent_group_restriction"
},
"password_policy": {
"enabled": "yes",
"enforceNumericCharacters": "1",
"enforceSpecialCharacters": "1",
"enforceUpperLowerCase": "1",
"historySize": "3",
"installed_version": "2.0.0",
"minLength": "14",
"types": "authentication"
},
"photos": {
"enabled": "yes",
"installed_version": "3.0.2",
"lastPlaceMappedUser": "Walter Schmidt",
"lastPlaceMappingDone": "true",
"types": "dav,authentication"
},
"polls": {
"enabled": "yes",
"installed_version": "7.2.4",
"types": ""
},
"privacy": {
"enabled": "yes",
"installed_version": "2.0.0",
"types": ""
},
"provisioning_api": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": "prevent_group_restriction"
},
"recommendations": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"registration": {
"admin_approval_required": "yes",
"disable_email_verification": "no",
"domains_is_blocklist": "no",
"email_is_login": "no",
"email_is_optional": "no",
"enabled": "no",
"enforce_fullname": "no",
"enforce_phone": "no",
"installed_version": "2.4.0",
"show_domains": "no",
"show_fullname": "no",
"show_phone": "no",
"types": "prevent_group_restriction"
},
"related_resources": {
"enabled": "yes",
"installed_version": "1.5.0",
"types": ""
},
"richdocuments": {
"disable_certificate_verification": "yes",
"enabled": "yes",
"installed_version": "8.5.2",
"public_wopi_url": "https://office.
.de",
"types": "prevent_group_restriction",
"wopi_allowlist": "85.215.62.194,2a02:247a:24d:6200::1,2a01:4f8:10a:2758::2,88.99.143.26,127.0.0.1,::1,172.17.0.0/24",
"wopi_url": "https://office.*******.de:443"
},
"richdocumentscode": {
"enabled": "no",
"installed_version": "23.5.604",
"types": ""
},
"serverinfo": {
"cached_count_filecache": "266726",
"cached_count_storages": "244",
"enabled": "yes",
"installed_version": "2.0.0",
"token": "REMOVED SENSITIVE VALUE",
"types": ""
},
"settings": {
"enabled": "yes",
"installed_version": "1.13.0",
"types": ""
},
"sharebymail": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": "filesystem"
},
"spreed": {
"enabled": "yes",
"has_reference_id": "yes",
"installed_version": "20.0.1",
"project_access_invalidated": "1",
"signaling_servers": "REMOVED SENSITIVE VALUE",
"signaling_token_privkey_es256": "REMOVED SENSITIVE VALUE",
"signaling_token_pubkey_es256": "REMOVED SENSITIVE VALUE",
"stun_servers": "REMOVED SENSITIVE VALUE",
"turn_servers": "REMOVED SENSITIVE VALUE",
"types": "dav,prevent_group_restriction"
},
"support": {
"SwitchUpdaterServerHasRun": "yes",
"enabled": "yes",
"installed_version": "2.0.0",
"types": "session"
},
"survey_client": {
"enabled": "yes",
"installed_version": "2.0.0",
"last_report": "{"id":"ocakxvqtbwjl","items":[["server","version","29.0.8.1"],["server","code","other"],["server","enable_avatars","yes"],["server","enable_previews","yes"],["server","memcache.local","\\OC\\Memcache\\Redis"],["server","memcache.distributed","\\OC\\Memcache\\Redis"],["server","asset-pipeline.enabled","no"],["server","filelocking.enabled","yes"],["server","memcache.locking","\\OC\\Memcache\\Redis"],["server","debug","no"],["server","cron","cron"],["php","version","8.2.24"],["php","memory_limit",-1],["php","max_execution_time",0],["php","upload_max_filesize",2097152],["database","type","mysql"],["database","version","10.11.6"],["database","size",239943680],["apps","activity","2.21.1"],["apps","admin_audit","1.19.0"],["apps","announcementcenter","7.0.1"],["apps","backup","disabled"],["apps","bruteforcesettings","2.9.0"],["apps","calendar","4.7.16"],["apps","circles","29.0.0-dev"],["apps","cloud_federation_api","1.12.0"],["apps","collectives","2.14.4"],["apps","comments","1.19.0"],["apps","contacts","6.0.0"],["apps","contactsinteraction","1.10.0"],["apps","dashboard","disabled"],["apps","dav","1.30.1"],["apps","deck","1.13.2"],["apps","documentserver_community","disabled"],["apps","federatedfilesharing","1.19.0"],["apps","federation","1.19.0"],["apps","files","2.1.1"],["apps","files_antivirus","5.6.0"],["apps","files_confidential","3.0.3"],["apps","files_downloadlimit","2.0.0"],["apps","files_external","1.21.0"],["apps","files_fulltextsearch","disabled"],["apps","files_pdfviewer","2.10.0"],["apps","files_reminders","1.2.0"],["apps","files_retention","disabled"],["apps","files_rightclick","disabled"],["apps","files_sharing","1.21.0"],["apps","files_texteditor","disabled"],["apps","files_trashbin","1.19.0"],["apps","files_versions","1.22.0"],["apps","firstrunwizard","2.18.0"],["apps","forms","4.3.1"],["apps","fulltextsearch","29.0.1"],["apps","fulltextsearch_elasticsearch","29.0.1"],["apps","gallery","disabled"],["apps","groupfolders","17.0.4"],["apps","htmlviewer","disabled"],["apps","impersonate","1.16.0"],["apps","logreader","2.14.0"],["apps","lookup_server_connector","1.17.0"],["apps","mail","3.7.8"],["apps","memories","disabled"],["apps","nextcloud_announcements","1.18.0"],["apps","notes","4.11.0"],["apps","notifications","2.17.0"],["apps","notify_push","0.7.0"],["apps","oauth2","1.17.1"],["apps","onlyoffice","disabled"],["apps","password_policy","1.19.0"],["apps","photos","2.5.0"],["apps","polls","7.2.4"],["apps","privacy","1.13.0"],["apps","provisioning_api","1.19.0"],["apps","recommendations","2.1.0"],["apps","registration","disabled"],["apps","related_resources","1.4.0"],["apps","richdocuments","8.4.7"],["apps","richdocumentscode","disabled"],["apps","serverinfo","1.19.0"],["apps","settings","1.12.0"],["apps","sharebymail","1.19.0"],["apps","spreed","19.0.10"],["apps","support","1.12.0"],["apps","survey_client","1.17.0"],["apps","suspicious_login","7.0.0"],["apps","systemtags","1.19.0"],["apps","tables","0.8.1"],["apps","tasks","0.16.1"],["apps","text","3.10.1"],["apps","theming","2.4.0"],["apps","twofactor_backupcodes","1.18.0"],["apps","twofactor_nextcloud_notification","3.10.0"],["apps","twofactor_totp","11.0.0-dev"],["apps","updatenotification","1.19.1"],["apps","user_retention","1.13.0"],["apps","user_status","1.9.0"],["apps","viewer","2.3.0"],["apps","weather_status","1.9.0"],["apps","workflowengine","2.11.0"],["stats","num_files",266627],["stats","num_users",175],["stats","num_storages",243],["stats","num_storages_local",3],["stats","num_storages_home",239],["stats","num_storages_other",1],["stats","num_comments",942],["stats","num_comment_markers",3],["stats","num_systemtags",0],["stats","num_systemtags_mappings",0],["files_sharing","num_shares",399],["files_sharing","num_shares_user",35],["files_sharing","num_shares_groups",5],["files_sharing","num_shares_link",28],["files_sharing","num_shares_link_no_password",28],["files_sharing","num_fed_shares_sent",0],["files_sharing","num_fed_shares_received",0],["files_sharing","permissions_2_0",1],["files_sharing","permissions_0_1",1],["files_sharing","permissions_1_1",1],["files_sharing","permissions_2_1",7],["files_sharing","permissions_1_17",1],["files_sharing","permissions_2_17",232],["files_sharing","permissions_3_17",11],["files_sharing","permissions_0_19",9],["files_sharing","permissions_1_19",1],["files_sharing","permissions_2_19",7],["files_sharing","permissions_3_19",15],["files_sharing","permissions_10_19",5],["files_sharing","permissions_11_19",10],["files_sharing","permissions_0_31",25],["files_sharing","permissions_1_31",2],["files_sharing","permissions_2_31",62],["files_sharing","permissions_3_31",2],["files_sharing","permissions_7_31",7],["encryption","enabled","no"],["encryption","default_module","no"]]}",
"last_sent": "1729605602",
"types": ""
},
"suspicious_login": {
"enabled": "yes",
"installed_version": "8.0.0",
"types": "authentication"
},
"systemtags": {
"enabled": "yes",
"installed_version": "1.20.0",
"types": "logging"
},
"tables": {
"enabled": "yes",
"installed_version": "0.8.1",
"legacyRowTransferRunComplete": "true",
"sequenceRepairComplete": "true",
"types": ""
},
"tasks": {
"enabled": "yes",
"installed_version": "0.16.1",
"types": ""
},
"text": {
"enabled": "yes",
"installed_version": "4.1.0",
"types": "dav"
},
"theming": {
"backgroundMime": "backgroundColor",
"background_color": "#d3a967",
"cachebuster": "41",
"disable-user-theming": "no",
"enabled": "yes",
"imprintUrl": "REMOVED SENSITIVE VALUE",
"installed_version": "2.5.0",
"logoDimensions": "334x100",
"logoMime": "image/png",
"name": "
Netzwerk",
"primary_color": "#d3a967",
"privacyUrl": "REMOVED SENSITIVE VALUE",
"slogan": "REMOVED SENSITIVE VALUE",
"types": "logging",
"url": "REMOVED SENSITIVE VALUE"
},
"twofactor_backupcodes": {
"enabled": "yes",
"installed_version": "1.19.0",
"types": ""
},
"twofactor_nextcloud_notification": {
"enabled": "yes",
"installed_version": "4.0.0",
"types": ""
},
"twofactor_totp": {
"enabled": "yes",
"installed_version": "12.0.0-dev",
"types": ""
},
"updatenotification": {
"announcementcenter": "7.0.1",
"bruteforcesettings": "2.4.0",
"calendar": "4.7.16",
"collectives": "2.14.4",
"core": "30.0.1.2",
"deck": "1.13.2",
"documentserver_community": "0.1.13",
"enabled": "yes",
"files_antivirus": "5.6.0",
"files_confidential": "3.0.3",
"files_rightclick": "0.15.1",
"forms": "4.3.2",
"groupfolders": "17.0.5",
"installed_version": "1.20.0",
"mail": "3.7.9",
"notes": "4.11.0",
"notify_groups": "["admin"]",
"onlyoffice": "7.9.0",
"polls": "7.2.4",
"related_resources": "1.0.4",
"richdocuments": "8.4.8",
"spreed": "19.0.10",
"tables": "0.8.1",
"tasks": "0.16.1",
"twofactor_nextcloud_notification": "3.10.0",
"types": "",
"update_check_errors": "0"
},
"user_retention": {
"enabled": "yes",
"installed_version": "1.13.0",
"keep_users_without_login": "no",
"reminder_days": "355,720",
"types": "prevent_group_restriction",
"user_days": "730",
"user_days_disable": "365"
},
"user_status": {
"enabled": "yes",
"installed_version": "1.10.0",
"types": ""
},
"viewer": {
"enabled": "yes",
"installed_version": "3.0.0",
"types": ""
},
"weather_status": {
"enabled": "yes",
"installed_version": "1.10.0",
"types": ""
},
"webhook_listeners": {
"enabled": "yes",
"installed_version": "1.1.0-dev",
"types": "filesystem"
},
"whiteboard": {
"enabled": "yes",
"installed_version": "1.0.4",
"types": ""
},
"workflowengine": {
"enabled": "yes",
"installed_version": "2.12.0",
"types": "filesystem"
}
}
}

`

Browser

Browser name: Firefox

Browser version: 131

Operating system: Debian GNU/Linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the user_retention app and reproduce the configured disable/delete behavior on the reported Nextcloud setup. Check the background job entry point using the configured cron mode and the occ app:list command, then verify that accounts past the configured inactivity duration are disabled or deleted as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.