Error message in logs

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 26.0.1
Operating system and version (eg, Ubuntu 20.04): debian 11
Apache or nginx version (eg, Apache 2.4.25): nginx
PHP version (eg, 7.4): php8.1

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):N

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

I am seeing the following errors in the logs but can`t work out the cause:

[webdav] Error: OCA\DAV\Connector\Sabre\Exception\Forbidden: Cannot copy or move files from non-encrypted folders to end to end encrypted folders or vice versa. at <>

  1. /usr/share/nginx/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\EndToEndEncryption\Connector\Sabre\LockPlugin->checkLock()
  2. /usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 456
    Sabre\DAV\Server->emit()
  3. /usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
  4. /usr/share/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
  5. /usr/share/nginx/nextcloud/apps/dav/lib/Server.php line 366
    Sabre\DAV\Server->exec()
  6. /usr/share/nginx/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  7. /usr/share/nginx/nextcloud/remote.php line 172
    require_once(“/usr/share/ngin … p”)

MOVE /remote.php/dav/files/8A457C7B-3FC9-49A8-9814-5E0ACDFBB2FD/XX/Monthly%20Jobs/Time%20sheets/raj%20Timesheet%20May%202023.xls
from 192.168.39.251 by 8A457C7B-3FC9-49A8-9814-5E0ACDFBB2FD at 2023-06-05T19:26:38+00:00

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

Are you using end-to-end encryption? If so, it’s likely exactly what the error message says:

Cannot copy or move files from non-encrypted folders to end to end encrypted folders or vice versa.

Hi I understand that but how do I fix it please? I think this is due to the fact that it is currently syncronizing the pictures on an iphone

The cause of the error is one of your Files or WebDAV clients is trying to move the file raj Timesheet May 02023.xls.

You only have two choices:

  • Don’t move the file (since it violates your security configuration while using end-to-end encryption)
  • Disable end-to-end encryption