nextcloud_ynh icon indicating copy to clipboard operation
nextcloud_ynh copied to clipboard

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

Open milouse opened this issue 1 year ago • 1 comments

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

milouse avatar Jun 09 '23 11:06 milouse