Cant copy files/folders

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via 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:


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


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): 24.0.2
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 11
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.52
PHP version (eg, 7.4): PHP 7.4.25

The issue you are facing:
If i try to copy a file or folder it only prints an error message that the file/folder already exists

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

  1. Select a file or folder
  2. Click on the three dots
  3. Select copy

The output of your Nextcloud log in Admin > Logging:

{"reqId":"hefWwPpr3j0WCfCuFuwi","level":2,"time":"2022-07-18T11:05:49+00:00","remoteAddr":"","user":"admin","app":"no app in context","method":"GET","url":"/index.php/core/preview?fileId=14340&x=250&y=250","message":"Host was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0","version":"","id":"62d53edbbf4a3"}

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


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



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.