-
Notifications
You must be signed in to change notification settings - Fork 817
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
Version 2.5: Client does not sync/The server file discovery reply is missing data #819
Comments
This seems to be the relevant part of the client log:
What is interesting is the Missing properties part. Apparently an The strange part is that the user does not have a directory or file with the name "test" in his user folder. I have already tried running BTW: In Client version 2.3.3.1 I am getting this warning:
In version 2.3.3 this was a warning and in version 2.5.0 this is now an error which stops the entire sync. |
Same issue for me on Arch Linux |
This seems more like a server issue. But even then it is weird. There is of course a good reason that the client refuses to sync if it gets back things it can't make sense of from the server. Because it can't make sense of what is happening. I assume it only happens for both of you on some accounts and not on all? |
Yes, it's probably a server issue. It still triggers a regression in the client:
And you are right, I can only reproduce the issue with one user account. Other user accounts are working fine with version 2.5.0. The strange part is that I have tried a @merlinschumacher Do you have a line like this in your client log?
If yes, what does the "Missing properties" message say? Does it mention a filename you recognize? |
Same here, caused by a bug in Google Drive external storage extension. Removing or updating the extension eliminated the client error.
Note that the 2.3.3 client version was working even with this server extension issue. |
The Gdrive-Plugin is indeed the issue. After installing a newer version from the app-store sync works fine. |
I have a similar issue. But I don't have the Gdrive Plugin installed and all other Plugins are up to date.
the above mentioned folder is not visible in the webclient - but it appears in the "select files/folders to sync dialog" and even if it is not checked the above error appears. in the oc_mounts and oc_shares table an entry exists for this folder. I removed the entry and now the client syncs again. |
I had a similar issue. As I am just a user I cannot post logs. Some other user shared a folder with me, at some point this other user got deleted but her shared folder stayed in my files view. Client 2.3.3 had no issues, Client 2.5 stopped working: "A HTTP transmission error happened". Deleting the shared folder solved the issue for me. |
Same symptom, for me it was an external share that could not connect (the remote end is shut down for a bit). I don't know that it's always the problem (nor if SFTP is the only culprit), but when I disabled the external share the error went away and normal syncing resumed. |
In my case it's also a stale share causing the issue. Pretty much like @tofuSCHNITZEL described it:
|
I have the same issue. I had set up a CIFS/SMB external storage that was "broken" due to a configuration issue on my part. Until I fixed the external storage, my NextCloud client sync was failing with the "server file discovery reply is missing data" error message. Seems pretty easy to reproduce. |
It seems that the "external storages" server component that was changed in the 14.x series caused this bug, as I reported here: |
@mlanner, we might be talking about something different. My server is still on 13 (not stated earlier, but it now appears to be more of a server-bug than a client-bug). |
I had the same problem on ArchLinux, I tried to delete my old non working external storages (SFTP I did not use anymore) and it worked. |
Server NC13, client NC 2.51. I am using a bunch of SMB folders (the SMB server is Windows Server 2019, but is shouldn't matter). All folders are accessible except one (that is physically missing on the server at the moment). However, when I start syncing any of the fine folders, I get the same error. I managed to clear it by removing the bad folder from the NC configuration and the sync started without error. However, I would expect to be able to sync the folders that are OK, as issues with one folder should not impact the sync capability of any other folder. |
Same here I guess. |
Now I see this bug too: nextcloud 14.04 (with PHP 7.2 on Ubuntu 14.04) I do not have external storage except another Nextcloud 15.0.0 server which is connected with this Nextcloud server. |
I was able to analyze my "The server file discovery reply is missing data." error message which stopped client synchronization because the error is thrown in the discovery phase before the synchronization phase. I had two problematic files (one file, one directory). Unfortunately I have only partial logs. I used the --logfile nc.log --logdebug options. I changed the file and directory names for privacy reasons. The server send this message for the file: Please note the trailing slash for the file "20150727_myexcelfile KVP20150820.pptx/". This is a normal Powerpoint file and should not have a trailing slash.
The NC client complained:
The directory "200 MyDirectory" exists in the filesystem, but only in files_versions and files_trashbin. The file 20150727_myexcelfile KVP20150820.pptx exists as a normal file. I checked the file and directory in the NC database and removed the entries in oc_filecache. After that I started the command "./occ files:scan --all". Now NC client 2.5.1 synchronizes again. I have to wait for the next problem to analyze the problem further. I also did not checked, if NC client 2.3.3 would also have stopped on the problematic files. I would guess, that NC client 2.3.3 was more fault tolerant here so that this problem comes up with NC 2.5.1. But also with NC client 2.3.3 I had problems with files, which were in oc_filescache but not in the filesystem. |
same problem, tested o 2-3 stations, good thing, we havent upgraded all our clients yet... a simple workaround for ubuntu/linux is to use the 3.3 appimage; https://download.nextcloud.com/desktop/releases/Linux/Nextcloud-2.3.3-x86_64.AppImage |
My problem was a folder shared with me by a person that no longer existed. I removed the folder and sync is working again. |
Had a similar issue with a file that showed up with as examplefile.ext/ rather than examplefile.ext it also was mounted in incorrect spots. I deleted all entries for the file in oc_mounts and oc_filecache and sync works again. Note this issue came about after a migration from a snap deployment to a docker deployment in my case. |
I had the same issue, which was caused by a missing path to a share. However it would have been nice if it throws the error and syncs the initial folders |
Agree, the error message could at least contain the path to the folder which is the issue, for non-IT users absolutely impossible to figure out ... |
Same error on Ubuntu Mate. What is the trick ? |
Start the client with --logwindow then check what folder is there, and then try to figure out where the folder comes from. For me it was a unshared / shared folder, only visible in the "Shared" section of the website. |
@misch7 The admin user shared a (external) folder called Here is the relevant log entry for client
In client version 2.3.3 it is only mentioned in one line: ``03-04 10:03:52:094 0x6d1bb04 csync_walker: directory: Algemeen Sales [file_id=-0000001oct3tct3f1ya]` I didn't test beta version Thus, as far as I can tell, the |
@wouterVE This is really helpful for further investigation. I think I've to find a way to trigger the same error for debugging. |
@misch7 |
Sync Client 2.6.4 / Nextcloud 18.0.3 Happened to me when one of my external storages was unavailable because of missing smb client. After installing the package it immediately started syncing again. |
I have had the same error. I had an old mount point pointing to a Openstack storage, which did not work. It showed as a red folder in the web file interface and could be deleted at the moint point config of my user. After removing it, the sync client synced again. |
i can confirm removing an unreachable external storage resolves this issue in my case |
Great! Please fix the message to say so in case of external storage issue. |
Just wanted to leave my comments here. Had this exact problem with client 3.0.3 (Win10) on a Nextcloud installation with 20.0.1.1 With the tips here I started the client on the command line with
which brought me to these two lines:
That ftp/sftp external storage had problems with the username/password. What is frustrating, I actually de-selected this in the folder-synchronisation selection but it still stops ANY sync from happening. A better fall-back would be to skip (external) folders with missing properties so the sync can still continue for all the rest. |
got the same issue, i had to delete the sync connection in the admin panel(external storage section) for the error to go away. the error message should be clearer |
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! |
Stop botting around. |
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! |
do not close |
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! |
This bug report is getting automatically closed due to no answer since the issue has been staled. Thank you! |
Welp |
Don't close |
Too late :x |
@Fuseteam @much-doge Does the issue still exist? With which version are you experiencing errors? Does it happen with the latest release 3.2.4 too? |
I have installed version 2.5.0 of the Desktop Client (Windows, completely fresh install) and the client does not sync at all. I am getting the following sync error right after going through the configuration assistant:
A HTTP transmission error happened. The server file discovery reply is missing data.
The requests on the server look fine, I am getting many
PROPFIND
requests there, all answered withHTTP 207
.Expected behaviour
The sync process should start after configuration.
Actual behaviour
The sync fails immediately after configuration (fresh config, fresh installation, empty sync dir).
Steps to reproduce
Client configuration
Client version: 2.5.0
Operating system: Windows 10 (x64)
OS language: English/German
Server configuration
Operating system: CentOS 7.5
Web server: Apache 2.4.6-80
Database: Postgres
PHP version:7.2.12
Nextcloud version: 14.0.3
Storage backend (external storage): -
Logs
nextcloud --logwindow
ornextcloud --logfile log.txt
(On Windows using
cmd.exe
, you might need to firstcd
into the Nextcloud directory)(See also https://docs.nextcloud.com/desktop/2.3/troubleshooting.html#log-files)
https://gist.github.com/klada/fd88210850c4f4ec783c9e837a622acb
(there are no errors)
Not applicable.
The text was updated successfully, but these errors were encountered: