Sync error on nextcloud client 2.5.0

Since v2.5.0, i have error on sync with all the nextcloud servers i use.
The sync stop, impossible to work normally.
error is : unknown error
image
log file :

[csync_update 	## Starting remote discovery ##
[OCC::AccessManager::createRequest 	6 "PROPFIND" "https://server/remote.php/dav/files/tom/" has X-Request-ID "f9ffb32b-e6ba-4b5d-8cde-71b1c50c08f5"
[OCC::AbstractNetworkJob::start 	OCC::LsColJob created for "https://server" + "" "OCC::DiscoverySingleDirectoryJob"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Erreur inconnue"
[OCC::JsonApiJob::finished 	JsonApiJob of QUrl("https://server/ocs/v2.php/apps/notifications/api/v2/notifications?format=json") FINISHED WITH STATUS "OK"
[OCC::JsonApiJob::finished 	Nothing changed so nothing to retrieve - status code:  304
[OCC::ServerNotificationHandler::slotNotificationsReceived 	Status code  304  Not Modified - No new notifications.
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Erreur inconnue"
[OCC::LsColJob::finished 	LSCOL of QUrl("https://server/remote.php/dav/files/tom/") FINISHED WITH STATUS "OK"
[OCC::DiscoverySingleDirectoryJob::lsJobFinishedWithErrorSlot 	LSCOL job error "Erreur inconnue" 200 QNetworkReply::NetworkError(NoError)
[csync_ftw 	opendir failed for  - errno 5
[OCC::SyncEngine::handleSyncError 	ERROR during  csync_update :  "Une erreur est survenue lors de l'ouverture d'un dossier Erreur inconnue"
[OCC::ActivityWidget::addError 	Item  "Nextcloud"  retrieved resulted in  "Une erreur est survenue lors de l'ouverture d'un dossier Erreur inconnue"
[OCC::ActivityListModel::addErrorToActivityList 	Error successfully added to the notification list:  "Une erreur est survenue lors de l'ouverture d'un 
dossier Erreur inconnue"
[OCC::SyncJournalDb::close 	Closing DB "/home/tom/Nextcloud/._sync_a648de948bd6.db"
[OCC::SyncEngine::finalize 	CSync run took  5412 ms
[OCC::Folder::slotSyncFinished 	Client version 2.5.0git  Qt 5.9.5  SSL  OpenSSL 1.1.0g  2 Nov 2017
[OCC::Folder::slotSyncFinished 	SyncEngine finished with ERROR
[OCC::Folder::showSyncResultPopup 	Folder sync result:  2
[OCC::Folder::slotSyncFinished 	the last 1 syncs failed
[OCC::ownCloudGui::slotSyncStateChange 	Sync state changed for folder  "https://server/remote.php/dav/files/tom/" :  "Error"
[OCC::FolderMan::slotFolderSyncFinished 	<========== Sync finished for folder [Nextcloud] of account [tom@server] with remote [https://server/remote.ph
p/dav/files/tom/]
[OCC::AccessManager::createRequest 	6 "GET" "https://server/ocs/v2.php/core/navigation/apps?absolute=true&format=json" has X-Request-ID "26c91ebf-1471-416
5-8808-8ea05c622696"
[OCC::AbstractNetworkJob::start 	OCC::OcsNavigationAppsJob created for "https://server" + "ocs/v2.php/core/navigation/apps" ""
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::AbstractNetworkJob::slotFinished 	QNetworkReply::NetworkError(ContentNotFoundError) "Le serveur a répondu \"404 Not Found\"  à \"GET https://server/ocs/
v2.php/core/navigation/apps?absolute=true&format=json\"" QVariant(int, 404)
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(ContentNotFoundError)
[OCC::WebFlowCredentials::stillValid 	"Error transferring https://server/ocs/v2.php/core/navigation/apps?absolute=true&format=json - server replied: Not Fou
nd"
[OCC::OcsJob::finished 	Reply to "GET" QUrl("https://server/ocs/v2.php/core/navigation/apps") (QPair("absolute","true")) has unexpected status code: 404 "{\"o
cs\":{\"meta\":{\"status\":\"failure\",\"statuscode\":404,\"message\":\"Invalid query, please check the syntax. API specifications are here: http:\\/\\/www.fr
eedesktop.org\\/wiki\\/Specifications\\/open-collaboration-services.\\n\"},\"data\":[]}}"
[OCC::AccessManager::createRequest 	6 "PROPFIND" "https://server/remote.php/dav/files/tom/" has X-Request-ID "4e761d95-0862-4ad3-9731-ceb80728144e"
[OCC::AbstractNetworkJob::start 	OCC::PropfindJob created for "https://server" + "/" "OCC::QuotaInfo"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Erreur inconnue"
[OCC::PropfindJob::finished 	PROPFIND of QUrl("https://server/remote.php/dav/files/tom/") FINISHED WITH STATUS "OK"
[OCC::AccountManager::saveAccount 	Saving account "https://server"

no error on servers, i have this error on many computers Ubuntu 18.04

1 Like

I have the same - did you solve this?

For the moment I found that the snap app is still 2.3.3 and works - so I rolled back to that.

I have the same problem (after changing all the date of my files by moving then then restoring them).

Here is an extract for one file:

|[OCC::PropagateItemJob::scheduleSelfOrChild |Starting INSTRUCTION_SYNC propagation of "XXX/CLIP0624.ASF" by OCC::PropagateUploadFileNG(0x558f41061d30)||---|---|
|[OCC::PropagateUploadFileCommon::startUploadFile |Running the compute checksum|
|[OCC::PropagateUploadFileCommon::slotComputeContentChecksum |Tryint to compute the checksum of the file|
|[OCC::PropagateUploadFileCommon::slotComputeContentChecksum |Still trying to understand if this is the local file or the uploaded one|
|[OCC::ComputeChecksum::start |Computing "SHA1" checksum of "XXX/CLIP0624.ASF" in a thread|
|[OCC::ComputeChecksum::start |Computing "" checksum of "XXX/CLIP0623.ASF" in a thread|
|[OCC::AccessManager::createRequest |6 "PROPFIND" "https://zzz/remote.php/dav/uploads/pk/1217202477" has X-Request-ID "e7b078f1-cd8d-49b1-a34a-0564c8605b81"|
|[OCC::AbstractNetworkJob::start |OCC::LsColJob created for "https://zzz" + """OCC::PropagateUploadFileNG"|
|[OCC::ComputeChecksum::start |Computing "" checksum of "XXX/CLIP0622.ASF" in a thread|
|[OCC::AccessManager::createRequest |6 "PROPFIND" "https://zzz/remote.php/dav/uploads/pk/341331446" has X-Request-ID "264eea29-de7e-4786-b7ea-486b976bb967"|
|[OCC::AbstractNetworkJob::start |OCC::LsColJob created for "https://zzz" + ""  OCC::PropagateUploadFileNG"|
|[OCC::WebFlowCredentials::slotFinished |request finished|
|[OCC::WebFlowCredentials::stillValid |Still valid?|
|[OCC::WebFlowCredentials::stillValid |QNetworkReply::NetworkError(NoError)|
|[OCC::WebFlowCredentials::stillValid |"Erreur inconnue"|
|[OCC::LsColJob::finished |LSCOL of QUrl("https://zzz/remote.php/dav/uploads/pk/1217202477") FINISHED WITH STATUS "OK"|
|[OCC::PropagateUploadFileNG::slotPropfindFinished |Resuming  "XXX/CLIP0623.ASF"  from chunk  2 ; sent = 12957474|
|[OCC::AccessManager::createRequest |6 "MOVE" "https://zzz/remote.php/dav/uploads/pk/1217202477/.file" has X-Request-ID "7d739121-adee-4a20-b5e9-33d2836c933c"|
|[OCC::AbstractNetworkJob::start |OCC::MoveJob created for "https://zzz" + "" "OCC::PropagateUploadFileNG"|
|[OCC::ComputeChecksum::start |Computing "" checksum of "XXX/CLIP0624.ASF" in a thread|
|[OCC::AccessManager::createRequest |6 "PROPFIND" "https://zzz/remote.php/dav/uploads/pk/3858864334" has X-Request-ID "1a201c2e-d844-47a3-aa72-88fbe2d3e499"|
|[OCC::AbstractNetworkJob::start |OCC::LsColJob created for "https://zzz" + "" "OCC::PropagateUploadFileNG"|
|[OCC::WebFlowCredentials::slotFinished |request finished|
|[OCC::WebFlowCredentials::stillValid |Still valid?|
|[OCC::WebFlowCredentials::stillValid |QNetworkReply::NetworkError(NoError)|
|[OCC::WebFlowCredentials::stillValid |"Erreur inconnue"|
|[OCC::LsColJob::finished |LSCOL of QUrl("https://zzz/remote.php/dav/uploads/pk/3858864334") FINISHED WITH STATUS "OK"|
|[OCC::PropagateUploadFileNG::slotPropfindFinished |Resuming  "XXX/CLIP0624.ASF"  from chunk  111 ; sent = 289026765|
|[OCC::AccessManager::createRequest |6 "MOVE" "https://zzz/remote.php/dav/uploads/pk/3858864334/.file" has X-Request-ID "d6938045-1903-4bd1-951e-d5ef5a1d97fa"|
|[OCC::AbstractNetworkJob::start |OCC::MoveJob created for "https://zzz" + "" "OCC::PropagateUploadFileNG"|
|[OCC::AccessManager::createRequest |6 "PROPFIND" "https://zzz/remote.php/dav/files/pk/" has X-Request-ID "e37cc80d-03c6-4b34-a08a-d88f1bd1cf44"|

And it runs like this until failing…

Capture%20du%202018-12-21%2014-24-25

Nexcloud 14, nginx and Mariadb and Debian stable. Client is 2.5.0.

Feel free to ask me more informations. I have nothing in the log files for the server.

Thank

I have the very same Problem. Client 2.5.x on a Ubuntu 18.0.4 - the error is the very same, and no logs on the server (14.0.4).
The problem isn’t entirely tied to the nextcloud client version though - the AppImage (2.5.1) is running fine, and I can remember that the problems were introduced after I applied updates to Ubuntu, and if I remember correctly the qt library was amongst the packages that were upgraded when the problem started. So either there is a problem with the qt library or in the way nextcloud uses it.

As for now I’ll switch over to the AppImage.

cheers

Update: After syncing there for a while the AppImage crashed and now refuses to sync as well. I didnt dive into the logs, but the result is the same. I guess I’ll revert to the snap image as well.

cheers

I have the same problem with all 2.5.X Nextcloud Clients…
Ubuntu 18.04

Nobody can help ? @MorrisJobke
PS : for resolving that you need to downgrade Nextcloud Client to 2.3.3

I have the same Problem:

|[csync_ftw | <= Closing walk for D:/exampleNextcloud with read_from_db 0|
|---|---|
|[csync_update |Update detection for local replica took 0.013 seconds walking 74 files|
|[csync_update |## Starting remote discovery ##|
|[OCC::AccessManager::createRequest |6 "PROPFIND" "https://example.org/cloud/remote.php/dav/files/USER/" has X-Request-ID "b92959ca-4fe3-451e-a738-fba98e6b98ac"|
|[OCC::AbstractNetworkJob::start |OCC::LsColJob created for "https://example.org/cloud" + "" "OCC::DiscoverySingleDirectoryJob"|
|[OCC::WebFlowCredentials::slotFinished |request finished|
|[OCC::AbstractNetworkJob::slotFinished |QNetworkReply::NetworkError(UnknownNetworkError) "Der Zugriff auf das Netzwerk ist nicht gestattet." QVariant(Invalid)|
|[OCC::WebFlowCredentials::stillValid |Still valid?|
|[OCC::WebFlowCredentials::stillValid |QNetworkReply::NetworkError(UnknownNetworkError)|
|[OCC::WebFlowCredentials::stillValid |"Der Zugriff auf das Netzwerk ist nicht gestattet."|
|[OCC::LsColJob::finished |LSCOL of QUrl("https://example.org/cloud/remote.php/dav/files/USER/") FINISHED WITH STATUS "UnknownNetworkError Der Zugriff auf das Netzwerk ist nicht gestattet."|
|[OCC::DiscoverySingleDirectoryJob::lsJobFinishedWithErrorSlot |LSCOL job error "Der Zugriff auf das Netzwerk ist nicht gestattet." 0 QNetworkReply::NetworkError(UnknownNetworkError)|
|[csync_ftw |opendir failed for  - errno 5|
|[OCC::SyncEngine::handleSyncError |ERROR during  csync_update :  "Beim Öffnen eines Ordners ist ein Fehler aufgetreten. Der Zugriff auf das Netzwerk ist nicht gestattet."|
|[OCC::ActivityWidget::addError |Item  "D:\\exampleNextcloud"  retrieved resulted in  "Beim Öffnen eines Ordners ist ein Fehler aufgetreten. Der Zugriff auf das Netzwerk ist nicht gestattet."|
|[OCC::ActivityListModel::addErrorToActivityList |Error successfully added to the notification list:  "Beim Öffnen eines Ordners ist ein Fehler aufgetreten. Der Zugriff auf das Netzwerk ist nicht gestattet."|
|[OCC::SyncJournalDb::close |Closing DB "D:/exampleNextcloud/._sync_5fa1e85ee725.db"|
|[OCC::SyncEngine::finalize |CSync run took  76 ms|

With Client 2.5.1 on Windows 10.

Maybe we should write a bugreport on github?

Same problem here.
We tried all clients from 2.5.0 on up tp 2.5.3RC on Win 10 and OSX.
Nextcloud V16.0 no logs in server.
Sync not working HTTP File-Answere-Error…
Files on External SMB Storage.
Works fine with Client 2.3.3 on OSX & Windows.
Any news for a fix?

Seams to be an issue with the stored smb credentials.
As SSO does not work with SMB we changed to global login info for smb. And since then also the sync with the clients (Win+MacOS) work works fine again.