-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: Error when deleting folder: rename()
: The first argument to copy()
function cannot be a directory
#38569
Comments
Unable to reproduce. Can you provide the entire stack trace please? You should be able to get to it by going to the far right of the log entry, clicking the clipboard icon that appears, and selecting Copy raw. The only thing unusual in your base config I see is |
@joshtrichards Here is the raw log:
The reason I set |
rename()
: The first argument to copy()
function cannot be a directory
Duplicate of #37741 (at least the NC26 follow-up comment one from the OP) My bad - it just dawned on my that you're using External Storage and that Discovered a couple of interesting things, but still poking around. Let's take follow-up over there. |
Correction: Duplicate of #14743 |
My docker compose like this: version: '2'
services:
nextcloud:
container_name: nextcloud
image: nextcloud
restart: always
user: 1000:1000
ports:
- {port}:80
volumes:
- /home/{username}/nextcloud:/var/www/html
- /disk_mount_dir/nextcloud_data:/var/www/html/data
- /disk_mount_dir/download:/var/www/html/data/{username}/files/download |
Feel free to try #38623 |
Does this release? I have this issue still on |
28 |
Have this issue with 27.0.2. No external storage, ext4 |
Bug description
When deleting a folder (whatever it is empty or not), it will report a error.
After reloading page, the folder is gone and I couldn't find it on trash bin or anywhere. The
Logging
has some errors:Steps to reproduce
Expected behavior
The folder should be in the trash bin after deleting.
Installation method
Community Docker image
Nextcloud Server version
26
Operating system
Debian/Ubuntu
PHP engine version
8.2.6
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: