Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClamAV Webdav Nextcloud 15.02 not working #13724

Closed
horstvogel opened this issue Jan 21, 2019 · 8 comments
Closed

ClamAV Webdav Nextcloud 15.02 not working #13724

horstvogel opened this issue Jan 21, 2019 · 8 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@horstvogel
Copy link

horstvogel commented Jan 21, 2019

Steps to reproduce

On Nextcloud 15 Webdav with active ClamAV you can not create a new documents and you can not store documents you changed.

But you can delete documents and you can add new folders. On Browser or Android Client or Windows Client every thing is working.

Server configuration

Ubunt 18.04:

NGINX 1.15.:

MariaDB 10.3

PHP 7.3:

Nextcloud version: 15.02

** fresh install:**

script https://www.c-rieger.de/nextcloud-using-one-shell-script/

webdav] Fatal: Sabre\DAV\Exception: Error while copying file to target location (copied bytes: 0, expected filesize: 0 ) at <>

  1. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 156
    put(null)
  2. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1096
    createFile(“Neues Textdokument.txt”, null)
  3. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 525
    createFile(“Neuer Ordner/Neues Textdokument.txt”, null, null)
  4. <>
    httpPut(Sabre\HTTP\Reque … “}, Sabre\HTTP\Response {})
  5. /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
    call_user_func_array([Sabre\DAV\CorePlugin {},”httpPut”], [Sabre\HTTP\Requ … }])
  6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 479
    emit(“method:PUT”, [Sabre\HTTP\Requ … }])
  7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
    invokeMethod(Sabre\HTTP\Reque … “}, Sabre\HTTP\Response {})
  8. /var/www/nextcloud/apps/dav/appinfo/v1/webdav.php line 80
    exec()
  9. /var/www/nextcloud/remote.php line 163
    require_once(“/var/www/nextcl … p”)

PUT /remote.php/webdav/Neuer%20Ordner/Neues%20Textdokument.txt

Reply

@horstvogel horstvogel added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jan 21, 2019
@nameless62
Copy link

Nextcloud version : 15.0.2
Operating system and version Debian 9.6
Apache or nginx version : Apache 2.4.25
PHP version : 7.3.1-1

Hello,

I've a same problem with nextcloud upgrade 14.0.6 to 15.0.2

@horstvogel horstvogel changed the title ClamAV Webdav Nextcloud 15 ClamAV Webdav Nextcloud 15.02 not working Jan 23, 2019
@tstreibl
Copy link

Hi,
guess I have the same problem. See #13639.

@kesselb
Copy link
Contributor

kesselb commented Feb 7, 2019

Does this patch solve you problem? #13829

@nameless62
Copy link

Hello,

Yes it's solve the problem.

Thank you

@horstvogel
Copy link
Author

Yes hat geklappt!

@Henk57
Copy link

Henk57 commented Mar 23, 2019

Same problem. activating ClamAV blocks webdav transfers.
The 'fix' with if (false && $partStorage->instanceOfStorage(Storage\IWriteStreamStorage::class)) {
in File.php did not work for me.

@stale
Copy link

stale bot commented Jun 7, 2019

This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Ticket or PR with no recent activity label Jun 7, 2019
@skjnldsv skjnldsv removed stale Ticket or PR with no recent activity labels Jun 12, 2019
@skjnldsv
Copy link
Member

Fixed now that antivirus app is released (for quite a while now)

As the version of the software you've reported this for has reached end of life, I will close this ticket. If this is still happening after an upgrade to the latest version, feel free to reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

6 participants