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]: Nextcloud deletes .~lock files from Libroffice #6957

Open
5 of 8 tasks
derspotter opened this issue Jul 30, 2024 · 3 comments
Open
5 of 8 tasks

[Bug]: Nextcloud deletes .~lock files from Libroffice #6957

derspotter opened this issue Jul 30, 2024 · 3 comments

Comments

@derspotter
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

Nextcloud simply deletes with no warning any .~lock.*.odt files that Libroffice creates in order to prevent data loss when your computer turns off without saving the file. This has caused me great pain. I specifically installed nextcloud in order to not experience file loss and now it is nextcloud causing it!

Steps to reproduce

  1. Write inside a libroffice .odt file
  2. turn off your computer without saving the file (battery empty, fast shutdown)
  3. when nextcloud syncs, it deletes the .~lock recovery file, so no recovery possible

Expected behavior

Nextcloud should at least not delete the file even if it does not sync it, better even it syncs the file.

Installation method

Official All-in-One appliance

Nextcloud Server version

master

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

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

@solracsf
Copy link
Member

Those files are in the exclude list.

.~lock.*

You can override that list in your client configuration.
Check https://help.nextcloud.com if you need further assistance 👍

@solracsf solracsf removed the bug label Jul 30, 2024
@solracsf solracsf transferred this issue from nextcloud/server Jul 30, 2024
@derspotter
Copy link
Author

I know, but they should not be. Why would one want to automatically delete a backup? This makes no sense at all. They should be removed by standard.

@joshtrichards joshtrichards changed the title [Bug]: Nextcloud deletes .~lock files from Libroffice [Bug]: Nextcloud deletes .~lock files from Libroffice Aug 30, 2024
@joshtrichards
Copy link
Member

joshtrichards commented Aug 30, 2024

I believe this is what the Allow deletion toggle option (in the Ignored Files* list) is intended for, but it is already off for .~lock files. :thinking

What client version, @derspotter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants