The Basics
- Nextcloud Server version (e.g., 29.x.x):
30.5.0
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04
- Web server and version (e.g, Apache 2.4.25):
Caddy 2.9
- Reverse proxy and version _(e.g. nginx 1.27.2)
Caddy 2.9
- PHP version (e.g, 8.3):
8.2.27
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
when I attempted the action for the first time
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
nextcloud docker image (not AIO)
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
Can’t move a file that has been shared with me into an external storage folder.
Steps to replicate it (hint: details matter!):
- User 1 adds an external storage (I have tried sftp and webdav)
- User 2 shares a file with User 1
- User 1 attempts to move file into the external storage folder
- Error appears “Some files could not be moved”
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
{"reqId":"IZJNrpP1bOBWSDKqoz07","level":0,"time":"2025-01-22T20:19:55+00:00","remoteAddr":"172.22.0.8","user":"me","app":"dav","method":"PROPFIND","url":"/remote.php/dav/files/me/Storage/","message":"sending dav PROPFIND request to external storage: http://localhosthttps://us12345.your-storagebox.de/","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0","version":"30.0.5.1","data":{"app":"dav"}}
{"reqId":"QKhEprMyPqX89o3MXeon","level":0,"time":"2025-01-22T20:19:55+00:00","remoteAddr":"172.22.0.8","user":"me","app":"dav","method":"MOVE","url":"/remote.php/dav/files/me/file.xlsx","message":"sending dav PROPFIND request to external storage: http://localhosthttps://us12345.your-storagebox.de/","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0","version":"30.0.5.1","data":{"app":"dav"}}
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
2025/01/22 20:20:54.581 INFO http.log.access handled request {"request": {"remote_ip": "81.158.70.96", "remote_port": "20035", "client_ip": "81.158.70.96", "proto": "HTTP/2.0", "method": "PROPFIND", "host": "my.nextcloud", "uri": "/remote.php/dav/files/me/Storage/", "headers": {"Cache-Control": ["no-cache"], "User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"], "Requesttoken": ["5KNRz+JdpUG2/u/h1SKayvadQ7whiG5G5f5j2zqWNco=:lfccpdI+0TfPtYuknRvyhL7PceVU6loAn7lQkVTgTb0="], "Content-Type": ["text/plain;charset=UTF-8"], "Sec-Fetch-Mode": ["cors"], "Accept-Language": ["en-GB,en;q=0.5"], "Sec-Fetch-Site": ["same-origin"], "Sec-Fetch-Dest": ["empty"], "Te": ["trailers"], "Content-Length": ["843"], "Depth": ["1"], "Priority": ["u=4"], "X-Requested-With": ["XMLHttpRequest"], "Origin": ["https://my.nextcloud"], "Dnt": ["1"], "Accept": ["text/plain,application/xml"], "Accept-Encoding": ["gzip, deflate, br, zstd"], "Pragma": ["no-cache"], "Cookie": ["REDACTED"]}, "tls": {"resumed": true, "version": 772, "cipher_suite": 4865, "proto": "h2", "server_name": "my.nextcloud"}}, "bytes_read": 843, "user_id": "", "duration": 0.494805402, "size": 1420, "status": 207, "resp_headers": {"X-Frame-Options": ["SAMEORIGIN"], "Content-Security-Policy": ["default-src 'none';"], "Vary": ["Brief,Prefer"], "Content-Encoding": ["gzip"], "Referrer-Policy": ["no-referrer"], "X-Permitted-Cross-Domain-Policies": ["none"], "X-Xss-Protection": ["1; mode=block"], "Date": ["Wed, 22 Jan 2025 20:20:54 GMT"], "Content-Type": ["application/xml; charset=utf-8"], "Server": ["Caddy", "Apache/2.4.62 (Debian)"], "Strict-Transport-Security": ["max-age=15552000;"], "X-Content-Type-Options": ["nosniff"], "X-Debug-Token": ["SdiysnLwid8ODl5fY5oA"], "X-Powered-By": ["PHP/8.2.27"], "Content-Length": ["1420"], "X-Robots-Tag": ["noindex, nofollow"], "Alt-Svc": ["h3=\":443\"; ma=2592000"], "X-Request-Id": ["SdiysnLwid8ODl5fY5oA"], "Dav": ["1, 3, extended-mkcol, access-control, calendarserver-principal-property-search, nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar"]}}
2025/01/22 20:20:55.060 INFO http.log.access handled request {"request": {"remote_ip": "81.158.70.96", "remote_port": "20035", "client_ip": "81.158.70.96", "proto": "HTTP/2.0", "method": "MOVE", "host": "my.nextcloud", "uri": "/remote.php/dav/files/me/file.xlsx", "headers": {"Sec-Fetch-Mode": ["cors"], "Accept-Language": ["en-GB,en;q=0.5"], "Cookie": ["REDACTED"], "Accept-Encoding": ["gzip, deflate, br, zstd"], "Dnt": ["1"], "User-Agent": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"], "Requesttoken": ["5KNRz+JdpUG2/u/h1SKayvadQ7whiG5G5f5j2zqWNco=:lfccpdI+0TfPtYuknRvyhL7PceVU6loAn7lQkVTgTb0="], "Overwrite": ["T"], "Te": ["trailers"], "Origin": ["https://my.nextcloud"], "Destination": ["https://my.nextcloud/remote.php/dav/files/me/Storage/file.xlsx"], "Accept": ["*/*"], "Sec-Fetch-Site": ["same-origin"], "Priority": ["u=4"], "Cache-Control": ["no-cache"], "Sec-Fetch-Dest": ["empty"], "Pragma": ["no-cache"], "X-Requested-With": ["XMLHttpRequest"]}, "tls": {"resumed": true, "version": 772, "cipher_suite": 4865, "proto": "h2", "server_name": "my.nextcloud"}}, "bytes_read": 0, "user_id": "", "duration": 0.356982475, "size": 527, "status": 403, "resp_headers": {"X-Frame-Options": ["SAMEORIGIN"], "Server": ["Caddy", "Apache/2.4.62 (Debian)"], "Alt-Svc": ["h3=\":443\"; ma=2592000"], "Date": ["Wed, 22 Jan 2025 20:20:54 GMT"], "Content-Security-Policy": ["default-src 'none';base-uri 'none';manifest-src 'self';script-src 'self';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self' data:;connect-src 'self';media-src 'self';frame-ancestors 'self';form-action 'self'"], "Referrer-Policy": ["no-referrer"], "X-Permitted-Cross-Domain-Policies": ["none"], "X-Powered-By": ["PHP/8.2.27"], "Content-Length": ["527"], "X-Xss-Protection": ["1; mode=block"], "X-Content-Type-Options": ["nosniff"], "Strict-Transport-Security": ["max-age=15552000;"], "Content-Type": ["application/xml; charset=utf-8"], "X-Robots-Tag": ["noindex, nofollow"]}}
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
{
"system": {
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"my.nextcloud"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"version": "30.0.5.1",
"overwrite.cli.url": "https:\/\/my.nextcloud",
"installed": true,
"overwritehost": "my.nextcloud",
"overwriteprotocol": "https",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "GB",
"defaultapp": "",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"theme": "",
"loglevel": 0,
"maintenance": false,
"filesystem_check_changes": 1,
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 7",
"htaccess.RewriteBase": "\/",
"htaccess.IgnoreFrontController": true,
"dbtype": "pgsql",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"app_install_overwrite": [
"onlyoffice",
"news",
"unroundedcorners",
"breezedark",
"memories",
"side_menu",
"files_scripts"
],
"bulkupload.enabled": false,
"simpleSignUpLink.shown": false,
"enforce_theme": "",
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
"preview_max_x": 400,
"preview_max_y": 400,
"preview_max_scale_factor": 1.5,
"enable_previews": true,
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.vod.connect": "nextcloud-go-vod:47788",
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\HEIC",
"OC\\Preview\\TIFF",
"OC\\Preview\\Movie"
],
"memories.vod.disable": false,
"memories.vod.external": true,
"memories.viewer.high_res_cond_default": "always",
"memories.gis_type": 2,
"memories.db.triggers.fcu": true,
"maintenance_window_start": 1
}
}
Apps
The output of occ app:list
(if possible).
Enabled:
- activity: 3.0.0
- app_api: 4.0.5
- breezedark: 29.0.0
- calendar: 5.0.9
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contacts: 6.1.3
- cospend: 3.0.8
- dav: 1.31.1
- external: 5.5.2
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_external: 1.22.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- gpxpod: 7.0.4
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- photos: 3.0.2
- privacy: 2.0.0
- provisioning_api: 1.20.0
- related_resources: 1.5.0
- richdocuments: 8.5.3
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- side_menu: 4.0.1
- systemtags: 1.20.0
- text: 4.1.0
- theming: 2.5.0
- theming_customcss: 1.18.0
- twofactor_backupcodes: 1.19.0
- twofactor_totp: 12.0.0-dev
- updatenotification: 1.20.0
- viewer: 3.0.0
- webapppassword: 24.9.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled:
- admin_audit: 1.20.0
- bruteforcesettings: 3.0.0 (installed 2.4.0)
- circles: 30.0.0 (installed 24.0.1)
- contactsinteraction: 1.11.0 (installed 1.5.0)
- dashboard: 7.10.0 (installed 7.4.0)
- encryption: 2.18.0
- files_scripts: 4.1.0 (installed 4.1.0)
- firstrunwizard: 3.0.0 (installed 2.13.0)
- nextcloud_announcements: 2.0.0 (installed 1.13.0)
- recommendations: 3.0.0 (installed 1.3.0)
- support: 2.0.0 (installed 1.7.0)
- survey_client: 2.0.0 (installed 1.12.0)
- suspicious_login: 8.0.0
- twofactor_nextcloud_notification: 4.0.0
- user_ldap: 1.21.0
- user_status: 1.10.0 (installed 1.4.0)
- weather_status: 1.10.0 (installed 1.4.0)