-
Notifications
You must be signed in to change notification settings - Fork 788
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
macOS client synchronisation failures (macOs and using groupfolders) #2316
Comments
Definitely interested from logs of a client 2.6.5 or later (logs provided are clearly from before 2.6.5). Also please make sure they're in debug mode, that'd help. |
Sharing that without disclosing information through all the files is rather difficult @er-vin - I could let loose a couple of |
Yes, I know this is not easy. When it is a concern it's better to have a test instance and reproduce the scenario.
Well, we can try just in case. Indeed it's likely we'll have too low information. |
Hi, the redacted version should be at |
Indeed seems to be permission related, again 2.6.5 client and using both --logfile and --logdebug on the command line might help know more. You might also want to look at the rights for the corresponding folders in the journal db metadata table. |
Working on less-redacted version (although skipping To be able to search this though - the user used the
On the first save the client indicated issues, but only a warning (yellow exclamation). On the second action it gave an error (red cross). Testing client is the same as last file submitted, it's mac 10.15.6(19G2021) - NextCloud client is 2.6.5. Debug file will follow after review by co-worker. |
Debug file available at |
Alright, even with those logs I can't really pinpoint which permissions ended up in which files. So still confirms this is a permission error. Note that the fact that created entries (during a folder creation for instance) end up with empty remote perms is accounted for in the code. AFAICT when you get a rejection like this it means the entry got something for its perms, otherwise the client just assumes it doesn't know and proceed (assuming the server will reject later on in case of perms violation). So there's definitely something in the perms of those folders as seen from the client. I'd check in the client database which are those and verify if they match what the server says about them. |
Well in most cases the problematic sqlite rows - client exited, rows deleted, client started - are solved until the next time the user tries this. So it is sort-of-a-workaround but not really doable for administrative tasks with repetitive creation and manipulation of the files. To be clear, problematic files are along the lines of |
Any other ideas and/or should we aim to share the file in a non-public way/other form of redaction etc? |
Ah I get your point, from the database perspective they got "no" perms (NULL or empty string). That's odd... that'd mean they get something later on in the pipe... Still, could you see if the problematic ones have NULL or ''? Right now you're going for a large swipe as workaround so if we could narrow it down a bit. |
That's an option indeed. You could drop a full debug log there: https://cloud.nextcloud.com/s/BbRrHPpcdzWoXdX Note however that it might take time until we can look at it, got the official support requests coming first. |
This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
The issue is still present, but we are working around it nowadays (not sharing more than one level of groupfolders). Lets close it for now. |
Expected behaviour
Using macOs: 1) Adding new folder and new files should synchronise normally. 2) Opening existing word or excel files (using Microsoft Office suite) and saving should be possible.
Actual behaviour
Our setup is outlined below - also see my comment in nextcloud/groupfolders#746 - please note that in the web-interface everything works/seems ok. I've also included potential relevant other issues in my comment on that issue. To us the problem looks to be bound to the client synchronisation in macOs and upgrading one of our users that still was using 10.14 to 10.15 seemed to have increased the probability and reproducability of the issues.
Exception is that one of our users who has all of the above problems only has these in her (as depicted below)
department2
set of folders, not indepartment3
.Steps to reproduce
Groupfolders deployed as
Our problematic clients are all in
Department3
- mostly running into what seems the emty remotePerm problems (with side effects as the unable to delete). We can't reproduce the errors with the web-interface or even using webdav directly (although we really don't want to go that way). Do note that a couple of users ofDepartment3
also work forDepartment2
and they don't experience the issues there.For one user we've created a new set of groupfolders like below (resembling the
Department2
setup) but they problems still exist (though frequently and scripted cleaning empty remotePerms rows in their local database seems to 'fix' it and is usable as a workaround).For a subset of department3 we'll now revert to having all their files in a /subgroupX folder with full rights and no (sub)groupfolders below it and test if that works
Client configuration
Client version: 2.6.5 (client, though still same with 3.0.0)
Operating system: macOs 10.15.5, 10.15.6 and 10.14.6
OS language: happens with either English or Dutch as default lang
Qt version used by client package (Linux only, see also Settings dialog): n/a
Client package (From Nextcloud or distro) (Linux only): n/a
Installation path of client: /Applications/NextCloud.app
Server configuration
Sharing not enabled, using group-folders for distributions
Nextcloud version: 18.0.7 (server)
Storage backend (external storage):
NFS
Logs
Not applicable that we can see, server in debug reveals no obvious errors, client in debug (F12). We're happy to provide more logging if needed and are willing to switch clients between native English/Dutch setup. (Below log is from a Dutch setup).
We can confirm that we have seen the same errors on an English-language setup.
The text was updated successfully, but these errors were encountered: