Skip to content

Cannot upload a profile picture #41723

Description

@phil-davis

Steps to reproduce

  1. create a user and login
  2. go to Settings, General
  3. try to upload a profile picture using the "Upload new" icon (I tried using a JPG file that was 67.5Kb)

Expected behaviour

The picture should upload, and be displayed as the icon of the user's profile.

Actual behaviour

The POST request to upload the picutre gets 400 bad request status returned:

[Fri Jul 24 20:19:21 2026] 127.0.0.1:44906 Accepted
[Fri Jul 24 20:19:21 2026] 127.0.0.1:44906 [400]: POST /index.php/avatar/cropped
[Fri Jul 24 20:19:21 2026] 127.0.0.1:44906 Closing

I don't get anything logged in owncloud.log

Server configuration

Local development environment with git clone of owncloud/core and rfunning a PHP dev server.

Similar happens using the 11.0.0-rc2 docker image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions