desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Mac OS - Files that disappear (and reappear) when moved via the web interface to a folder (and perhaps also from another Mac)

Open ismasans opened this issue 8 months ago • 4 comments

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

Bug description

When, in the web interface (or on another Mac using the same account), you move a file from its original location to a new folder, the file disappears from its original location in Finder on the Mac but does not appear in the destination folder (especially if the folder is empty and does not have the cloud icon with an arrow). On the server side, the file is present. I have found that if any changes are made on the server side to that folder—such as copying another file or renaming one of them—the files that were not previously visible then appear on the Mac.

I’m sharing a screen recording at this link (Download the video to view it properly) In this screen capture, you can see the web interface on the left, the main Mac at the top right, and a remote Mac at the bottom. And you can see how the three devices perform.

The steps I take are: duplicate the Nextcloud intro.mp4 file twice to generate two new files, then create a new empty folder and start moving the test files. You can see the behaviour on all three devices.

Sorry I haven't been able to upload the screen recording here; it might be because of the file size.

Attached is the debug file for the Mac client: Debug Nextcloud macos client.zip

Steps to reproduce

  1. In the web interface -> Copy, duplicate or create two files in the root directory (Test file 1 and Test file 2).
  2. In the web interface -> Create a new empty folder (Test folder).
  3. In Mac Finder -> The files and folder are present. When you check that the folder is empty, the cloud icon disappears.
  4. In the web interface -> Move file 1 to the folder you created.
  5. In Mac Finder -> Note that the file disappears from its original location but does not appear in the destination folder.
  6. In the web interface -> Move file 2 to the same folder.
  7. In Mac Finder -> File 1 appears but File 2 does not.
  8. In the web interface -> Make a change within the folder, such as renaming File 1.
  9. In Mac Finder -> All files appear. The folder appears to have synchronised correctly as a result of renaming a file.

Expected behavior

When moving files, it shouldn't be necessary to rename them for them to synchronise correctly.

Which files are affected by this bug

All file types (and possibly folders).

Operating system

macOS

Which version of the operating system you are running.

macOS Tahoe 26.3.1

Package

Official macOS Virtual files 12+ universal pkg

Nextcloud Server version

Nextcloud AIO v12.8.0 - Nextcloud Hub 25 Autumn (32.0.6)

Nextcloud Desktop Client version

33.0.0

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

Updated to a major version (ex. 3.16.3 to 3.17.0)

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

My setup:

  • Server: Nextcloud AIO v12.8.0 (Nextcloud Hub 25 Autumn 32.0.6) running inside a VM with Ubuntu + Tailscale, on a TrueNAS server.
  • Mac Mini M4 Pro with macOS Tahoe 26.3.1 + Tailscale + Nextcloud desktop client 33.0.0
  • MacBook Pro mid-2014 with macOS Sequoia 15.7.2 + Tailscale + Nextcloud desktop client 33.0.0

ismasans avatar Mar 27 '26 15:03 ismasans

I'm experiencing this same issue. Tahoe 26.2, Mac Desktop Client: 30.0.0

lucasbaze avatar Mar 28 '26 15:03 lucasbaze

I can confirm the bug is still happening with desktop client 33.0.3 on macOS Tahoe 26.4.1, with Nextcloud AIO 32.0.8. I think this might be related to #9688, or possibly even the same issue. In both cases it looks like the File Provider extension isn't correctly receiving or handling remote change notifications when files are moved or created via the web interface. Worth mentioning that in today's tests with 33.0.3, the workaround of renaming a file inside the destination folder didn't work for me this time either. @i2h3, have you had a chance to take a look at this one? Could it be related to #9688 you're already working on? Just flagging it in case it's useful for triage. And if there are any other related issues I might have missed, I'd love to know so I can follow them too. Thanks so much for your work! 🙏

ismasans avatar Apr 28 '26 11:04 ismasans

@ismasans I am sorry, no. Despite it not being visible, please be aware that I also need to work on private customer support cases for our client. This issue is not forgotten or invisible, it is just a matter of priorities and workload. 😅

i2h3 avatar Apr 28 '26 12:04 i2h3

@i2h3 Thank you so much for your quick response! I'm sorry if my comment came across as impatient or pressuring — that was absolutely not my intention. I just wanted to flag it in case it was useful for triage. I really appreciate your work and fully understand the workload involved. Take your time! 😊

ismasans avatar Apr 28 '26 12:04 ismasans