Open ChristophWurst opened 1 year ago
cc @Antreesy @nickvergessen
Can't reproduce it ATM. Have you set some statuses in advance? Point to the code: https://github.com/nextcloud/server/blob/b8c3f6bd2d91a1056931a5098d024dd2772d70e2/apps/user_status/src/UserStatus.vue#L201-L212
Documentation is empty about it, but maybe I'm looking in wrong place: https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-status-api.html?highlight=user_status
I don't use statuses on my dev env.
I noticed that there is a GET https://localhost/ocs/v2.php/apps/user_status/api/v1/statuses/_admin
with a response status 500 when I open the status modal. My user's UID is admin
, not _admin
. This might be related.
I noticed that there is a
GET https://localhost/ocs/v2.php/apps/user_status/api/v1/statuses/_admin
with a response status 500 when I open the status modal.
Underscore is added to fetch the backup status: https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-status-api.html?highlight=user_status#fetch-a-user-s-backup-status . On my local, it's 404:
"ocs": { "meta": {
"status": "failure",
"statuscode": 404,
"message": "No status for the requested userId"
}, "data": [],
}
This still happens for, now on production.
Same here, but line 161. NC 28.0.2
⚠️ This issue respects the following points: ⚠️
Bug description
I saw this in my browser console. I don't know if/how it's a bug but it smells like one.
PUT https://localhost/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json
returns 204.Steps to reproduce
Expected behavior
No status heartbeat failure
Installation method
None
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
No response