• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Nexcloud, webdav, upload error for a specific file

Bruno21

New Pleskian
Hello,
I've a crazy problem with NextCloud (installed using Plesk's extension) and WebDAV.
I can't upload a simple 2 ko file specifically named 'readme.txt'
Got this error:

2020-09-20 11:13:49Error86.235.xx.yy403PUT /nextcloud/remote.php/webdav/readme.txt HTTP/2.0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:80.0) Gecko/20100101 Firefox/80.0
146Accès SSL/TLS Nginx

Rename the file to 'readme 2.txt' and I can upload it successful.

2020-09-20 11:10:30Access86.235.xx.yy200GET /nextcloud/remote.php/dav/files/bruno/readme 2.txt HTTP/1.0
Mozilla/5.0 (Macintosh) mirall/3.0.1git (build 3355) (Nextcloud)
1.86 KAccès SSL/TLS Apache
2020-09-20 11:10:31Access86.235.xx.yy207PROPFIND /nextcloud/remote.php/dav/files/bruno/ HTTP/1.0
Mozilla/5.0 (Macintosh) mirall/3.0.1git (build 3355) (Nextcloud)
1.20 KAccès SSL/TLS Apache

No problem for all other files.

I accept all suggestions before I go crazy ;-)

VersionPlesk Obsidian v18.0.30_build1800200914.12 os_Ubuntu 18.04
OSUbuntu 18.04.5 LTS
Nextcloud19.0.3
 
I found

NGINX:
        location ~* "(?:wp-config\.bak|\.wp-config\.php\.swp|(?:readme|license|changelog|-config|-sample)\.(?:php|md|txt|htm|html))" {
                return 403;
        }

in /var/www/vhosts/system/domain.fr/conf/nginx.conf

How to exclude *readme* from this rule ?
 
I think that you need to change the Nginx settings for static file proxying. Instead of choosing the automatic proxying of static files, choose the manual proxying and omit the .txt ending in the list for files that Nginx shall handle and not pass on to Apache. This can be done in the Apache & Nginx webserver settings (icon) on the websites & domains page.
 
Back
Top