Wipe all devices does not work (device in use and connected to NC)

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

</details>

<details><summary>Configuration (config/config.php)</summary>

{
    "skeletondirectory": "\/var\/www\/html\/themes\/hetzner\/skeleton",
    "simpleSignUpLink.shown": false,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "appstoreurl": "https:\/\/apps.your-storageshare.de",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "files_external_allow_create_new_local": false,
    "loglevel": 2,
    "log_type": "syslog",
    "updatechecker": false,
    "updater.server.url": "https:\/\/updates.your-storageshare.de",
    "updater.release.channel": "stable",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "24.0.5.1",
    "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***.your-storageshare.de",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "default_language": "en",
    "default_locale": "en",
    "default_phone_region": "US",
    "mail_smtpmode": "smtp",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "syslog_tag": "nextcloud-***REMOVED SENSITIVE VALUE***",
    "upgrade.disable-web": true,
    "theme": "hetzner",
    "templatedirectory": "\/var\/www\/html\/core\/skeleton\/Templates\/",
    "enabledPreviewProviders": [
        "OC\\Preview\\PNG",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\GIF",
        "OC\\Preview\\BMP",
        "OC\\Preview\\XBitmap",
        "OC\\Preview\\MP3",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\OpenDocument",
        "OC\\Preview\\Krita",
        "OC\\Preview\\HEIC"
    ],
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": "***REMOVED SENSITIVE VALUE***",
        "timeout": "1.5",
        "dbindex": "0"
    },
    "filelocking.enabled": true,
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "trusted_domains": [
        "***REMOVED SENSITIVE VALUE***.your-storageshare.de",
        "***REMOVED SENSITIVE VALUE***"
    ],
    "maintenance": false
}


</details>

Cron Configuration: Array ( [backgroundjobs_mode] => cron [lastcron] => 1669195683 )

External storages: files_external is disabled

Encryption: no

User-backends:

OC\User\Database

Talk configuration:

STUN servers

no custom server configured

TURN servers

no custom server configured

Signaling servers (mode: default):

no custom server configured

Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5) : 24.0.5 - 24.0.5.1
Operating system and version (eg, Ubuntu 20.04) : Linux 5.4.0-124-generic
Apache or nginx version (eg, Apache 2.4.25) : Unknown
PHP version (eg, 7.4) : 8.0.23

The issue you are facing:
I am testing NC in order to decide whether to use it for our small team. I therefore created dummy users, shared folders and files and did a lot of testing with permissions, deck conversations, comments, etc. The first inexplicable glitch happened when the admin I was using stopped receiving immediate notifications (see this issue)

The second one appeared today. I have seen a recent similar issue, but in that case, users were not connected, in our case they were. We were asking ourselves what happens if a user is deleted from the admins, then we saw the “Wipe all devices” option and decided to give it a try as well. These are the results:

User A had own and shared files and folders on a Mac. Was using the Mac client, was logged in online and the NC desktop was working. I proceeded to “Wipe all devices”. He was logged out, but his files were still both online and on his laptop.
User A was deleted. He could not enter his account any more, but the files locally were all there.

User B had own and shared files and folders on a Linux (22.04.1 LTS). Was using the Linux client, was logged in online and the NC desktop was working. I proceeded to “Wipe all devices”. He was not logged out like the user on Mac, his files were still both online and on his laptop.

User B was deleted. He could not enter his account any more, but the files locally were all there.

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

Steps to replicate it:

  1. Create a user, admin or otherwise, user downloads nc client
  2. Wipe out his/her files while he is using the client
  3. Files should still all be there

As I am on a shared drive, I have no access to logs, but everything looks correct:
We had an “A” submitting our address to: Nextcloud Security Scan Results
In Administration/Settings we get a green badge: all tests passed.

We are considering asking Hetzner for a fresh installation, this is the second very strange glitch which has occurred during testing.