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
Better error messages for file actions failures #37516
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Hin I understand :)
|
Hi, |
This comment was marked as resolved.
This comment was marked as resolved.
Since both tags and title were changed, this is not considered a bug? |
It's an enhancement. We do warn already if something goes wrong. |
Perhaps that was a misscommunication. More verbose explanations would be appreciated. |
In a single user instance, file locking can be disabled without any risk. server/config/config.sample.php Lines 2090 to 2113 in 598859d
|
Thank you for the tip. However the single user environment I mentioned is a testing environment. The bug can occur in any environment, which sadly includes production servers with many users. |
Bug description
File actions via the Webinterface such as delete or move, have a chance of failing.
A popup will appear saying 'Error deleting file "Test".' or 'Could not move "Test"'
The nextcloud log does not log anything when this happens.
The webserver log does provide a hint with:
"PUT /remote.php/webdav/sdufghiusdhgu/file5293.txt HTTP/2.0" 201 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.54"
"DELETE /remote.php/dav/files/administrator/sdufghiusdhgu/file5293.txt HTTP/2.0" 423 285 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.54"
The webserver code "423" makes me suspect that the filelocking is not releasing its locks properly.
I also believe that the more performance a system has the less likely the problem is to occur. However due to the random nature of the error I am not certain about that.
Steps to reproduce
Expected behavior
Installation method
Community Manual installation with Archive
Nextcloud Server version
26
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
I also encountered the issue on a nextcloud v25 kubernetes cluster, nextcloud v25 aio, aswell as the most simplistic lamp stack installation I could think of . Which makes me suspect the issue can be reproduced on any setup.
The text was updated successfully, but these errors were encountered: