Closed dacoex closed 3 years ago
+1 I'm using wonderfall/nextcloud:latest docker image and nextcloud-client 2.5.0-4 (arch)
Solved removing an old dropbox external folder on server (which wasn't working anymore..), it seems after server update that this folder was causing issues.
+2
nextcloud 14.04 nextcloud-client 2.5.1git
Same problem here. Windows Cliente. Tested on 2.5.1 with Nextcloud 15, same problem...
Same here I guess.
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
Same here. But it seems that nobody is on that issue.
Same issue, doesn't work with 2.5.2, but working with 2.3.x
same here, not working with 2.3.3 client on mac either
I am getting this error when I try to sync an account with orphaned files on the server. The files are present in the file system, but not in the database.
Hi, as this issue seems to cause trouble for several users, I want to share how we got rid of the annoying problem: for us the solution came simply when emptying the trash bin one-by-one. We are not sure what had caused the problem, but at least the clients are able to sync again now.
NC 16.0.1 Client: 2.5.2git
Same here. NC 16.0.1 Client 2.5.2
Same issue with client 2.5.2. It was working but juste after the update the file doesn't synchronise.
The client scans the whole user directory on the server before starting the sync process. If there is any directory (mostly a share), which cannot be opened, the client stops with the described error message.
Why the share cannot not be opened may have different reasons. Anyhow unsharing the share will help.
Because the client does not give any advice in the error message, which folder / share makes the problem, you should start the client via command line adding the parameter "--logwindow".
There you should find similar to following:
[OCC::LsColJob::finished LSCOL of QUrl("https://nextcloud.domain.de/remote.php/dav/files/user1/") FINISHED WITH STATUS "OK" [OCC::DiscoverySingleDirectoryJob::directoryListingIteratedSlot Missing properties: "Folder123" 2 0 1561618112 "DNVS" "" "-0000001ocl3ir5nxzae" [csync_ftw opendir failed for - errno 10011 [OCC::SyncEngine::handleSyncError ERROR during csync_update : "Es hat sich ein HTTP-Übertragungsfehler ereignet. Bei der Server-Dateierkennungsantwort fehlen Daten."
"Folder123" is the share, which makes the problem... but maybe there is not only one.
Same here. NC 16.0.3 Client 2.5.1final (build 20181204) MacOS
how can we fix? NC 16.0.1 client : 2.5.2 (MAC)
I just had this issue - the problem was (User A) had created a folder, and shared it with (User B) who then sync'd it to their devices (one windows, one linux)
User A then decided they no longer needed the folder that had been shared, but both clients were not aware that the file not only had been unshared, but completely did not exist anymore.
Luckily for me, the NC recycle bin works pretty well. Restoring the deleted share allowed (User B)'s clients to sync again.
While that error was happening, no sync was happening at all.
Very reproducable also with NC 16 and Sync client 2.5.3 on all platforms.
Share a folder from user A, have B sync it. Delete folders in it and broken
Same issue here, even when selecting no folder to sync.
It's on a fresh account, synced between 2 computers when the errors popped up. It appeared twice, the first time it disappeared "by itself" (but I think I restored some files from the trash bin in the midtime), now the client is stuck on that error :( I have no shared folder.
Nextcloud 15, client 2.5.3.
edit: I launched it using @brunt82 log command, and now I have no error...
If I may suggest, would it not be possible to make a manual locking mechanism in the interim? I'm sure it's better to have people manually check out (lock) documents before editing and having that lock activate in all clients that are currently connected. It would not solve the issue of disconnected users (nothing can), it would not eliminate conflicts either, but it could drastically reduce their occurance.
I also disagree that home users don't require locking. I use Nextcloud for personal data together with my wife and we did have conflicts because I'm often updating common files on the road.
There was a broken share. Not visible in Web UI, but in Windows client. I removed this share in database table oc_shares and now it is working. Is there any way to check integrity from shares in database and files/folders in filesystem?
There was a broken share. Not visible in Web UI, but in Windows client. I removed this share in database table oc_shares and now it is working. Is there any way to check integrity from shares in database and files/folders in filesystem?
Indeed: I had to do the same: It seems that the web client of NC 15 doesn't display folders anymore on which the user has no access permission (because e.g. the initial domain user does not exist anymore). In NC 13 this folders could be unshared by the user via the web client. Now I have to delete the corresponding row in oc_shares.
I removed this share in database table oc_shares and now it is working. Is there any way to check integrity from shares in database and files/folders in filesystem?
Same problem here. Can you explain how do you remove this share folder in database in NC 16 ?
@brunt82 The client should handle it better, but they are indeed server side issues. In my case with Groupfolders (which break sync in many ways)
There was a broken share. Not visible in Web UI, but in Windows client. I removed this share in database table oc_shares and now it is working. Is there any way to check integrity from shares in database and files/folders in filesystem?
Indeed: I had to do the same: It seems that the web client of NC 15 doesn't display folders anymore on which the user has no access permission (because e.g. the initial domain user does not exist anymore). In NC 13 this folders could be unshared by the user via the web client. Now I have to delete the corresponding row in oc_shares.
It seems that the shares are still visible in the section "Shared with me". There it is possible to unshare the faulty links. In our cases it occurs if a LDAP user has been removed and therefore Nextcloud does not show his shared data anymore. Unsharing of files / folders shared by a question mark resolves the issue:
Same Problem here NC 17.0.2.1 Version 2.6.2@Manjaro Other Clients work: Android, MacOS, Windows (2.6.1)
This is a really nasty bug which persists for more than a year without a fix. :-( I've recently also stumbled across this after the client was upgraded from 2.3.x to a newer version 2.5.x or 2.6.x. My server was initially an old Owncloud instance which was migrated to NC and updated to the current version. The only solution I found was to manually fiddle with the NC data base and remove some entries referring to dead links or directories that were mentioned in the client's log window which is created if the client is started with the associated parameter (see an earlier message in this thread).
Not even the command "occ files:scan --all" run on a current NC instance deletes these dead entry from the data base.
From a project like Nextcloud I'd expect that
The client doesn't stop syncing just because there is a tiny error. It should emit a comprehensive error message (i.e., which file caused the problem), and continue synchronizing the remaining files.
The file scan on the server should not only look for new files to be added to the data base, it should also remove dead entries from the data base.
Just my opinion.
updating Nextcloud & client solved it for me.
How i solved the issue.
Run nextcloud Sync client using CMD:
C:\Program Files\Nextcloud\nextcloud.exe" --logwindow
Use the search to search for the following string:
[OCC::SyncEngine::handleSyncError ERROR during csync_update : "A HTTP transmission error happened. The server file discovery reply is missing data."
Check "Missing properties" for problem share folder.
[OCC::DiscoverySingleDirectoryJob::directoryListingIteratedSlot Missing properties: "3. Billing for Agencies (10th monthly)" 2 0 1578564564 "DNVS" "" "-0000001ocyqbwbgrr3w" [csync_ftw opendir failed for - errno 10011 [OCC::SyncEngine::handleSyncError ERROR during csync_update : "A HTTP transmission error happened. The server file discovery reply is missing data."
Login to mysql in your server hosting Nextcloud.
mysql -u <user> -p <database>
Replace "/3. Billing for Agencies (10th monthly)" with your own problem folder.
Take note of the /. Run the following command below:
select * from oc_share where file_target = '/3. Billing for Agencies (10th monthly)';
Take note of the ID.
ie.
| 79 | 1 | Support | NULL | test | test | NULL | folder | 106654 | NULL | 106654 | /3. Billing for Agencies (10th monthly) | 31 | 1571635407 | 0 | NULL | NULL | 0 | NULL | 0 | NULL | 0 | NULL |
Run the following to delete that offending row.
delete from oc_share where id = 79;
Done
@ritsute : Thank you so much! This helped me! In my case I found a share from another user, which I removed. I did this on the nextcloud server. After that the share disappeared.
From my point of view there are two things which needs to be fixed:
I start to be sad about nextcloud. It seems to me, the software is getting more and more complex, and no one is interested in taking care for elementary functions.
Is there a way to diagnose which folder is causing the problem without running --logwindow
? I've had a report from a user with this error but I don't have access to their machine to run the client in debugging/logging mode. I do have root on the server and therefore access to the error logs, database etc.
I am Linux and using the appimage app. How should I go about this? This is really nasty because I cant sync anymore :(
I am Linux and using the appimage app. How should I go about this? This is really nasty because I cant sync anymore :(
I think you just need to wait for the next version, which has a fix for this. you're quite lucky, other have been waiting for years. :D
@gerroon if this is the same issue I had, you can find the broken entries with this query: select count(*) from oc_mounts where root_id in (select fileid from oc_filecache where path like '%__groupfolders/trash%'
A debug of your client will also tell. Fixing them manually makes sync work again. I had this query in Zabbix.
I think my user may be having a different issue, as the solution suggested by @gvansanden didn't return any results in MySQL.
@pwaring That is indeed not the only cause of missing files, just when they are groupfolders.... There are other cases where the client still tries to get files that are no longer there, I don't have a query to detect those though. But it should be possible to get it from the database.
For me I had the error because of nginx, also see my entry here:
https://help.nextcloud.com/t/http-transmission-error/41620/21?u=j4mb4l4j4
Have the same issue with latest 19 rc3 server and daily build client. But in my case the reason of this error was external storage connected via SMB. After I removed these storages I do about 20 runs of client without errors. Server published via HAproxy (http -> HAproxy -> https). if it can help.
[OCC::DiscoverySingleDirectoryJob::directoryListingIteratedSlot Missing properties: "J$" 2 0 1590162768 "M" "" "-0000001oc2zaihzqu9l"
[OCC::DiscoverySingleDirectoryJob::directoryListingIteratedSlot Missing properties: "IT$" 2 0 1590162768 "DNVM" "" "-0000001oc2zaihzqu9l"
[OCC::DiscoverySingleDirectoryJob::directoryListingIteratedSlot Missing properties: "A$" 2 0 1590162768 "DNVM" "" "-0000001oc2zaihzqu9l"
[csync_ftw opendir failed for - errno 10011
[OCC::SyncEngine::handleSyncError ERROR during csync_update : "A HTTP transmission error happened. The server file discovery reply is missing data."
[OCC::User::slotAddError Item "B:\\!_Cloud\\Nexcloud" 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."
[OCC::SyncJournalDb::close Closing DB "C:/Users/user/AppData/Roaming/Nextcloud/._sync_efb64f3095d1.db"
[OCC::SyncEngine::finalize CSync run took 6898 ms
[OCC::Folder::slotSyncFinished Client version 2.7.0daily-Win64 (build 20200522) Qt 5.12.5 SSL OpenSSL 1.1.1d 10 Sep 2019
[OCC::Folder::slotSyncFinished SyncEngine finished with ERROR
[OCC::Folder::showSyncResultPopup Folder sync result: 2
[OCC::Folder::slotSyncFinished the last 3 syncs failed
[OCC::ownCloudGui::slotSyncStateChange Sync state changed for folder "https://f.mydomain.ru/remote.php/dav/files/1A4BEC94-00F4-40ED-80F7-0CAFDA140D11/" : "Error"
[OCC::FolderMan::slotFolderSyncFinished <========== Sync finished for folder [B:\!_Cloud\Nexcloud] of account [user@mydomain.ru@f.mydomain.ru] with remote [https://f.mydomain.ru/remote.php/dav/files/1A4BEC94-00F4-40ED-80F7-0CAFDA140D11/]
I had the same or a related issue. However I have no access to the server. The problem was that I had a share with a user who was removed from the server. Then my client (version 2.5.1 on debian 10) refused to sync. I solved the problem via: nextcloud --logwindow
, searched for Missing properties
as explained by @ritsute above and that way identified the problematic shared folder. Then I unshared it via the web interface, which worked all the time. After the client synced again.
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!
why would anyone need to "update" the issue before it's automatically closed?
Expected behaviour
Normal synching
Actual behaviour
Client throws an error: "HTTP-Transmission Error"
See also: https://help.nextcloud.com/t/http-transmission-error/41620
Steps to reproduce
Client configuration
Client version: 2.5.0git
Operating system: 4.15.0-39-generic / Linux Mint 19 Tara / Ubuntu bionic
OS language: german
Qt version used by client package (Linux only, see also Settings dialog): ?
Client package (From Nextcloud or distro) (Linux only):
Installation path of client:
Server configuration
Operating system: ?
Web server: ?
Database: ?
PHP version: 5
Nextcloud version: 14.02
Storage backend (external storage):
Logs
Please use Gist (https://gist.github.com/) or a similar code paster for longer logs.
Template for output < 10 lines
Client logfile: Output of
nextcloud --logwindow
ornextcloud --logfile log.txt
(On Windows usingcmd.exe
, you might need to firstcd
into the Nextcloud directory) (See also https://docs.nextcloud.com/desktop/2.3/troubleshooting.html#log-files)Web server error log:
Server logfile: nextcloud log (data/nextcloud.log):