
Shared folder not syncing with Nextcloud client (A HTTP transmission error happened. The server file discovery reply is missing data.)
The Nextcloud client gives an error "A HTTP transmission error happened. The server file discovery reply is missing data.".
See below my account of what steps need to be taken to imitate the problem.
1. User 1 (Admin User) create a folder and share it for User 2 (regular user)
2. Setup Nextcloud client to sync for User 2.
3. When shared folder is included in the sync I get above error. If shared folder is excluded sync passed.
4. User1 that created folder can sync the folder with no problems via Nextcloud client.
See below the log lines of the error taken from the Nextcloud debug log screen. (For privacy purposes I have find and replace the domains and user names in the log file.) I included the complete log file to this ticket.
[OCC::AccessManager::createRequest 6 "PROPFIND" "https://www.maskreplacement.com/remote.php/dav/files/user2/@Shares" has X-Request-ID "6d0dedc5-94d2-4096-9ffb-c67dc0edbb76"
[OCC::AbstractNetworkJob::start OCC::LsColJob created for "https://www.maskreplacement.com" + "/@Shares" "OCC::DiscoverySingleDirectoryJob"
[OCC::WebFlowCredentials::slotFinished request finished
[OCC::LsColJob::finished LSCOL of QUrl("https://www.maskreplacement.com/remote.php/dav/files/user2/@Shares") FINISHED WITH STATUS "OK"
[OCC::DiscoverySingleDirectoryJob::directoryListingIteratedSlot Missing properties: "(1) User1 Name" 2 0 1559377668 "" "d6817eb85dcc5e476229364b3d04b563" ""
[csync_ftw opendir failed for @Shares - errno 10011
[OCC::SyncEngine::handleSyncError ERROR during csync_update : "A HTTP transmission error happened. The server file discovery reply is missing data."
[OCC::ActivityWidget::addError Item "Nextcloud" retrieved resulted in "A HTTP transmission error happened. The server file discovery reply is missing data."
[OCC::ActivityListModel::addErrorToActivityList Error successfully added to the notification list: "A HTTP transmission error happened. The server file discovery reply is missing data."
Server details:
Ubuntu 18.04
php 7.2
FileRun server details:
2019.05.21
User2 PC details:
Ubuntu 18.04
Nextcloud client for linux: v2.5.2
Thanks the software looks great. I am testing Filerun as replacement for my Dropbox account. But with this bug I can't replace Dropbox. Me and my wife have a shared folder that both need access to.
Thanks for May update of Filerun. Before the May update the Nextcloud clients on Android and Linux did not work at all.
Answer

I am having the exact same problem. I need to be able to share folders to other users. As soon as I turn on (check) @shared folders, I get the error.
I tried turning off force https access, but that's not the problem.
Thanks for looking into this.
I'm running the server on Ubuntu 18.04 and the client is Mac OS X 10.13.6, Nextcloud 2.5.2git.

We confirm the bug, thank you for the detailed report. Working on a patch and will post an update shortly.

You can download a patch for this problem using this link.
The download includes details on what files to replace.
Note that the patch applies to the latest FileRun version (2019.06.01) and it might not work with older versions.

Applied the patch (rm'd each file and put new file, one by one) and restarted apache. Running latest version. Logged out, logged back in. Still same issue.

No need to restart Apache or log out. I have used the same patch on several installs successfully.
P.S. Kindly login when posting, so I know who am I replying to.

Sorry about that. Didn't notice I wasn't logged in. I have followed the steps outlined above and replaced the files in the directory with the patched files. The results are the same. NextCloud reports an error when turning on shared files:
If I uncheck @Shares and apply, the error goes away.

Is it possible to log into your demo account with the nextcloud client and see if the same thing happens. You would need to create an anonymous share that would be accessible through @shares. If it works on your demo account then I would know it's something specific to my server setup/configuration.


Thank you. I can now verify there is something amiss with my installation/configuration. I'll start again from scratch.

The fix is included in the now available FileRun software update (https://docs.filerun.com/updating).
Customer support service by UserEcho
You can download a patch for this problem using this link.
The download includes details on what files to replace.
Note that the patch applies to the latest FileRun version (2019.06.01) and it might not work with older versions.