Skip to content
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]: delete action failed - cannot delete or move a file #44631

Closed
4 of 8 tasks
maximelehericy opened this issue Apr 3, 2024 · 8 comments · May be fixed by #44901
Closed
4 of 8 tasks

[Bug]: delete action failed - cannot delete or move a file #44631

maximelehericy opened this issue Apr 3, 2024 · 8 comments · May be fixed by #44901
Assignees
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug

Comments

@maximelehericy
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

I cannot delete a file I recently created on c.nc.c

Steps to reproduce

  1. go to your documents
  2. create a file
  3. click on delete file
  4. file stays, and error popup shows delete action failed

Expected behavior

File should get deleted

Installation method

None

Nextcloud Server version

29

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

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

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

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

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@maximelehericy maximelehericy added bug 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Apr 3, 2024
@maximelehericy
Copy link
Author

cannot move either (could not move )...

@sorbaugh sorbaugh changed the title [Bug]: delete action failed - cannot delete a file [Bug]: delete action failed - cannot delete or move a file Apr 3, 2024
@sorbaugh
Copy link
Contributor

sorbaugh commented Apr 3, 2024

cannot move either (could not move )...

Thanks for reporting, adjusted title!

@maximelehericy
Copy link
Author

maximelehericy commented Apr 3, 2024

hmmm, I am noticing that after a refresh, the action is taken into account.
A similar behavior can be observed there: #44637

EDIT: another different behavior: when clicking delete the file, nothing happens. Nothing. Upon refresh, an error pop up shortly before page reloads
image

Once page reloaded, files are still present.

@maximelehericy
Copy link
Author

maximelehericy commented Apr 3, 2024

another bug I have when trying to delete several files at once:
image

An endless task. In that case, at the end and after a refresh, Files are not deleted.
Upon refresh, an error message shortly shows up before page reloads.

@Pytal
Copy link
Member

Pytal commented Apr 3, 2024

Does not reproduce locally but does on c.nc 🤔

MOVE returns a 423 Locked and DELETE never returns, but have no knowledge on file locking

Maybe you'd have a better idea here @juliushaertl ?

Edit: After waiting for a few minutes it seems the files are eventually deleted so something seems to be slowing down the process on the server

@alperozturk96
Copy link

I have same problem in Android app. I think it's a backend bug.

How to Reproduce

  1. Try to delete a media file in Preview
  2. UNHANDLED_HTTP_CODE | 423 will be trowed by backend
  3. Try the same operation again a couple of times, then the file will be deleted.

@artonge
Copy link
Contributor

artonge commented Apr 30, 2024

I remember @come-nc having a similar issue in Cypress, the issue was that the file was locked during the preview generation, so deleting it failed if the request was made right after its creation. Maybe waiting for the preview request to be done would help.

@Pytal
Copy link
Member

Pytal commented May 15, 2024

Seems fixed on c.nc, closing

@Pytal Pytal closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 29-feedback bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants