Skip to content

Impossible to delete custom icon for external website due to nginx rejecting DELETE requests #580

@milouse

Description

@milouse

Describe the bug

When trying to delete a custom icon from the "external website" app (in https://nextcloud_install/settings/admin/external), nothing happen. The icon is note deleted and no error message is displayed. Looking at the developers tools of the browser show that clicking on the trash icon leads to a DELETE XHR requests, which fail as nginx does not seem to accept such requests.

Context

  • Hardware: VPS bought online
  • YunoHost version: 11.1.20
  • I have access to my server: Through SSH
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no. Nextcloud is installed as a subdirectory of the main domain, not on its own domain.
  • Using, or trying to install package version/branch: N/A
  • If upgrading, current package version: N/A

Steps to reproduce

  • Activate the external websites application
  • Upload a new custom icon for it in the external websites app settings
  • Click on the trash icon next to the new icon.
  • … nothing happen

Expected behavior

The icon is removed

Logs

Capture du 2023-06-09 13-46-42

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions