Skip to content

[Bug]: Move or copy operation failed on Nextcloud server 29.0.6 #47713

@gillesF78

Description

@gillesF78

⚠️ This issue respects the following points: ⚠️

Bug description

Moving a folder shared with me fails as the screen capture below shows:

This shared folder can be renamed by me successfully.

Here follows some reports and screen capture:
NC_MoveOrCopyActionFailed

Steps to reproduce

  1. Ask a user to share a folder with you
  2. Try to move the shared folder to a subfolder you own
  3. Error message "Move or copy operation failed" is shown

Expected behavior

The shared folder should be moved to your selected subfolder.

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 28 to 29)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

<--! Paste this in GitHub report -->

<details>
<summary>NextcloudPi diagnostics</summary>



NextcloudPi version  v1.54.3
NextcloudPi image    NextCloudPi_11-27-20
OS                   Debian GNU/Linux 12. 6.1.21-v8+ (aarch64)
automount            no
USB devices          sda sdb sdc
datadir              /media/hd3/data
data in SD           no
data filesystem      ext2/ext3
data disk usage      832G/1,8T
rootfs usage         14G/219G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    29.0.5.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          up
Postfix service      down
Internet check       ok
Public IPv4          ***REMOVED SENSITIVE VALUE***
Public IPv6          ***REMOVED SENSITIVE VALUE***
Port 80              open
Port 443             open
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              ***REMOVED SENSITIVE VALUE***
Interface            eth0
Certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               17:29
Nextcloud configuration

{
    "system": {
        "config_is_read_only": true,
        "default_phone_region": "FR",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
             ***REMOVED SENSITIVE VALUE***
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.6.1",
        "overwrite.cli.url": " ***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "tempdirectory": "\/media\/hd3\/data\/tmp",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "preview_max_memory": "4096",
        "preview_max_filesize_image": "256",
        "jpeg_quality": "60",
        "forcessl": true,
        "overwriteprotocol": "https",
        "auth.bruteforce.protection.enabled": false,
        "csrf.optout": [
            "\/^WebDAVFS\/",
            "\/^Microsoft-WebDAV-MiniRedir\/"
        ],
        "maintenance": false,
        "theme": "",
        "mail_sendmailmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "debug": false,
        "logfile": "\/media\/hd3\/data\/nextcloud.log",
        "loglevel": 2,
        "data-fingerprint": "396f49904c922a82d5e2d5b5596dae8f",
        "maintenance_window_start": 1,
        "app_install_overwrite": [
            "nextcloudpi",
            "previewgenerator"
        ]
    }
}

HTTPd logs

[Tue Sep 03 04:33:10.030291 2024] [authz_core:error] [pid 58001:tid 58001] [client 46.101.143.135:28479] AH01630: client denied by server configuration: /var/www/ncp-web/
[Tue Sep 03 04:33:10.448429 2024] [authz_host:error] [pid 57995:tid 57995] [client 164.92.161.142:26170] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Tue Sep 03 04:33:10.448602 2024] [authz_core:error] [pid 57995:tid 57995] [client 164.92.161.142:26170] AH01630: client denied by server configuration: /var/www/ncp-web/
[Tue Sep 03 04:33:10.452019 2024] [authz_host:error] [pid 61452:tid 61452] [client 164.90.212.153:48774] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Tue Sep 03 04:33:10.452114 2024] [authz_core:error] [pid 61452:tid 61452] [client 164.90.212.153:48774] AH01630: client denied by server configuration: /var/www/ncp-web/
[Tue Sep 03 04:33:11.152620 2024] [authz_core:error] [pid 58248:tid 58248] [client 52.76.71.100:29784] AH01630: client denied by server configuration: /var/www/ncp-web/favicon.ico
[Tue Sep 03 08:31:04.977220 2024] [authz_core:error] [pid 76684:tid 76684] [client 64.62.197.6:12635] AH01630: client denied by server configuration: /var/www/ncp-web/
[Tue Sep 03 08:31:27.294070 2024] [authz_core:error] [pid 74658:tid 74658] [client 64.62.197.16:20111] AH01630: client denied by server configuration: /var/www/ncp-web/
[Tue Sep 03 09:29:46.961409 2024] [authz_host:error] [pid 80109:tid 80109] [client 205.210.31.72:60814] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Tue Sep 03 09:29:46.961561 2024] [authz_core:error] [pid 80109:tid 80109] [client 205.210.31.72:60814] AH01630: client denied by server configuration: /var/www/ncp-web/
[Tue Sep 03 09:50:11.742197 2024] [authz_host:error] [pid 80191:tid 80191] [client 205.210.31.27:64428] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Tue Sep 03 09:50:11.742408 2024] [authz_core:error] [pid 80191:tid 80191] [client 205.210.31.27:64428] AH01630: client denied by server configuration: /var/www/ncp-web/
[Tue Sep 03 13:03:37.284152 2024] [core:error] [pid 80191:tid 80191] [client 8.222.175.173:40094] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh)
[Tue Sep 03 13:14:18.392953 2024] [authz_host:error] [pid 80127:tid 80127] [client 206.168.34.40:54918] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Tue Sep 03 13:14:18.393163 2024] [authz_core:error] [pid 80127:tid 80127] [client 206.168.34.40:54918] AH01630: client denied by server configuration: /var/www/ncp-web/
[Tue Sep 03 13:14:27.167374 2024] [authz_host:error] [pid 84914:tid 84914] [client 206.168.34.40:59590] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Tue Sep 03 13:14:27.167461 2024] [authz_core:error] [pid 84914:tid 84914] [client 206.168.34.40:59590] AH01630: client denied by server configuration: /var/www/ncp-web/
[Tue Sep 03 15:29:55.637131 2024] [core:error] [pid 88149:tid 88149] [client 147.45.76.168:40996] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh)
[Tue Sep 03 15:29:56.105831 2024] [core:error] [pid 88157:tid 88157] [client 147.45.76.168:41012] AH10244: invalid URI path (/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/bin/sh)
[Tue Sep 03 15:30:46.113198 2024] [core:error] [pid 91676:tid 91676] [client 47.250.82.130:51386] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh)

```

List of activated Apps

Enabled:
  - activity: 2.21.1
  - audioplayer: 3.4.1
  - bruteforcesettings: 2.9.0
  - calendar: 4.7.16
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - federatedfilesharing: 1.19.0
  - files: 2.1.1
  - files_downloadlimit: 2.0.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - maps: 1.4.0
  - metadata: 0.20.0
  - notes: 4.10.1
  - notifications: 2.17.0
  - notify_push: 0.7.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - previewgenerator: 5.6.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - support: 1.12.0
  - systemtags: 1.19.0
  - tasks: 0.16.1
  - text: 3.10.1
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - viewer: 2.3.0
  - workflowengine: 2.11.0
Disabled:
  - admin_audit: 1.19.0
  - encryption: 2.17.0
  - federation: 1.19.0 (installed 1.10.1)
  - files_external: 1.21.0 (installed 1.17.0)
  - firstrunwizard: 2.18.0 (installed 2.9.0)
  - nextcloud_announcements: 1.18.0 (installed 1.9.0)
  - nextcloudpi: 0.0.2 (installed 0.0.2)
  - photos: 2.5.0 (installed 1.2.1)
  - survey_client: 1.17.0 (installed 1.17.0)
  - suspicious_login: 7.0.0
  - twofactor_totp: 11.0.0-dev
  - updatenotification: 1.19.1 (installed 1.11.0)
  - user_ldap: 1.20.0
  - user_status: 1.9.0 (installed 1.9.0)
  - weather_status: 1.9.0 (installed 1.4.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

There is no line at the "Warning" or "Error" levels.

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions