Skip to content

Cli to delete personal spaces does not work #11724

@nirajacharya2

Description

@nirajacharya2

Describe the bug

when trying to delete a personal space using cli is not deleted

Steps to reproduce

1.disable personal space

curl -kv -XDELETE -uadmin:admin 'https://localhost:9200/graph/v1.0/drives/4e1fd09c-29d2-4656-8c6f-8f7acebb5259%24228ac12b-ba92-42f9-a7dc-3bbd17617b98'

* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Request completely sent off
< HTTP/1.1 204 No Content

2.delete personal space using cli

~/Downloads/ocis-7.3.0-rc.1-linux-amd64 storage-users spaces purge --type=personal --retention-period=1s --dry-run=false -v
2025-10-10T12:48:58+05:45 INF Starting space purge process (dry-run: false, retention: 1s)
2025-10-10T12:48:58+05:45 INF Space 4e1fd09c-29d2-4656-8c6f-8f7acebb5259$228ac12b-ba92-42f9-a7dc-3bbd17617b98!228ac12b-ba92-42f9-a7dc-3bbd17617b98 last modified at 2025-10-10 12:40:57 +0545 +0545, cutoff is 2025-10-10 12:40:58 +0545 +0545 - should purge
2025-10-10T12:48:58+05:45 INF Found 1 spaces to process
2025-10-10T12:48:58+05:45 INF Purged space: 4e1fd09c-29d2-4656-8c6f-8f7acebb5259$228ac12b-ba92-42f9-a7dc-3bbd17617b98!228ac12b-ba92-42f9-a7dc-3bbd17617b98 (disabled at: 2025-10-10T06:55:57Z)
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────┬────────────┬──────────────────────┐
│                                                       ID                                                       │ SPACE TYPE │ SPACE NAME │     DISABLED AT      │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────┼────────────┼──────────────────────┤
│ 4e1fd09c-29d2-4656-8c6f-8f7acebb5259$228ac12b-ba92-42f9-a7dc-3bbd17617b98!228ac12b-ba92-42f9-a7dc-3bbd17617b98 │ personal   │ Admin      │ 2025-10-10T06:55:57Z │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────────┴────────────┴──────────────────────┘
2025-10-10T12:48:58+05:45 INF Purge completed. Purged 1 spaces

Expected behavior

personal space should not be shown in web ui and user should not be able to upload files

Actual behavior

personal space is visible in web ui and user can upload files

curl -kv -XPUT -uadmin:admin 'https://localhost:9200/dav/spaces/4e1fd09c-29d2-4656-8c6f-8f7acebb5259%24228ac12b-ba92-42f9-a7dc-3bbd17617b98/a.txt'

* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Request completely sent off
< HTTP/1.1 201 Created

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

Details

ownCloud Web UI 12.1.0 
 Infinite Scale 7.3.0-rc.1 Community

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions