Repository navigation
Closed
Labels
Description
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce
- create a local container on the main branch
make -C opencloud dev-docker. - run
opencloudLOCAL_TEST=true STORAGE_DRIVER=posix make -C tests/acceptance/docker start-server. - create the
bobuser - create a project space
- create a public link for the project space
- under the name anonymus, open the public link
- log in as user
bobon the public link page - get all private spaces:
GET https://opencloud-server:9200/graph/v1beta1/drives?%24orderby=name+asc&%24filter=driveType+eq+personal.
Expected behavior
only 1 personal space for bob
Actual behavior
there is one empty space
{
"value": [
{
"driveAlias": "personal/",
"driveType": "personal",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$92d8b7e5-39d6-4d2c-b373-3849def435a5",
"lastModifiedDateTime": "2025-04-29T14:28:03.984931012Z",
"name": "",
"owner": {
"user": {
"displayName": "",
"id": "56680130-92de-4390-a8f8-a99ec5c93bfc"
}
},
"quota": {
"remaining": 9223372036854775807,
"state": "normal",
"total": 0,
"used": 0
},
"root": {
"eTag": "\"4d2e639747d48a763012600acb26b279\"",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$92d8b7e5-39d6-4d2c-b373-3849def435a5",
"webDavUrl": "https://opencloud-server:9200/dav/spaces/9f1e0882-3363-406d-bb78-09cca586e598$92d8b7e5-39d6-4d2c-b373-3849def435a5"
},
"webUrl": "https://opencloud-server:9200/f/9f1e0882-3363-406d-bb78-09cca586e598$92d8b7e5-39d6-4d2c-b373-3849def435a5"
},
{
"driveAlias": "personal/admin",
"driveType": "personal",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$357cd384-072f-4f97-960d-dafdeb31508e",
"lastModifiedDateTime": "2025-04-29T14:15:42.016854001Z",
"name": "Admin",
"owner": {
"user": {
"displayName": "",
"id": "fb1dc655-4770-4283-8e11-8de1ea2f65f2"
}
},
"quota": {
"remaining": 9223372036854775807,
"state": "normal",
"total": 0,
"used": 0
},
"root": {
"eTag": "\"47f20d8976fbc7cef101840e7cc8f287\"",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$357cd384-072f-4f97-960d-dafdeb31508e",
"webDavUrl": "https://opencloud-server:9200/dav/spaces/9f1e0882-3363-406d-bb78-09cca586e598$357cd384-072f-4f97-960d-dafdeb31508e"
},
"webUrl": "https://opencloud-server:9200/f/9f1e0882-3363-406d-bb78-09cca586e598$357cd384-072f-4f97-960d-dafdeb31508e"
},
{
"driveAlias": "personal/bob",
"driveType": "personal",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$77af8ac6-7213-4ba1-8a67-2eff70a129c4",
"lastModifiedDateTime": "2025-04-29T14:28:40.457615001Z",
"name": "bob",
"owner": {
"user": {
"displayName": "",
"id": "ecf3c99f-3d7b-4a49-9e1a-a52e62592842"
}
},
"quota": {
"remaining": 9223372036854775807,
"state": "normal",
"total": 0,
"used": 0
},
"root": {
"eTag": "\"de6fc983dc866c39788a95eda9e5bad8\"",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$77af8ac6-7213-4ba1-8a67-2eff70a129c4",
"webDavUrl": "https://opencloud-server:9200/dav/spaces/9f1e0882-3363-406d-bb78-09cca586e598$77af8ac6-7213-4ba1-8a67-2eff70a129c4"
},
"webUrl": "https://opencloud-server:9200/f/9f1e0882-3363-406d-bb78-09cca586e598$77af8ac6-7213-4ba1-8a67-2eff70a129c4"
},
{
"driveAlias": "personal/bob",
"driveType": "personal",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$298550e7-5866-4038-a9f5-be5659769ff7",
"lastModifiedDateTime": "2025-04-29T14:28:40.457615001Z",
"name": "bob",
"owner": {
"user": {
"displayName": "",
"id": "ecf3c99f-3d7b-4a49-9e1a-a52e62592842"
}
},
"quota": {
"remaining": 9223372036854775807,
"state": "normal",
"total": 0,
"used": 0
},
"root": {
"eTag": "\"d6ab731a31dbde5df770941ef1312fab\"",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$298550e7-5866-4038-a9f5-be5659769ff7",
"webDavUrl": "https://opencloud-server:9200/dav/spaces/9f1e0882-3363-406d-bb78-09cca586e598$298550e7-5866-4038-a9f5-be5659769ff7"
},
"webUrl": "https://opencloud-server:9200/f/9f1e0882-3363-406d-bb78-09cca586e598$298550e7-5866-4038-a9f5-be5659769ff7"
},
{
"driveAlias": "personal/bob",
"driveType": "personal",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$894b407f-960b-4e10-aa93-9440c9cae00d",
"lastModifiedDateTime": "2025-04-29T14:28:40.457615001Z",
"name": "bob",
"owner": {
"user": {
"displayName": "",
"id": "ecf3c99f-3d7b-4a49-9e1a-a52e62592842"
}
},
"quota": {
"remaining": 9223372036854775807,
"state": "normal",
"total": 0,
"used": 0
},
"root": {
"eTag": "\"7bc74a393eede871e2ab63670e9056bb\"",
"id": "9f1e0882-3363-406d-bb78-09cca586e598$894b407f-960b-4e10-aa93-9440c9cae00d",
"webDavUrl": "https://opencloud-server:9200/dav/spaces/9f1e0882-3363-406d-bb78-09cca586e598$894b407f-960b-4e10-aa93-9440c9cae00d"
},
"webUrl": "https://opencloud-server:9200/f/9f1e0882-3363-406d-bb78-09cca586e598$894b407f-960b-4e10-aa93-9440c9cae00d"
}
]
}
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Details
OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalueAdditional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]Duplicate and empty personal space when opening a public link[/-][+]Empty personal space when opening a public link[/+][-]Empty personal space when opening a public link[/-][+]PosixFS. Empty personal space when opening a public link[/+]v-scharf commentedon Apr 30, 2025
This bug can also be reproduced with tika. see here: https://ci.opencloud.eu/repos/3/pipeline/1461/178
Steps:
GET https://opencloud-server:9200/graph/v1beta1/drives?%24orderby=name+asc&%24filter=driveType+eq+personalActual:
“driveAlias”: “personal/”,in the list. After deleting“personal/”and creating a new file -“personal/”is not created. This happens only on first startup or restart (in tests the wrapper restarts the server)aduffeck commentedon May 5, 2025
Duplicate of #636