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]: Temporary files break desktop app file synchronization #7776

Open
5 of 8 tasks
rbaldasso opened this issue Jan 20, 2025 · 4 comments
Open
5 of 8 tasks

[Bug]: Temporary files break desktop app file synchronization #7776

rbaldasso opened this issue Jan 20, 2025 · 4 comments
Labels

Comments

@rbaldasso
Copy link

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Temporary files (starting with special character) breaks file sinchronization on Windows client app when VFS is enabled

This issue appears to be related to #4410
and #4246

Steps to reproduce

Steps to reproduce the behavior:

  1. Enable VFS and have Nextcloud syncing your local directories
  2. Trigger the creation of temporary files on one of those folders. For example open an Excel file and start editing it
  3. Edit the file but don't save it, to trigger the temporary file creation
  4. The Nextcloud app will stop synchronizing files and from now only displays "Checking for folder changes"

Expected behavior

A temporary file should not break file synchronization.

Which files are affected by this bug

$CONTROLE DE FATURAMENTO BM07.xlsx

Operating system

Windows

Which version of the operating system you are running.

Windows 11

Package

Official Windows MSI

Nextcloud Server version

29.0.8

Nextcloud Desktop Client version

3.15.3

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

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

2025-01-16 11:32:05:583 [ warning nextcloud.sync.vfs.cfapi.wrapper C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\libsync\vfs\cfapi\cfapiwrapper.cpp:841 ]: Couldn't set pin state (4) for "C:\Users\Thiarles Porta\Nextcloud\Administrativo\Contratos\656.2023 - (XXXXX)\BOLETINS DE MEDIÇÃO\BM07 JUL-24\$CONTROLE DE FATURAMENTO BM07.xlsx" with recurse mode 1 : "Identificador inválido."
2025-01-16 11:32:05:583 [ warning nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\gui\folder.cpp:604 ]: Could not set pin state of "Administrativo/Contratos/656.2023 - (XXXXX)/BOLETINS DE MEDIÇÃO/BM07 JUL-24/
$CONTROLE DE FATURAMENTO BM07.xlsx" to excluded
[.....]
after this then we start seeing:
2025-01-16 11:37:12:506 [ warning nextcloud.gui.shellextensions.server C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\gui\shellextensionsserver.cpp:108 ]: Record not found in SyncJournal for: "Administrativo/Contratos/656.2023 - (XXXXX)/BOLETINS DE MEDIÇÃO/BM06 JUN-24/206_23_FARROUPILHA_SES_.pdf"
2025-01-16 11:37:12:506 [ warning nextcloud.gui.shellextensions.server C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\gui\shellextensionsserver.cpp:108 ]: Record not found in SyncJournal for: "Administrativo/Contratos/656.2023 - (XXXXX)/BOLETINS DE MEDIÇÃO/BM06 JUN-24/208_23_RIO_GRANDE_SES_.pdf"
2025-01-16 11:37:12:509 [ warning nextcloud.gui.shellextensions.server C:\Users\User\AppData\Local\Temp\windows-27802\client-building\desktop\src\gui\shellextensionsserver.cpp:108 ]: Record not found in SyncJournal for: "Administrativo/Contratos/656.2023 - (XXXXX)/BOLETINS DE MEDIÇÃO/BM06 JUN-24/206_23_FARROUPILHA_SES_.pdf"

20250116_1046_nextcloud.log.5.zip

@rbaldasso rbaldasso changed the title [Bug]: [Bug]: Temporary files break desktop app file synchronization Jan 20, 2025
@mgallien
Copy link
Collaborator

can you share the list of apps installed on your server ?

@rbaldasso
Copy link
Author

rbaldasso commented Jan 21, 2025 via email

@mgallien
Copy link
Collaborator

sorry if I was not clear enough
@rbaldasso
I would need the output of: occ app:list

@rbaldasso
Copy link
Author

rbaldasso commented Jan 22, 2025

sorry if I was not clear enough @rbaldasso I would need the output of: occ app:list

Hi @mgallien , sorry about that. Here's the output:

root@dedicado-tsa:~# sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ  app:list
Enabled:
  - activity: 3.0.0
  - admin_audit: 1.20.0
  - app_api: 4.0.3
  - bruteforcesettings: 3.0.0
  - calendar: 5.0.9
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 6.1.3
  - contactsinteraction: 1.11.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - deck: 1.14.3
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_downloadlimit: 3.0.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
  - firstrunwizard: 3.0.0
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - nextcloud-aio: 0.7.0
  - nextcloud_announcements: 2.0.0
  - notes: 4.11.0
  - notifications: 3.0.0
  - notify_push: 1.0.0
  - oauth2: 1.18.1
  - password_policy: 2.0.0
  - photos: 3.0.2
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - recommendations: 3.0.0
  - related_resources: 1.5.0
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - support: 2.0.0
  - survey_client: 2.0.0
  - systemtags: 1.20.0
  - tasks: 0.16.1
  - text: 4.1.0
  - theming: 2.5.0
  - twofactor_backupcodes: 1.19.0
  - twofactor_totp: 12.0.0-dev
  - user_status: 1.10.0
  - viewer: 3.0.0
  - weather_status: 1.10.0
  - webhook_listeners: 1.1.0-dev
  - workflowengine: 2.12.0
Disabled:
  - encryption: 2.18.0
  - files_external: 1.22.0
  - suspicious_login: 8.0.0
  - twofactor_nextcloud_notification: 4.0.0
  - user_ldap: 1.21.0

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

No branches or pull requests

2 participants