# An error occured while opening a folder Operation canceled

**URL:** <https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994>\
**Category:** 💻 Desktop\
**Created:** [June 15, 2018, 9:23am UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994 "2018-06-15T09:23:53Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loic\_Quertenmont](https://help.nextcloud.com/user_avatar/help.nextcloud.com/loic_quertenmont/32/19478_2.png) [@Loic\_Quertenmont](https://help.nextcloud.com/u/Loic_Quertenmont)\
**Post date:** [June 15, 2018, 9:23am UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/1 "2018-06-15T09:23:54Z")

</div>

Hello,

I am new to nextcloud, that I want to use to synchronize my files over a couple of computers.  
My server is running on a RPI3 (using the NextCloudPi docker image) and it uses an external local storage (that is actually a NTFS disk mounted on the RPI and in the docker).

On one computer I was able to synchronize all my files without any issue (using the Windows Client), which make me think that the server is working just fine.  
But on another computer I have one folder that keeps failing with the same error. I tried both the windows and the linux desktop client on this computer and both are failing with the same error:  
An error occured while opening a folder Operation canceled

Do you have any hint on what could be the issue ?

Thanks in advance,  
Loic

Find bellow a copy of the error log:

```
06-15 09:46:31:692 7980 OCC::AbstractNetworkJob::slotTimeout: virtual void OCC::AbstractNetworkJob::slotTimeout() OCC::LsColJob(0x2d2ee70) Timeout QUrl("URL/remote.php/dav/files/loicus-dubuntu/DNS/Documents/Phd_Thesis/2008_11_14_CRAFT_SiStripCalib/dEdx_Estimators")
06-15 09:46:31:692 7980 OCC::AbstractNetworkJob::slotFinished: void OCC::AbstractNetworkJob::slotFinished() QNetworkReply::NetworkError(OperationCanceledError) "Operation canceled" QVariant(Invalid)
06-15 09:46:31:692 7980 OCC::DiscoverySingleDirectoryJob::lsJobFinishedWithErrorSlot: void OCC::DiscoverySingleDirectoryJob::lsJobFinishedWithErrorSlot(QNetworkReply*) "Operation canceled" 0 QNetworkReply::NetworkError(OperationCanceledError)
06-15 09:46:31:692 7980 OCC::DiscoveryMainThread::singleDirectoryJobFinishedWithErrorSlot: void OCC::DiscoveryMainThread::singleDirectoryJobFinishedWithErrorSlot(int, const QString&) 5 "Operation canceled"
06-15 09:46:31:692 8022 OCC::DiscoveryJob::remote_vio_opendir_hook: OCC::DiscoveryJob(0x2e99370) Phd_Thesis/2008_11_14_CRAFT_SiStripCalib/dEdx_Estimators ...Returned from main thread
06-15 09:46:31:692 8022 OCC::DiscoveryJob::remote_vio_opendir_hook: 5 when opening Phd_Thesis/2008_11_14_CRAFT_SiStripCalib/dEdx_Estimators msg= "Operation canceled"
06-15 09:46:31:692 0x2b70938 csync_ftw: opendir failed for Phd_Thesis/2008_11_14_CRAFT_SiStripCalib/dEdx_Estimators - errno 5
06-15 09:46:31:693 8022 OCC::DiscoveryJob::remote_vio_closedir_hook: static void OCC::DiscoveryJob::remote_vio_closedir_hook(csync_vio_handle_t*, void*) OCC::DiscoveryJob(0x2e99370) "/DNS/Documents/Phd_Thesis/2008_11_14_CRAFT_SiStripCalib"
06-15 09:46:31:693 8022 OCC::DiscoveryJob::remote_vio_closedir_hook: static void OCC::DiscoveryJob::remote_vio_closedir_hook(csync_vio_handle_t*, void*) OCC::DiscoveryJob(0x2e99370) "/DNS/Documents/Phd_Thesis"
06-15 09:46:31:693 8022 OCC::DiscoveryJob::remote_vio_closedir_hook: static void OCC::DiscoveryJob::remote_vio_closedir_hook(csync_vio_handle_t*, void*) OCC::DiscoveryJob(0x2e99370) "/DNS/Documents"
06-15 09:46:31:694 0x2b70938 csync_statedb_close: sqlite3_close=0
06-15 09:46:31:695 7980 OCC::SyncEngine::handleSyncError: #### ERROR during csync_update : "An error occurred while opening a folder Operation canceled"
06-15 09:46:31:755 7980 OCC::SyncJournalDb::close: void OCC::SyncJournalDb::close() "/home/loicus/All/Documents/._sync_882a4787e554.db"
06-15 09:46:31:755 7980 OCC::SyncJournalDb::commitTransaction: No database Transaction to commit
06-15 09:46:31:757 7980 OCC::SyncEngine::finalize: CSync run took 736284
06-15 09:46:31:757 7980 OCC::Folder::slotSyncFinished: - client version 2.3.3 Qt 5.5.1 SSL OpenSSL 1.0.2g 1 Mar 2016
06-15 09:46:31:757 7980 OCC::Folder::slotSyncFinished: -> SyncEngine finished with ERROR
06-15 09:46:31:757 7980 OCC::Folder::showSyncResultPopup: OO folder slotSyncFinished: result: 2
06-15 09:46:31:757 7980 OCC::Folder::slotSyncFinished: * owncloud csync thread finished with error
06-15 09:46:31:757 7980 OCC::Folder::slotSyncFinished: the last 1 syncs failed
06-15 09:46:31:764 7980 OCC::ownCloudGui::slotSyncStateChange: Sync state changed for folder "URL/remote.php/dav/files/loicus-dubuntu/DNS/Documents" : "Error"
```

---

<div class="post-metadata">

**Author:** ![Loic\_Quertenmont](https://help.nextcloud.com/user_avatar/help.nextcloud.com/loic_quertenmont/32/19478_2.png) [@Loic\_Quertenmont](https://help.nextcloud.com/u/Loic_Quertenmont)\
**Post date:** [June 17, 2018, 4:29am UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/2 "2018-06-17T04:29:43Z")

</div>

any help with this?

---

<div class="post-metadata">

**Author:** ![Etc](https://help.nextcloud.com/user_avatar/help.nextcloud.com/etc/32/15258_2.png) [@Etc](https://help.nextcloud.com/u/Etc)\
**Post date:** [May 13, 2019, 2:03pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/3 "2019-05-13T14:03:52Z")

</div>

@ [Loic\_Quertenmont](https://help.nextcloud.com/u/Loic_Quertenmont) Any luck finding solution?

I have same here. Wonder if there is any limitation on file number for desktop client.  
In my case over half a million files. Seen nothing but RED ERROR lines from nextcloud  
 ![](https://dl.dropboxusercontent.com/s/qlmyjoyxjo5mu83/nextcloud_2019-05-13_16-59-13.png)

---

<div class="post-metadata">

**Author:** ![Massimo\_Infunti](https://help.nextcloud.com/user_avatar/help.nextcloud.com/massimo_infunti/32/15294_2.png) [@Massimo\_Infunti](https://help.nextcloud.com/u/Massimo_Infunti)\
**Post date:** [May 15, 2019, 9:14am UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/4 "2019-05-15T09:14:53Z")

</div>

Same error here.  
Best Regards  
Massimo

---

<div class="post-metadata">

**Author:** ![mjflower](https://help.nextcloud.com/user_avatar/help.nextcloud.com/mjflower/32/21278_2.png) [@mjflower](https://help.nextcloud.com/u/mjflower)\
**Post date:** [February 16, 2020, 2:15am UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/5 "2020-02-16T02:15:11Z")

</div>

Same error here. Pretty disappointed there is no resolution from May 2019

---

<div class="post-metadata">

**Author:** ![yoursql719](https://help.nextcloud.com/user_avatar/help.nextcloud.com/yoursql719/32/650_2.png) [@yoursql719](https://help.nextcloud.com/u/yoursql719)\
**Post date:** [February 20, 2020, 2:56pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/6 "2020-02-20T14:56:55Z")

</div>

I´ve the same error and it seems that nextcloud can´t handle a specific file count at one folder?

---

<div class="post-metadata">

**Author:** ![Zbynek](https://help.nextcloud.com/user_avatar/help.nextcloud.com/zbynek/32/21761_2.png) [@Zbynek](https://help.nextcloud.com/u/Zbynek)\
**Post date:** [February 24, 2020, 10:41am UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/7 "2020-02-24T10:41:43Z")

</div>

I´ve the same error.  
Nextcloud 18.0.1  
Client for Windows 10, version 2.6.3stable

---

<div class="post-metadata">

**Author:** ![noreply](https://help.nextcloud.com/letter_avatar/noreply/32/6_22734026db12803ebb3e059622ac3534.png) [@noreply](https://help.nextcloud.com/u/noreply)\
**Post date:** [March 3, 2020, 5:12pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/8 "2020-03-03T17:12:26Z")

</div>

I’ve got the same error.  
Just appears on a client which has more files synced (of two clients).

---

<div class="post-metadata">

**Author:** ![noreply](https://help.nextcloud.com/letter_avatar/noreply/32/6_22734026db12803ebb3e059622ac3534.png) [@noreply](https://help.nextcloud.com/u/noreply)\
**Post date:** [March 5, 2020, 8:04pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/9 "2020-03-05T20:04:20Z")

</div>

Does nobody have a solution for that? I need one, urgently 🙂  
2.6.4 hast the same problem, also moving back to older versions.

---

<div class="post-metadata">

**Author:** ![lac106](https://help.nextcloud.com/letter_avatar/lac106/32/6_22734026db12803ebb3e059622ac3534.png) [@lac106](https://help.nextcloud.com/u/lac106)\
**Post date:** [April 6, 2020, 3:52pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/10 "2020-04-06T15:52:19Z")

</div>

Same issue here, anyone has an idea?  
I see that someone else had is set in D:/Nextcloud, I know it’s silly but could that be the problem? I have it setup there too on my PC.  
I can’t sync on my Mac either so I don’t think this is it, but we never know 😛  
Nextcloud 18.0.3  
Windows client 2.6.4stable-Win64

---

<div class="post-metadata">

**Author:** ![dtuxcomp](https://help.nextcloud.com/letter_avatar/dtuxcomp/32/6_22734026db12803ebb3e059622ac3534.png) [@dtuxcomp](https://help.nextcloud.com/u/dtuxcomp)\
**Post date:** [April 22, 2020, 9:44pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/11 "2020-04-22T21:44:46Z")

</div>

I’ve just started to get the same error in the last couple of days. It had been working fine previously on several computers, all running Linux Mint XFCE and syncing to paid for storage on /e/

![11-Screenshot_2020-04-22_22-42-52](https://help.nextcloud.com/uploads/default/original/3X/3/d/3db467fc048dd641c2c692b1a71c4ec193cfdcb4.png)

The only thing I know that’s changed is I moved about some folders with a lot of files in, does anyone know how to cure this as I don’t know if I can trust it now. I’ve tried removing the folder sync and adding it again but it just sits on the same error so I don’t know if it’s actually uploading anything or which files might be being skipped.

---

<div class="post-metadata">

**Author:** ![noreply](https://help.nextcloud.com/letter_avatar/noreply/32/6_22734026db12803ebb3e059622ac3534.png) [@noreply](https://help.nextcloud.com/u/noreply)\
**Post date:** [April 28, 2020, 8:17pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/12 "2020-04-28T20:17:34Z")

</div>

I did not solve it, but I managed to keep it working partially.  
First unsync all folders and wait until they aren’t appearing in your file system anymore. Then just choose the folders which you really need, because after a threshold of files (?) the problem comes again. So I’m just limiting the amount of synced folders.

---

<div class="post-metadata">

**Author:** ![wayneoutthere](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wayneoutthere/32/11632_2.png) [@wayneoutthere](https://help.nextcloud.com/u/wayneoutthere)\
**Post date:** [October 9, 2020, 11:15pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/13 "2020-10-09T23:15:21Z")

</div>

I have this issue. never had this before and been using NC for years… will try to search the nets more but interesting how no solution to this yet seems to be a long-lasting one. I’m ubuntu nextcloud-client app. Feels like a permission issue on the folder somehow… feels like the user (local machine user) doesn’t have permission to save, or nextcloud-app doesn’t have permission to do what it needs…

---

<div class="post-metadata">

**Author:** ![noreply](https://help.nextcloud.com/letter_avatar/noreply/32/6_22734026db12803ebb3e059622ac3534.png) [@noreply](https://help.nextcloud.com/u/noreply)\
**Post date:** [October 10, 2020, 9:32pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/14 "2020-10-10T21:32:04Z")

</div>

Maybe you/somebody could open an issue on [github](https://github.com/nextcloud/desktop/issues)?

---

<div class="post-metadata">

**Author:** ![fanky](https://help.nextcloud.com/letter_avatar/fanky/32/6_22734026db12803ebb3e059622ac3534.png) [@fanky](https://help.nextcloud.com/u/fanky)\
**Post date:** [January 15, 2021, 10:42pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/15 "2021-01-15T22:42:56Z")

</div>

It seems going to settings-network and chosing “without proxy” works, at least temporarilly

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 4:47pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/16 "2024-12-14T16:47:54Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 4:47pm UTC](https://help.nextcloud.com/t/an-error-occured-while-opening-a-folder-operation-canceled/32994/17 "2024-12-14T16:47:56Z")

</div>


